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

feat: add support for database blocks (front) #2629

Merged
merged 1 commit into from
Nov 23, 2023

Conversation

fontanierh
Copy link
Contributor

Has a core fix as well (we were using the table ID instead of name when creating the SQLite DB).

Screenshot 2023-11-22 at 22 18 54

@fontanierh fontanierh requested review from spolu and PopDaph November 22, 2023 21:19
<div className="flex flex-col flex-col gap-2 pt-4 xl:flex-row">
<div className="flex flex-col xl:flex-row xl:space-x-2">
<div className="mr-1 flex flex-initial text-sm font-medium leading-8 text-gray-700">
Database:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIT: Feel free to merge as is it's not a blocker > I wonder if we should edit the UI to make it clear that the first dropdown is a datasource and the second is the database inside the datasource.

Could be:
Datasource: [DropDown]
Database: [DropDown if datasource is selected and contains >0 database] or "No database in this datasource" or "Please select a datasource first".

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's what it originally was, but @spolu preferred it like this

I personally don't really have an opinion here

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep it as is then 🙇🏻‍♀️

@fontanierh fontanierh merged commit 07eef93 into main Nov 23, 2023
3 checks passed
@fontanierh fontanierh deleted the feat/databases-support-in-dust-apps-2 branch November 23, 2023 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants