-
Notifications
You must be signed in to change notification settings - Fork 392
upcoming: [UIE-9741] - Implement Add Lock Modal. #13339
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
base: develop
Are you sure you want to change the base?
upcoming: [UIE-9741] - Implement Add Lock Modal. #13339
Conversation
| /** | ||
| * Validation error with optional field name for API error responses | ||
| */ | ||
| interface ValidationError { | ||
| field?: string; | ||
| reason: string; | ||
| } |
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.
Could we just reuse the existing APIError type from @linode/api-v4?
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.
Addressed in a4f19d8
…/unlocked irrespective of LKE association.
|
|
||
| expect(getByText('Prevent deletion')).toBeVisible(); | ||
| expect( | ||
| getByText('Protects this Linode from being deleted or rebuilt.') |
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.
This text needs to be updated to fix this failing test case
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.
Addressed in 422b6b3
df1420d to
422b6b3
Compare
| <FormControlLabel | ||
| control={<Radio />} | ||
| label={ | ||
| <LockOptionLabel |
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.
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.
When Add lock dialog is opened from linode details page, onClose is not working. Both Cancel and submit actions are not closing the dialog
Cloud Manager UI test results🔺 1 failing test on test run #5 ↗︎
Details
TroubleshootingUse this command to re-run the failing tests: pnpm cy:run -s "cypress/e2e/core/linodes/clone-linode.spec.ts" |
|||||||||||||||||

Description 📝
This PR implements the Add Lock modal accessible from the Linode action menu.
Changes 🔄
List any change(s) relevant to the reviewer.
Scope 🚢
Upon production release, changes in this PR will be visible to:
Preview 📷
Screen.Recording.2026-01-28.at.11.15.07.PM.mov
How to test 🧪
Reproduction steps
[ "create_lock", "delete_lock" ]
Verification steps
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 ✅