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

tech-story: [M3-6904] - Replace react-select instances in /Users with new Select #11430

Merged
merged 2 commits into from
Dec 18, 2024

Conversation

abailly-akamai
Copy link
Contributor

@abailly-akamai abailly-akamai commented Dec 17, 2024

Description 📝

Replace the only instance of react-select under the /Users namespace.

Bonus, the old select display was broken 🎉

Changes 🔄

  • replace react-select instance
  • added a couple props on the new Select (sx & id)

Preview 📷

Before After
Screenshot 2024-12-17 at 14 10 21 Screenshot 2024-12-17 at 14 18 21

How to test 🧪

Verification steps

  • Navigate to /account/users/{user}/permissions (for a "secondary" user)
  • Disable "Full Access Account"
  • Scroll down to the permission section and confirm the styling and behavior of the "Specific Permissions" select
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

  • I have read and considered all applicable items listed above.

As an Author, before moving this PR from Draft to Open, I confirmed ✅

  • All unit tests are passing
  • TypeScript compilation succeeded without errors
  • Code passes all linting rules

@abailly-akamai abailly-akamai self-assigned this Dec 17, 2024
@abailly-akamai abailly-akamai changed the title tech-story: [M3-6904] - Replace old instance of react-select in /Users tech-story: [M3-6904] - Replace react-select instances in /Users with new Select Dec 17, 2024
@abailly-akamai abailly-akamai marked this pull request as ready for review December 17, 2024 19:36
@abailly-akamai abailly-akamai requested a review from a team as a code owner December 17, 2024 19:36
@abailly-akamai abailly-akamai requested review from cpathipa and coliu-akamai and removed request for a team December 17, 2024 19:36
@linode-gh-bot
Copy link
Collaborator

Cloud Manager UI test results

🎉 469 passing tests on test run #2 ↗︎

❌ Failing✅ Passing↪️ Skipped🕐 Duration
0 Failing469 Passing2 Skipped88m 51s

Copy link
Contributor

@jaalah-akamai jaalah-akamai left a comment

Choose a reason for hiding this comment

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

Looks good, when we get deeper into the Design Tokens and CDS alignment, we'll make the label more customizable in terms of placement.

Copy link
Contributor

@coliu-akamai coliu-akamai left a comment

Choose a reason for hiding this comment

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

looks good, thank you! 🚀

@coliu-akamai coliu-akamai added the Approved Multiple approvals and ready to merge! label Dec 18, 2024
@abailly-akamai abailly-akamai merged commit b4181b3 into linode:develop Dec 18, 2024
23 checks passed
Copy link

cypress bot commented Dec 18, 2024

Cloud Manager E2E    Run #6997

Run Properties:  status check failed Failed #6997  •  git commit b4181b37b0: tech-story: [M3-6904] - Replace react-select instances in /Users with new Select...
Project Cloud Manager E2E
Branch Review develop
Run status status check failed Failed #6997
Run duration 33m 15s
Commit git commit b4181b37b0: tech-story: [M3-6904] - Replace react-select instances in /Users with new Select...
Committer Alban Bailly
View all properties for this run ↗︎

Test results
Tests that failed  Failures 4
Tests that were flaky  Flaky 2
Tests that did not run due to a developer annotating a test with .skip  Pending 2
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 466
View all changes introduced in this branch ↗︎

Tests for review

Failed  linodes/clone-linode.spec.ts • 1 failed test

View Output Video

Test Artifacts
clone linode > can clone a Linode from Linode details page Screenshots Video
Failed  linodes/rebuild-linode.spec.ts • 2 failed tests

View Output Video

Test Artifacts
rebuild linode > rebuilds a linode from Community StackScript Screenshots Video
rebuild linode > rebuilds a linode from Account StackScript Screenshots Video
Failed  kubernetes/lke-update.spec.ts • 1 failed test

View Output Video

Test Artifacts
LKE cluster updates > can add and delete node pool tags Screenshots Video
Flakiness  linodes/linode-config.spec.ts • 1 flaky test

View Output Video

Test Artifacts
Linode Config management > End-to-End > Clones a config Screenshots Video
Flakiness  objectStorage/access-keys.smoke.spec.ts • 1 flaky test

View Output Video

Test Artifacts
object storage access keys smoke tests > can create access key - smoke Screenshots Video

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved Multiple approvals and ready to merge! Tech Debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants