Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate repo entry frontend validation #550

Open
idagelic opened this issue May 14, 2024 · 6 comments · May be fixed by #580
Open

Duplicate repo entry frontend validation #550

idagelic opened this issue May 14, 2024 · 6 comments · May be fixed by #580
Labels
💎 Bounty bug Something isn't working

Comments

@idagelic
Copy link
Member

Describe the bug
Adding the same repository twice in a multi project workspace creation flow errors only after submitting the request instead of doing some sort of frontend validation.

To Reproduce
Steps to reproduce the behavior:

  1. Run daytona create --multi-project
  2. Set https://github.com/daytonaio/daytona as the repo for both the first and second project
  3. Submit the form
  4. See the "duplicate repository entry" error

Expected behavior
The user should be let know there are duplicate repo entries before having submitted the form

Screenshots
image

image

Desktop (please complete the following information):

  • Daytona Version: v0.15.0
@idagelic idagelic added the bug Something isn't working label May 14, 2024
@Tpuljak
Copy link
Member

Tpuljak commented May 17, 2024

/bounty $20

Copy link

algora-pbc bot commented May 17, 2024

💎 $20 bounty • Daytona

Steps to solve:

  1. Start working: Comment /attempt #550 with your implementation plan
  2. Submit work: Create a pull request including /claim #550 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

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.

Thank you for contributing to daytonaio/daytona!

Add a bountyShare on socials

Attempt Started (GMT+0) Solution
🔴 @ezhil56x May 17, 2024, 6:52:57 PM #580

@ezhil56x
Copy link
Contributor

@Tpuljak --multi-project doesn't seem to work

Click here to expand
2024-05-17.18-24-14.mp4

@Tpuljak
Copy link
Member

Tpuljak commented May 17, 2024

@ezhil56x you're right. I opened #577 from your comment.

Nice catch!

@ezhil56x
Copy link
Contributor

ezhil56x commented May 17, 2024

/attempt #550

Algora profile Completed bounties Tech Active attempts Options
@ezhil56x    5 daytonaio bounties
+ 23 bounties from 10 projects
JavaScript, TypeScript,
Java & more
Cancel attempt

@ezhil56x ezhil56x linked a pull request May 17, 2024 that will close this issue
2 tasks
Copy link

algora-pbc bot commented May 17, 2024

💡 @ezhil56x submitted a pull request that claims the bounty. You can visit your bounty board to reward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💎 Bounty bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants