-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Response Ops] [Rule Form] Add Rule Form Flyout v2 #206685
base: main
Are you sure you want to change the base?
Conversation
c3b25e9
to
cbf1333
Compare
Hey, @Zacqary. I'm not certain who the designer was on this, so I'll defer to them if they disagree with any of the following opinions. That said, I'd suggest the following: Discard changes screenshotYou made mention of not triggering the confirmation modal from the flyout. Is there a compelling reason not to do so? Personally, I'm wondering if it might be a more common/familiar pattern to open a confirmation modal instead of repurposing the content area of the flyout. It'll also be more forgiving for short messages such as this. No actions configured screenshotSince it's allowed, I'm wondering if we should change the Additionally, since the message is most relevant at the moment the user leaves the "Actions" step and moves to the "Details" step, perhaps it would make sense to move the callout up towards the top of the flyout (just below the header). |
The reason I put the callout on the footer is because it's replacing something the full page Rule Form shows as a confirmation popup. It's a message that we're usually displaying to the user right as they're making the decision to save the rule. I'm happy to move the callout to the top of the screen, but if flyouts are allowed to open confirmation modals I could also just have it pop up the same modal as the rule page instead. |
Thanks, @MichaelMarcialis for your comment and thoughts. I forgot to add these screens on Figma and missed the notification for the PR review. @Zacqary is now aware that I'm the one responsible for this area. Discard changes screenshot This behavior is already in use if you create/edit a Rule from Observability: No actions configured screenshot |
This reverts commit 8d58b28.
@elastic/kibana-data-discovery Is this something simple enough to refactor in this PR or do we need to make it a follow-up issue? |
Fixed in 314d14c |
# Conflicts: # x-pack/solutions/observability/plugins/infra/tsconfig.json
…bana into 195211-replace-flyout
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.
obs-ux-logs
changes LGTM!
Only reviewed CODEOWNERS
files. Also tested the create rule flow from Discover.
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.
💔 Build Failed
Failed CI StepsHistory
|
Summary
Part of #195211
Replaces the create/edit rule flyout with the new rule flyout
Restores the confirmation prompt before canceling or saving a rule without actions defined.
Also fixes most of the design papercuts in the Actions step:
Checklist