upcoming: [M3-8019] – Add Encrypted/Not Encrypted status to Linode Detail summary header#10537
Conversation
…Linode Detail header; adjust several mocks and test files based on update to Linode type
|
Coverage Report: ✅ |
mjac0bs
left a comment
There was a problem hiding this comment.
- Confirmed that with the LDE flag in our dev tool toggled off, I do not see any LDE-related things in the UI.
- Confirmed the displayed encryption status matches what the disk_encryption field in the linode detail network request indicates (enabled --> Encrypted, disabled --> Not Encrypted).
- Confirmed the tooltip matches the screenshots in the Preview section for standard vs LKE linodes.
- Confirmed the encrypted status and tooltip look good upon screen resizing.
- Confirmed no styling regressions to the encryption status on the LKE details page.
Thanks for the test coverage too! Left a few minor comments.
There was a problem hiding this comment.
Should this be an Added changeset?
There was a problem hiding this comment.
From my perspective, for the api-v4 package, "Added" indicates a newly-created type or interface, whereas "Changed" would include existing types and interfaces being expanded with new properties. Open to changing this based on additional thoughts, but it's probably a good Cafe item so a convention can be set.
There was a problem hiding this comment.
Your perspective makes sense - I am curious to hear what other members of the team think fits best here. Totally possible that I'm just thinking about it differently.
There was a problem hiding this comment.
(In support of leaving this changeset as is, I can add a comment to our next changelog doc when the team reviews pre-release just to clarify our convention, and we won't need to dedicate any cafe time.)
| 'To enable disk encryption, delete the node pool and create a new node pool. New node pools are always encrypted.'; | ||
|
|
||
| export const UNENCRYPTED_STANDARD_LINODE_GUIDANCE_COPY = | ||
| 'Use Rebuild to enable or disable disk encryption.'; |
There was a problem hiding this comment.
This copy feels a little strange when it begins with the two verbs next to each other. Would something like Rebuild your Linode to enable or disable disk encryption. be better here?
There was a problem hiding this comment.
Will bring this to UX for consideration 👀
There was a problem hiding this comment.
Revised to Rebuild this Linode to enable or disable disk encryption. after revisiting the copy with UX 🚀
hkhalil-akamai
left a comment
There was a problem hiding this comment.
Verified detail header correctly reflects disk_encryption value and layout scales with the window as expected.
Approved pending @mjac0bs' comments regarding changelog and copy wording.
mjac0bs
left a comment
There was a problem hiding this comment.
Approving, pending we follow up on possible copy update (pending UX feedback) in this ticket or a future one. 🚀
Description 📝
Add Encrypted/Not Encrypted status to Linode Detail summary header.
Changes 🔄
lke_cluster_idto Linode interface, update mocks and several test files accordinglyEncryptedandNot Encryptedstatus to Linode Detail summary headerTarget release date 🗓️
6/10
Preview 📷
Screenshots
Encrypted:

Unencrypted & is LKE Linode:

Unencrypted & is standard Linode:

How to test 🧪
To test each of the three cases outlined by the screenshots, it'll be easiest to use the MSW and make adjustments to these lines:
manager/packages/manager/src/mocks/serverHandlers.ts
Lines 768 to 778 in 0e2d367
Prerequisites
Verification steps
Without the tag and/or with the LDE flag in our dev tool toggled off, you should not see any LDE-related things in the UI. Otherwise,
disk_encryptionfield in the linode detail network request indicates (enabled-->Encrypted,disabled-->Not Encrypted)As an Author I have considered 🤔