daytona
daytona copied to clipboard
Add a progress indicator to JebBrains IDE download
Is your feature request related to a problem? Please describe.
Currently, while a JetBrains IDE is being downloaded into a project, the user just sees a static message that it's downloading.
Describe the solution you'd like
We should implement a progress indicator that would inform the user of the progress of the download. This would make for a much better UX.
Additional context
To test this, run daytona ide
and select any JetBrains IDE. After that, either create a workspace or use daytona code
to enter an existing one.
/bounty $40
💎 $40 bounty created by daytonaio
🙋 If you start working on this, comment /attempt #219
along with your implementation plan
👉 To claim this bounty, submit a pull request that includes the text /claim #219
somewhere in its body
📝 Before proceeding, please make sure you can receive payouts in your country
💵 Payment arrives in your account 2-5 days after the bounty is rewarded
💯 You keep 100% of the bounty award
🙏 Thank you for contributing to daytonaio/daytona!
👉 Add a bounty • Share on socials
If no one is assigned to the issue, feel free to tackle it, without confirmation from us, after registering your attempt. In the event that multiple PRs are made from different people, we will generally accept those with the cleanest code.
Attempt | Started (GMT+0) | Solution |
---|---|---|
🔴 @35C4n0r | Mar 15, 2024, 10:10:38 AM | WIP |
🟢 @Bhavyajain21 | Mar 15, 2024, 10:10:56 AM | WIP |
🔴 @harkiratsm | Mar 15, 2024, 10:52:30 AM | #247 |
🔴 @ezhil56x | Mar 15, 2024, 10:53:30 AM | WIP |
Can I be assigned?
/attempt
Algora profile | Completed bounties | Tech | Active attempts | Options |
---|---|---|---|---|
@35C4n0r | 1 daytonaio bounty + 10 bounties from 3 projects |
Python, JavaScript, HTML & more |
Cancel attempt |
/attempt #219
Algora profile | Completed bounties | Tech | Active attempts | Options |
---|---|---|---|---|
@Bhavyajain21 | 3 bounties from 2 projects | JavaScript |
Cancel attempt |
I will be assigning this issue to someone.
To get assigned, please present an implementation plan that outlines how you would approach the issue.
The person assigned will be one with the most clear implementation plan and best understanding of the underlying problem.
We can utilize schollz/progressbar to display the download progress.This keeps the user informed about the downloading process.
/attempt #219
Algora profile | Completed bounties | Tech | Active attempts | Options |
---|---|---|---|---|
@harkiratsm | 2 daytonaio bounties | Go, JavaScript, HTML & more |
Cancel attempt |
@Tpuljak
I would like to work on this. How about using this? Already we are using charm so this would be a better option to go with.
/attempt #219
Algora profile | Completed bounties | Tech | Active attempts | Options |
---|---|---|---|---|
@ezhil56x | 2 daytonaio bounties + 13 bounties from 8 projects |
JavaScript, TypeScript, Java & more |
Cancel attempt |
@ezhil56x @harkiratsm I'm more interested in how you plan to get the progress indication from the IDE download. Implementing the progress bar in the CLI is trivial.
@Tpuljak When URL is passed, it fetches the content length and sets the progress bar accordingly
The progress bar tracks bytes written during I/O operations.
That's right. What about getting updates from the ssh connection that's running to download the IDE? That's the most important part.
That's right. What about getting updates from the ssh connection that's running to download the IDE? That's the most important part.
Need to figure out. We need some way to pipe it for updates
Need to figure out. We need some way to pipe it for updates
@ezhil56x right. I'll assign it to you. Good luck!
@Tpuljak I couldn't complete this. Please assign to someone
@ezhil56x do you have some progress I can take a look at? I might be able to help out.
I am unable to add a progress indicator without getting update from ssh connection. Not a significant progress though to look at.
@harkiratsm do you want to try?
yes
💡 @harkiratsm submitted a pull request that claims the bounty. You can visit your bounty board to reward.