-
Notifications
You must be signed in to change notification settings - Fork 14k
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: DBC UI Snowflake Form #16856
feat: DBC UI Snowflake Form #16856
Conversation
3228ed9
to
695e01e
Compare
Codecov Report
@@ Coverage Diff @@
## master #16856 +/- ##
==========================================
+ Coverage 76.77% 77.22% +0.45%
==========================================
Files 1031 1035 +4
Lines 55197 56468 +1271
Branches 7506 7681 +175
==========================================
+ Hits 42379 43610 +1231
- Misses 12566 12606 +40
Partials 252 252
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
* snowflake frontend * snowflake frontend
* moved all non-BasicParameters into own field * refactored DB Connection Form made ValidatedInput
/testenv up |
@hughhhh Ephemeral environment spinning up at http://34.221.222.169:8080. Credentials are |
{showCredentialsInfo && ( | ||
<> | ||
<FormLabel required> | ||
{t('How∂ do you want to enter service account credentials?')} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit, weird character after How here
: db?.parameters?.[encryptedField]; | ||
return ( | ||
<CredentialInfoForm> | ||
{db?.engine === 'gsheets' && ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did we ever find a way not to compare engines but do this more programmatically based on db attributes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We did find out a way to apply attributes via the api, we just havent implemented it. @AAfghahi is working on that now with athena and then we can incorporate it into the other engines
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks much cleaner!
Ephemeral environment shutdown and build artifacts deleted. |
* update snowflake spec for dyanmic form * feat(snowflake): Snowflake dynamic form (apache#16861) * snowflake frontend * snowflake frontend * refactor(DB Connections): Build Snowflake Dynamic Form (apache#16875) * moved all non-BasicParameters into own field * refactored DB Connection Form made ValidatedInput * quick fix * fixed ValidatedInputField (apache#16934) * add logic to check for required fields (apache#17022) * fix * fix linting * remove host * Update EncryptedField.tsx Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com>
SUMMARY
Created a dynamic form for snowflake
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION