daytonaio / devcontainer-generator

devcontainer.ai - AI generated standardized dev environments
https://devcontainer.ai/
Apache License 2.0
15 stars 12 forks source link

Add Example Repository Button or Prefill Dropdown to Interface #20

Closed nkkko closed 2 weeks ago

nkkko commented 2 months ago

Is your feature request related to a problem? Please describe. New users may struggle to understand how the tool works without having an example repository to test. Providing a prefilled dropdown or a button with example repositories will make it easier for users to get started and understand the generation process without needing their own repository URL initially.

Describe the solution you'd like

Describe alternatives you've considered

Additional context Include relevant example repositories that cover a range of common use cases. Make sure to test the functionality to ensure it's seamless and provides a good user experience. This feature will enhance onboarding and user engagement by making it easier to see the tool in action.

nkkko commented 1 month ago

/bounty $10

algora-pbc[bot] commented 1 month ago

💎 $10 bounty • Daytona

Steps to solve:

  1. Start working: Comment /attempt #20 with your implementation plan
  2. Submit work: Create a pull request including /claim #20 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.

Please respect others by working on PRs that you are allowed to submit attempts to.

e.g. If you reached the limit of active attempts, please wait for the ability to do so before submitting a new PR.

If you can not submit an attempt, you will not receive your payout.

Thank you for contributing to daytonaio/devcontainer-generator!

Add a bounty • Share on socials

Attempt Started (GMT+0) Solution
🟢 @mobley-trent Oct 10, 2024, 5:30:06 AM #32
mobley-trent commented 1 month ago

/attempt #20

Algora profile Completed bounties Tech Active attempts Options
@mobley-trent    3 daytonaio bounties
+ 7 bounties from 4 projects
Python, Rust,
Jupyter Notebook
Cancel attempt
mobley-trent commented 1 month ago

Hello @nkkko I'm currently getting this error while attempting to run Generate for any repo:

Traceback (most recent call last):
  File "/workspaces/devcontainer-generator/main.py", line 112, in post
    exists, existing_record = check_url_exists(repo_url)
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspaces/devcontainer-generator/helpers/github_helpers.py", line 148, in check_url_exists
    existing = supabase.table("devcontainers").select("*").eq("url", url).order("created_at", desc=True).limit(1).execute()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.12/site-packages/postgrest/_sync/request_builder.py", line 78, in execute
    raise APIError(r.json())
postgrest.exceptions.APIError: {'code': '42P01', 'details': None, 'hint': None, 'message': 'relation "public.devcontainers" does not exist'}

From my understanding the program is checking for values in a supabase db, but I didn't see any instructions for configuring supabase.

nkkko commented 1 month ago

Yes, readme needs to be updated, check .env example you should be able to test it with your supabase account, you just need to set it up.

algora-pbc[bot] commented 1 month ago

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

algora-pbc[bot] commented 2 weeks ago

🎉🎈 @mobley-trent has been awarded $10! 🎈🎊