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

UI/ Add PostgreSQL DB #12945

Merged
merged 13 commits into from Oct 29, 2021
Merged

UI/ Add PostgreSQL DB #12945

merged 13 commits into from Oct 29, 2021

Conversation

hellobontempo
Copy link
Contributor

@hellobontempo hellobontempo commented Oct 27, 2021

Adds UI support for PostgreSQL DB and adds confirmation modal when deleting a database connection:
Screen Shot 2021-10-28 at 1 11 26 PM

@hellobontempo hellobontempo changed the title UI/ Add Postgres Support UI/ Add Postgres DB Oct 27, 2021
@vercel vercel bot temporarily deployed to Preview – vault October 27, 2021 22:18 Inactive
@hellobontempo hellobontempo changed the title UI/ Add Postgres DB UI/ Add PostgreSQL DB Oct 27, 2021
@@ -1,4 +1,24 @@
export const AVAILABLE_PLUGIN_TYPES = [
{
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Moved elasticsearch to the top because alphabetized plugin list

Copy link
Contributor

@hashishaw hashishaw left a comment

Choose a reason for hiding this comment

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

Amazing, thank you! And for alphabetizing 😄

.dom('[data-test-toggle-input="show-username_template"]')
.exists(`Username template toggle exists for ${name}`);
},
},
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Tests fail when Oracle isn't the last database - since actually connecting Oracle is skipped after checking that the fields exist, the test doesn't redirect to the connection list page and start the connecting a database process over. (And the test checks for an empty state when no DB is selected)

@hellobontempo hellobontempo merged commit 819e4fa into main Oct 29, 2021
@hellobontempo hellobontempo deleted the ui/postgres-support branch October 29, 2021 16:59
@hellobontempo hellobontempo added this to the 1.9 milestone Oct 29, 2021
hellobontempo added a commit that referenced this pull request Oct 29, 2021
* alphabetize DB plugin types

* adds changelog

* add postgres to database plugins

* add statement fields

* adds tests for postgres db

* add delete confirm modal to db connection

* fixes text for confirmation modal - transform

* editing tests for delete modal

* fixes tests, oracle must be last DB tested

* adds test for modal and updates old modal tests
hellobontempo added a commit that referenced this pull request Oct 30, 2021
* alphabetize DB plugin types

* adds changelog

* add postgres to database plugins

* add statement fields

* adds tests for postgres db

* add delete confirm modal to db connection

* fixes text for confirmation modal - transform

* editing tests for delete modal

* fixes tests, oracle must be last DB tested

* adds test for modal and updates old modal tests
qk4l pushed a commit to qk4l/vault that referenced this pull request Feb 4, 2022
* alphabetize DB plugin types

* adds changelog

* add postgres to database plugins

* add statement fields

* adds tests for postgres db

* add delete confirm modal to db connection

* fixes text for confirmation modal - transform

* editing tests for delete modal

* fixes tests, oracle must be last DB tested

* adds test for modal and updates old modal tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants