refactor: [M3-7399] - Ensure EU consent box shows for new European countries#9901
refactor: [M3-7399] - Ensure EU consent box shows for new European countries#9901jaalah-akamai merged 11 commits intolinode:developfrom
Conversation
|
@jaalah-akamai will dig deeper into this PR but so far I noticed that the CreateBucketDrawer is broken as a result /object-storage/buckets |
|
@jaalah-akamai the node balancer create flow is broken as well /nodebalancers/create Screen.Recording.2023-11-15.at.09.12.52.mov |
dwiley-akamai
left a comment
There was a problem hiding this comment.
I don't think we want to invert the eu_model logic. If a user has not previously agreed to the EU Standard Contractual Clauses (i.e., eu_model: false), they should see the consent box, and they should not see it if they already agreed to it (i.e., eu_model: true).
Right now I never see it, although the account I was on never agreed to the EU Standard Contractual Clauses:
Screen.Recording.2023-11-15.at.3.09.10.PM.mov
packages/manager/cypress/e2e/core/linodes/create-linode.spec.ts
Outdated
Show resolved
Hide resolved
|
Verified
|
|
@dwiley-akamai I realized our akamai accounts default |
Yeah I was curious why on the Linode Create flow, the contract agreement was on its own line and on the NodeBalancer Create flow it was on the same line as the Create button |
|
In general the functionality and code LGTM, approving given a few small styling changes. |
coliu-akamai
left a comment
There was a problem hiding this comment.
Confirmed functionality looks good! Agreed with Banks and Tyler about some styling fixes, had one other question
- ✅ When selected any region selector, ensure that the GDPR checkbox appears for European countries
- ✅
/linodes/create(and all the tabs for different create types) - ✅ Region selector should clear it's selected state when changing pages
- ✅ When migrating a linode
- ✅
/volumes/create - ✅
/nodebalancers/create - ✅
/images/create/upload - ✅
/kubernetes/create - ✅
/object-storage/buckets/create
Had a quick question - this might be more for the legal teams, but when choosing London, UK as the region, maybe we should change the text to mention whatever the UK laws are instead of the 'EU Standard Contractual Clauses' since UK isn't part of EU anymore:
|
@coliu-akamai Good question, I'll bring that question up to legal folks 👍 |
|
@bnussman-akamai @tyler-akamai Seems like it's on it's own line most of the time, so I updated the Nodebalancer structure.
|
coliu-akamai
left a comment
There was a problem hiding this comment.
Approving - legal question answered in standup 🎉



Description 📝
If a user has not signed the EU Model Contract Agreement, Cloud Manager prompts the user to sign it when they attempt to deploy a service in a DC whose slug starts with "eu-". This logic does not hold up with our new DC slug scheme, which means some DCs are missing the agreement.
With these changes, when a user selects any region in EU, a GDPR checkbox should appear.
Changes 🔄
getGDPRDetailswill provide us with the boolean we need to determine whether to hide/show the checkbox.RegionSelect.tsxwhere the selected region was not clearing when changing the create typeRegionSelect.utils.tsto make it more re-useable.Preview 📷
How to test 🧪
Note
Our Akamai accounts default
eu_modelto true you'll need to test on a personal account not tied to Akamai.Prerequisites
Reproduction steps
https://cloud.linode.com/linodes/createand observe that most EU countries are missing GDPR. This applies to many other places throughout the app.Verification steps
/linodes/create(and all the tabs for different create types)/volumes/create/nodebalancers/create/images/create/upload/kubernetes/create/object-storage/buckets/createAs an Author I have considered 🤔
Check all that apply