-
Notifications
You must be signed in to change notification settings - Fork 16
Conversation
Functionally looking good, @TheAndrewJackson , just a couple UI questions/nitpicks:
|
Good eye! These are all great finds. Since the functionality of the filtering is working ok would you be comfortable addressing some of these in follow up PRs? @eastandwestwind
|
Waiting on @adriaaaa to confirm whether we should disable/grey the "edit" button for item 6. |
I'm able to disable and enable connections on the most recent commit. Maybe pulling down latest will help? Screen.Recording.2022-06-22.at.16.06.45.mov |
@eastandwestwind @TheAndrewJackson question 6: Yeah since we don't support editing functionality right now we should either remove "edit" as an option or grey it out/disabling it. I'd be ok with disabling it if that is easy enough. |
question 1- I don't see a way to clear those filters after selecting, for example, question 6- I was able to get disable functionality working after pulling latest. Let's address the greying out or removal of "edit" in this PR @TheAndrewJackson |
@eastandwestwind I went ahead and removed the "edit" button 👍 |
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.
LGTM! Just noted an idea for future ticket / refactor work, and additionally pushed out a small change to remove some unused code. Thanks for the hard work on this @TheAndrewJackson !
system_type, | ||
disabled_status, | ||
}: Partial<DatastoreConnectionParams>): string { | ||
let queryString = ""; |
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.
In the future, could be refactored to push each query prop / val to an array of maps, then concatenate with &
at the end. This would avoid all the checks for queryString
.
* Refactor routes into enums and create connections page * Test switching back to double quotes * Convert back to double quotes * Add placeholder connection filters * Set up api scaffolding * Get basic grid going * Initial grid card styling * Fix simple eslint issues * Add development config back in * Finish draft of card * Add working test button and landing page * Add pagination and small fixes * Fix testing issues * Add auth tests for datastore connection page * run formatter * Update changelog * update the create_test_data command to add connectionconfigs * Disable create buttons & fix text overflow * Update filter dropdown values * Fix test timestamp bug * Remove development variable * Add working filter dropdowns * Add outside click hook & polish things * Fix imports * Update changelog * Update button hover color * remove commented out code * fix typo * Remove Saas Option * Fix welcome screen bug * Remove edit button * Fix lint and formatting issues * removes commented-out code Co-authored-by: Sean Preston <[email protected]> Co-authored-by: eastandwestwind <[email protected]>
❗ Dependent on #674, merge that first.
Purpose
Expand on the work that was done in #674 by adding filters to control what connections are displayed on the page.
Changes
mapFiltersToSearchParams
Checklist
CHANGELOG.md
fileCHANGELOG.md
file is being appended toUnreleased
section in an appropriate category. Add a new category from the list at the top of the file if the needed one isn't already there.Run Unsafe PR Checks
label has been applied, and checks have passed, if this PR touches any external servicesTicket
Fixes #669