Commit Graph

4 Commits

Author SHA1 Message Date
John Bodley
dcb7b8350e [mypy] Enforcing typing for superset.examples (#9469)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2020-04-06 09:11:49 -07:00
Evan Rusackas
a85df65f85 Z index registry / clean-up (#8984)
* first pass

* whittling unused code

* updating to shortened name

* removing unnecessary z-index

* removing unnecessary flexbox vendor prefixing

* hover pseudoclass not needed for cursor styling.

* Seemingly unnecessary  z-indices on ACE content editor in dashboard

* seemingly uused styles.

* seemingly unncessary z-index setting

* seemingly unnecessary z-index

* LESS is more

* nixing antiquated gridster styles

* clearing out unnecessary z-indices

* adding z-dashedits layer

* removing a seemingly unnecessary z-index

* renaming var... more of a layer than edit-situation

* nixing unused z-indices

* moving to var

* comments/org

* moving to var. Lower value, but seems fine.

* usage note

* formatting/linting 

* better notes/labeling

* dash -> dashboard

* Do or do not. There is no try.

* no comment

* z-... -> z-index-...

Co-authored-by: Maxime Beauchemin <maximebeauchemin@gmail.com>
2020-01-24 00:47:55 -05:00
Evan Rusackas
172b90ec50 Font styling consolidation (#8633)
* Font weights standardized

* now with more glob!

* Linting touchups

* caught a low-value color declaration

* first wave of font size alignment

* getting the CRUD styles caught up to speed.

* unneeded inline-block - float does that for ya.

* a few errant colors that snuck in.

* more font stylings.

* caught some more colors that needed variable alignment

* le typo

* whittle, whittle

* dead styles

* whittling

* whittling

* whittling away at font sizes

* since we appear to be adjusting icon sizes for optics, let's get this one too.

* Prettier 

* whittling at line height standardization.

* placing vars, take 1

* 2 more down...

* cleaning out some styles that had no real effect.

* seemingly no change if this is removed for consistency.

* allowing one 8px line height for proper icon placement - adding comment.

* last one, I reckon.

* linting fixes
2019-11-27 10:36:25 -08:00
Maxime Beauchemin
d65b039219 Improve examples & related tests (#7773)
* [WiP] improve load_examples

related to #7472, longer term we will generate the examples by exporting
them into tarball as in #7472. In the meantime, we need this subset of
the features:

* allowing specifying an alternate database connection for examples
* allowing a --only-metadata flag to `load_examples` to load only
  dashboard and chart definitions, no actual data is loaded

* Improve logging

* Rename data->examples

* Load only if not exist

* By default do not load, add a force flag

* fix build

* set published to true
2019-07-16 21:36:56 -07:00