-
Notifications
You must be signed in to change notification settings - Fork 163
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
[Look&Feel] Consistency and density improvements #2101
Conversation
Signed-off-by: Dan Dong <[email protected]>
Signed-off-by: Dan Dong <[email protected]>
Signed-off-by: Dan Dong <[email protected]>
Signed-off-by: Dan Dong <[email protected]>
Signed-off-by: Dan Dong <[email protected]>
Signed-off-by: Dan Dong <[email protected]>
Signed-off-by: Dan Dong <[email protected]>
@danieldong51 can you do us a huge favor and address cypress failures on the workflows in this repo and in FTR? For example I see a following error originating from FTR (which I think has to do with changing the h3 tag of the title)
Similarly, for your PRs in other repos, we may want to update these to make sure 2.17 release goes smoothly |
Signed-off-by: Dan Dong <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2101 +/- ##
=======================================
Coverage 71.39% 71.39%
=======================================
Files 97 97
Lines 2650 2650
Branches 410 403 -7
=======================================
Hits 1892 1892
Misses 642 642
Partials 116 116 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Dan Dong <[email protected]>
@danieldong51 looks like the CI issues within this repo are fixed. Can we open a draft PR in the FTR and we can continue to address those/after the build succeeds? Once that PR is linked here I feel good about merging thanks! |
Yes, I just opened one here! |
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.
Changes look good. Thank you @danieldong51 for taking time to upload screenshots. One question I have is to understand "Use primary buttons only for primary calls for action". Does it mean the design is reserved only for calls like Submit, Delete, etc. If yes, this change will make the buttons, without the boundary, look like href links. Is this expected?
I believe that buttons that are navigational should be turned into empty / text buttons, so that is expected. I am waiting on review from the Look&Feel team to make sure these buttons are navigational @virajsanghvi. |
It is subjective. Ideally there's only a single primary button/cta on a page/surface. For purely navigational buttons, ones that aren't necessarily helping customers complete an action or save a form, the guidance is to use an empty button/link. But again, subjective, and as page owners, if you think any of these aren't the right treatment, it's fine to request no change here. You will be having reviews with UX and they can point out if any changes are necessary (they are stretched thin atm otherwise I'd just ask now). |
8cb6bbe
Signed-off-by: Dan Dong <[email protected]>
8cb6bbe
to
b3a4f5c
Compare
Signed-off-by: Dan Dong <[email protected]>
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.
Looks good to me assuming failing test is okay
* Look&Feel Modal Changes Signed-off-by: Dan Dong <[email protected]> * Look&Feel EuiTabs Changes Signed-off-by: Dan Dong <[email protected]> * Look&Feel Semantic Headers and Paragraph Changes Signed-off-by: Dan Dong <[email protected]> * Look&Feel Context Menu Changes Signed-off-by: Dan Dong <[email protected]> * Look&Feel External Button Changes Signed-off-by: Dan Dong <[email protected]> * Look&Feel Navigational Button Changes Signed-off-by: Dan Dong <[email protected]> * Look&Feel Render Component Changes Signed-off-by: Dan Dong <[email protected]> * Fixed jest and cypress testing Signed-off-by: Dan Dong <[email protected]> * Fixed jest and cypress testing Signed-off-by: Dan Dong <[email protected]> * Revert button changes Signed-off-by: Dan Dong <[email protected]> * Updated jest testing Signed-off-by: Dan Dong <[email protected]> --------- Signed-off-by: Dan Dong <[email protected]> Co-authored-by: Derek Ho <[email protected]> (cherry picked from commit c143bce) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
This PR applies the following Look & Feel density and consistency improvements:
This PR, along with #2079, should mean all of the Look & Feel pattern guidances are applied to the Security Dashboards plugin.
Category
Enhancement
Why these changes are required?
UX
Screenshots
Context Menus
Removed popover padding from context menu
Paragraph Size
Headers
Modals
Tabs
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.