-
Notifications
You must be signed in to change notification settings - Fork 15
Implement state-based action buttons for experiment status changes #2810
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
Implement state-based action buttons for experiment status changes #2810
Conversation
…TART implementation
…r paused experiments
frontend/projects/upgrade/src/app/core/experiments/store/experiments.selectors.ts
Show resolved
Hide resolved
frontend/projects/upgrade/src/app/core/experiments/store/experiments.selectors.ts
Show resolved
Hide resolved
...omponents/common-section-card-action-buttons/common-section-card-action-buttons.component.ts
Show resolved
Hide resolved
|
i know you're still touching this up, I'm still reviewing since there's a lot here but scanning things from it looks pretty good. the one thing i think we should do though is handle the duplicate implementation of the pause-behavior form, they look and act nearly the same, that should be able to be one component without too much work. else we have change both any time we make a change. |
…-state-action-buttons
danoswaltCL
left a comment
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.
cool, i think this is working and looks great, thx for the refactor to one component
This PR resolves the following sub-issues of #2735:
Implement Status-Based UI Restrictions #2809This will be resolved in a separate PRFor reference, I used the same "play_arrow" icon for the "Resume" button even though it differs from the original Figma design. I felt this worked better in practice.
This PR also reduces the left/right padding of the action buttons from 24px to 16px since they looked a bit better visually.