-
Notifications
You must be signed in to change notification settings - Fork 391
upcoming: [UIE-8515] - DBaaS: Advanced Configuration - Drawer with existing configs #11812
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
upcoming: [UIE-8515] - DBaaS: Advanced Configuration - Drawer with existing configs #11812
Conversation
|
Coverage Report: ✅ |
| group_concat_max_len: 4, | ||
| information_schema_stats_expiry: 900, | ||
| innodb_print_all_deadlocks: true, | ||
| service_log: false, |
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.
DBaaS is a good candidate to move to the new mock service. Is there a ticket/scope for it?
...tabases/DatabaseDetail/DatabaseAdvancedConfiguration/DatabaseAdvancedConfigurationDrawer.tsx
Outdated
Show resolved
Hide resolved
...tabases/DatabaseDetail/DatabaseAdvancedConfiguration/DatabaseAdvancedConfigurationDrawer.tsx
Outdated
Show resolved
Hide resolved
...tabases/DatabaseDetail/DatabaseAdvancedConfiguration/DatabaseAdvancedConfigurationDrawer.tsx
Show resolved
Hide resolved
...tabases/DatabaseDetail/DatabaseAdvancedConfiguration/DatabaseAdvancedConfigurationDrawer.tsx
Show resolved
Hide resolved
…ineConfig` request to fetch all advanced configurations and updated types for advanced configs
… engine options in the drawer
b864aab to
50f0736
Compare
cpathipa
left a comment
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.
@mpolotsk-akamai Confirming on the verification steps. Left comments to use alias tokens
| export const GroupHeader = styled('div')(({ theme }) => ({ | ||
| background: | ||
| theme.palette.mode === 'dark' | ||
| ? theme.tokens.color.Neutrals[90] | ||
| : theme.tokens.color.Neutrals[5], | ||
| color: | ||
| theme.palette.mode === 'dark' | ||
| ? theme.tokens.color.Neutrals[5] | ||
| : theme.tokens.color.Neutrals[100], | ||
| font: theme.tokens.typography.Label.Bold.Xs, | ||
| padding: '8px 12px', | ||
| position: 'sticky', | ||
| textTransform: 'uppercase', | ||
| top: 0, | ||
| zIndex: 1, | ||
| })); | ||
| export const GroupItems = styled('ul')(({ theme }) => ({ | ||
| '& li': { | ||
| color: | ||
| theme.palette.mode === 'dark' | ||
| ? theme.tokens.color.Neutrals[5] | ||
| : theme.tokens.color.Neutrals[100], | ||
| font: theme.tokens.typography.Label.Regular.Xs, | ||
| }, |
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.
Wondering where these (GroupHeader and GroupItems) are being referenced ?
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.
Thank you for the review!
This will be used for 'Add configuration' Autocomplete. I had to split the second PR into two parts because it was too large, so the rest will be in the next PR.
...es/Databases/DatabaseDetail/DatabaseAdvancedConfiguration/DatabaseConfigurationItem.style.ts
Outdated
Show resolved
Hide resolved
...es/Databases/DatabaseDetail/DatabaseAdvancedConfiguration/DatabaseConfigurationItem.style.ts
Outdated
Show resolved
Hide resolved
| background: | ||
| theme.palette.mode === 'dark' | ||
| ? theme.tokens.color.Neutrals[90] | ||
| : theme.tokens.color.Neutrals[5], | ||
| color: | ||
| theme.palette.mode === 'dark' | ||
| ? theme.tokens.color.Neutrals[5] | ||
| : theme.tokens.color.Neutrals[100], |
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.
Same, update with the respective alias tokens.
| font: theme.tokens.typography.Label.Bold.Xs, | ||
| padding: '8px 12px', | ||
| position: 'sticky', | ||
| textTransform: 'uppercase', |
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.
same
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.
I will update this in the next PR, as these styles are for Autocomplete, which will be implemented in the next PR.
Thank you!
|
@mpolotsk-akamai There are some runtime errors caused by merging this token re-organization. Could you update this accordingly. |
Thanks! I've updated the PR. |
Cloud Manager UI test results🎉 533 passing tests on test run #14 ↗︎
|
hasyed-akamai
left a comment
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.
Thanks @mpolotsk-akamai 🚢
…isting configs (linode#11812) * feat: [UIE-8515] - DBaaS: Advanced Configuration - Drawer with existing configs * feat: [UIE-8515] - update mock data * Added changeset: DBaaS Advanced Configurations: added `getDatabaseEngineConfig` request to fetch all advanced configurations and updated types for advanced configs * Added changeset: DBaaS Advanced Configurations: added UI for existing engine options in the drawer * upcoming: [UIE-8515] - review fix * upcoming: [UIE-8515] - style update, add link * update styles after token re-organization --------- Co-authored-by: cpathipa <[email protected]>
* Move isNilOrEmpty * Move createDevicesFromStrings * Resolve TS errors in createDevicesFromStrings.text.ts * Move createStringsFromDevices * Move maybeCastToNumber * Consolidate imports * Fix TS error * Added changeset: Move ramda dependent utils * Keep DevicesAsStrings type import separate for better organization * Added changeset: Migrated ramda dependent utils to @linode/utilities package * Avoid importing from @linode/utilities from within the same package * Update packages/manager/.changeset/pr-11913-added-1742915642212.md Co-authored-by: Hana Xu <[email protected]> * Update packages/manager/.changeset/pr-11913-added-1742915642212.md Co-authored-by: Purvesh Makode <[email protected]> * Move utils changeset to correct spot * upcoming: [M3-9534] - Initial VPC Support in the `Add Network Interface` Drawer (#11887) * initial vpc and subnet select * add a shared firewallselect component * use firewall select globally * add jsdoc comments * add some testing * finish up testing for now * Added changeset: Add VPC support to the Add Network Interface Drawer * Added changeset: Added `FirewallSelect` component * Added changeset: Add test for Add Linode Interface drawer * clean up changesets * support default chips in the Firewall Select * fix spacing regression * properly handle disableClearable in the new Firewall Select * support default firewalls in the Add Interface drawer * use newer copy @coliu-akamai * fix unit test after UX tooltip changes --------- Co-authored-by: Banks Nussman <[email protected]> * test: [M3-9486, M3-9487, M3-9557] - Allow Linode create tests to pass in alternative environments (#11886) * Delete redundant Linode Create SSH key test * Add "env:premiumPlans" test tag * Apply "env:premiumPlans" tag to Linode premium plan e2e test * Only require "Premium Plans" region capability for Premium Plans Linode create test * refactor: [M3-9617] - Move `doesRegionSupportFeature` to `utilities` package (#11891) * Move `doesRegionSupporFeature` to `utilities` pkg * Added changeset: Move `doesRegionSupportFeature` from `manager` to `utilities` package * Added changeset: Move `doesRegionSupportFeature` from `manager` to `utilities` package * refactor: [M3-8247] - Remove ramda from Utilities (#11861) * refactor: [M3-8247] - Remove ramda from Utilities * Add changeset * Add changeset * updated comment * increase coverage for isNilorEmpty() * feat: [UIE-8600] - IAM RBAC: add new drawer for unassigning role flow (#11893) * feat: [UIE-8600] - IAM RBAC: add new drawer for unassigning role flow * Added changeset: Add a new confirmation dialog for the unassigning role flow in IAM * fix the chip's color for dark theme * fix conflict and small improvements * upcoming: [UIE-8515] - DBaaS: Advanced Configuration - Drawer with existing configs (#11812) * feat: [UIE-8515] - DBaaS: Advanced Configuration - Drawer with existing configs * feat: [UIE-8515] - update mock data * Added changeset: DBaaS Advanced Configurations: added `getDatabaseEngineConfig` request to fetch all advanced configurations and updated types for advanced configs * Added changeset: DBaaS Advanced Configurations: added UI for existing engine options in the drawer * upcoming: [UIE-8515] - review fix * upcoming: [UIE-8515] - style update, add link * update styles after token re-organization --------- Co-authored-by: cpathipa <[email protected]> * Resolve merge conflict * Move createDevicesFromStrings * Move createStringsFromDevices * Avoid importing from @linode/utilities from within the same package * refactor: [M3-8247] - Remove ramda from Utilities (#11861) * refactor: [M3-8247] - Remove ramda from Utilities * Add changeset * Add changeset * updated comment * increase coverage for isNilorEmpty() * Move isNilOrEmpty * Move createDevicesFromStrings * Move createStringsFromDevices * refactor: [M3-8247] - Remove ramda from Utilities (#11861) * refactor: [M3-8247] - Remove ramda from Utilities * Add changeset * Add changeset * updated comment * increase coverage for isNilorEmpty() * Fix post merge conflict issues --------- Co-authored-by: Hana Xu <[email protected]> Co-authored-by: Purvesh Makode <[email protected]> Co-authored-by: Banks Nussman <[email protected]> Co-authored-by: Banks Nussman <[email protected]> Co-authored-by: jdamore-linode <[email protected]> Co-authored-by: Harsh Shankar Rao <[email protected]> Co-authored-by: aaleksee-akamai <[email protected]> Co-authored-by: mpolotsk-akamai <[email protected]> Co-authored-by: cpathipa <[email protected]>
Description 📝
Advanced Configuration - Drawer with existing configurations
Changes 🔄
List any change(s) relevant to the reviewer.
Target release date 🗓️
04/08/25
Preview 📷
How to test 🧪
Prerequisites
(How to setup test environment)
Verification steps
(How to verify changes)
Author Checklists
As an Author, to speed up the review process, I considered 🤔
👀 Doing a self review
❔ Our contribution guidelines
🤏 Splitting feature into small PRs
➕ Adding a changeset
🧪 Providing/improving test coverage
🔐 Removing all sensitive information from the code and PR description
🚩 Using a feature flag to protect the release
👣 Providing comprehensive reproduction steps
📑 Providing or updating our documentation
🕛 Scheduling a pair reviewing session
📱 Providing mobile support
♿ Providing accessibility support
As an Author, before moving this PR from Draft to Open, I confirmed ✅