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

Cannot new database #54

Open
warjiang opened this issue Aug 13, 2024 · 5 comments
Open

Cannot new database #54

warjiang opened this issue Aug 13, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@warjiang
Copy link

warjiang commented Aug 13, 2024

Bug report

Describe the bug

I visit https://postgres.new/ and trys to new a database, but the button doesn't work
20240813173159_rec_

Is is a bug or something wrong with my laptop?

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Visit https://postgres.new/
  2. click new database button.

Expected behavior

Create database as expected

Screenshots

If applicable, add screenshots to help explain your problem.

System information

  • OS: [e.g. macOS, Windows] macOS
  • Browser (if applies) [e.g. chrome, safari] edge & chrome
  • Version of supabase-js: [e.g. 6.0.2]
  • Version of Node.js: [e.g. 10.10.0]

Additional context

Add any other context about the problem here.

@warjiang warjiang added the bug Something isn't working label Aug 13, 2024
@warjiang
Copy link
Author

@gregnr

@marawan1805
Copy link

marawan1805 commented Aug 13, 2024

This isn't a bug.. When you click "New database" while you already have a database, it opens a new tab. Start a chat first to create a new database. Once you have the schema and diagram, click "New database" again, and it will open in a new tab. @warjiang

@gregnr
Copy link
Collaborator

gregnr commented Aug 13, 2024

@marawan1805 is right, you are already on the new database - just need to start chatting (similar to ChatGPT UI).

But I think there's an opportunity to improve this. Some ideas:

  • disable the New Database button when you are on a fresh DB
  • add some sort of tooltip/popover explaining that you need to begin the conversation (we do focus the input, but this might not be enough)
  • something else?

@warjiang
Copy link
Author

This isn't a bug.. When you click "New database" while you already have a database, it opens a new tab. Start a chat first to create a new database. Once you have the schema and diagram, click "New database" again, and it will open in a new tab. @warjiang

Thanks, I got it 👍 . The most import thing is that I should start from chart instead of click database to create db、 try to import data and make analysis.

@warjiang
Copy link
Author

@marawan1805 is right, you are already on the new database - just need to start chatting (similar to ChatGPT UI).

But I think there's an opportunity to improve this. Some ideas:

  • disable the New Database button when you are on a fresh DB
  • add some sort of tooltip/popover explaining that you need to begin the conversation (we do focus the input, but this might not be enough)
  • something else?

What about use rrweb to make an interactive tutorial, we can use rrweb to record the show-case in the video , for the beginner, they can click next to have a solid experience of product of postgres-new

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

No branches or pull requests

3 participants