-
Notifications
You must be signed in to change notification settings - Fork 1.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
Better overflow and wrapping in Status area #7850
base: master
Are you sure you want to change the base?
Conversation
- Added `headCanWrap` stored property, and toggle button. - CSS mods, cleanup.
- New glyphs for `icon-multiline` and `icon-singleline`. - Refinements to button labels and titles for clarity.
- Add code and CSS for toggling single/multiline display of indicators. - Add code to detect overflow state of indicators.
- WIP, but is working! - TODOs: - Make sure this is a good way to do things. - Cleanup code. - Tests.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #7850 +/- ##
==========================================
- Coverage 59.11% 56.64% -2.48%
==========================================
Files 675 675
Lines 27284 27328 +44
Branches 2671 2680 +9
==========================================
- Hits 16128 15479 -649
- Misses 11108 11506 +398
- Partials 48 343 +295
... and 118 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
- Fixed CSS classing on collapse/expand button. - New method added for storing head props in local storage. - TODOs: - Make sure using Update hook is performant. - Tests.
…AppLayout.vue component. - Code cleanup, console.log removals.
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.
This is awesome @charlesh88 . I'm going to take a crack at cleaning up the vue stuff per my review comment, and having the default be configurable without requiring localStorage.
One thing. When you toggle the single to multi, and multi to single, the vertical spacing changes ever so slightly.
single.multi.flicker.mov
We also should write some visual tests for this. I can also maybe take a crack at this.
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.
@charlesh88 , I think we can do this without the usage of nextTick.
I'll take a crack at this.
…w is very small and Indicators running to multiple lines. - Fixed CSS which was causing the height and alignment problems in the head.
safer access to `localStorage` initial state ie. legacy localStorage having `expanded` but not `multiline`
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.
Made some vue changes @charlesh88 . You were right about the nextTick
. In this case since the size changes because of css, we can't detect that change until nextTick
.
@charlesh88 needs to pull this down, check locally and advance to a real PR. |
Closes #6655
Describe your changes:
TODOs:
All Submissions:
Author Checklist
type:
label? Note: this is not necessarily the same as the original issue.Reviewer Checklist