- Notifications
You must be signed in to change notification settings - Fork928
feat: add warning about use of old/removed/invalid experiments#12962
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
We already generate the list of all valid experiments via
Can we simply just use this to check if an experiment is valid or not? |
Oh interesting! I didn't know about that list... |
I think that may be due to |
Signed-off-by: Danny Kopping <danny@coder.com>
Signed-off-by: Danny Kopping <danny@coder.com>
Signed-off-by: Danny Kopping <danny@coder.com>
Signed-off-by: Danny Kopping <danny@coder.com>
Signed-off-by: Danny Kopping <danny@coder.com>
Replaced green circle with more neutral icon to indicate enabled experimentsSigned-off-by: Danny Kopping <danny@coder.com>
Signed-off-by: Danny Kopping <danny@coder.com>
Signed-off-by: Danny Kopping <danny@coder.com>
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.
LGTM, but would probably also wait for someone from@fe to review.
Also note: when you make changes, you need to go into Chromatic to accept the new baseline.
Uh oh!
There was an error while loading.Please reload this page.
site/src/pages/DeploySettingsPage/GeneralSettingsPage/GeneralSettingsPageView.tsx OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
site/src/pages/DeploySettingsPage/GeneralSettingsPage/GeneralSettingsPageView.tsx OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
site/src/pages/DeploySettingsPage/GeneralSettingsPage/GeneralSettingsPageView.tsx OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
site/src/pages/DeploySettingsPage/GeneralSettingsPage/GeneralSettingsPageView.tsx OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Accidentally published my reviews early – not quite done yet |
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.
Had a couple of recommendations, but nothing worth blocking over.
I haven't worked as much with the E2E tests, but if you need help getting that to pass, I'm happy to pair on that
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
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.
@Parkreiner already gave a thorough review so I don't have too much to add. I approved your storybooks and the new UI looks nice!@mtojek might be able to help you out with that E2E test; it was added recentlyhere.
Signed-off-by: Danny Kopping <danny@coder.com>
…he previous behaviourSigned-off-by: Danny Kopping <danny@coder.com>
@Parkreiner thanks for the detailed review! I've made your suggested changes plus a couple others. |
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.
Had one last suggestion, but this looks good!
site/src/pages/DeploySettingsPage/GeneralSettingsPage/GeneralSettingsPage.tsx OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Signed-off-by: Danny Kopping <danny@coder.com>
Uh oh!
There was an error while loading.Please reload this page.
Fixes#12725
If one of the FE folks could help me refactor
site/src/pages/DeploySettingsPage/Option.tsx
andsite/src/pages/DeploySettingsPage/optionValue.ts
to allow another boolean indicating whether an experiment is invalid or not, we could change the display of enabled experiments to indicate invalid ones as well. I tried various attempts at this but my lack of TS knowledge is hindering me.I changed the
CheckCircleOutlined
toLabelImportant
because a check indicates that it is valid, where really we just want to display that it's enabled. We could leave it like this IMHO but doing the above would be more user-friendly.I haven't done frontend in avery long time so please forgive any glaringly obvious violations of good practice and point them out to me so I can improve them.