-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
Use monospace font in the superset timers #9709
Conversation
aea24a5
to
aeefe20
Compare
We should use a monospace font of some kind too, the div space changing is a tiny regression from the recent font change. @rusackas FYI |
Actually I wonder if anyone would ever care about sub-second reporting, maybe when testing / tweaking indexes (which I've done before in an OLTP context, along with EXPLAIN statements). We could show the millisecs in on an tooltip / hover if we want to be perfectionists |
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.
Actually on your gif I still see some width movement, let's use our monospace font (I forgot what it's called)
I agree with @mistercrunch regarding the monospace font. This should also resolve the need to truncate the sub-seconds. |
+1 for the monospace, I am not well familiar with this part of the codebase - where can I change it ? |
Might this be the spot?: I added We have some existing monospace font families here though: https://github.com/apache/incubator-superset/search?q=monospace&unscoped_q=monospace |
aeefe20
to
f5e82eb
Compare
great suggestions, made it monospace: |
@rusackas sure thing, done. Thanks |
Update superset-frontend/src/SqlLab/main.less Co-authored-by: Evan Rusackas <[email protected]>
c497a85
to
83cabf0
Compare
close/reopen to trigger CI |
Codecov Report
@@ Coverage Diff @@
## master #9709 +/- ##
==========================================
- Coverage 70.72% 65.97% -4.75%
==========================================
Files 584 585 +1
Lines 30381 30429 +48
Branches 3112 3115 +3
==========================================
- Hits 21486 20077 -1409
- Misses 8781 10168 +1387
- Partials 114 184 +70
Continue to review full report at Codecov.
|
Had to restart the "Cypress" job in CI twice and wanted to leave a trace somewhere that this is happening. |
CATEGORY
Choose one
SUMMARY
Truncates timer to seconds, ms make ui very jiggly
More info in #9708
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
before:
after
TEST PLAN
Locally
ADDITIONAL INFORMATION
REVIEWERS