* Add presto to the CI
Sample test data
Datetime conversion
Sample test data
Fix tests
* TODO to switch to timestamps
* Address feedback
* Update requirements
* Add TODOs
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
* feat: upgrade react-select v1.3.0 to v3.1.0
Upgrade `react-select`, replace `react-virtualized-select` with a custom
solution implemented with `react-window`.
Future plans include deprecate `react-virtualized` used in other places, too.
Migrate all react-select related components to `src/Components/Select`.
* Fix new list view
* Fix tests
* Address PR comments
* Fix a flacky Cypress test
* Adjust styles for Select in CRUD ListView
* Fix loadOptions for owners select in chart PropertiesModal
TODO: add typing support for AsyncSelect props.
* Address PR comments; allow isMulti in SelectControl, too
* Clean up NaN in table filter values
* Fix flacky test
* Add OpenAPI docs to /api/v1/chart/data EP
* Add missing fields to QueryObject, fix linting and unit test errors
* Fix unit test errors
* abc
* Fix errors uncovered by schema validation and add unit test for invalid payload
* Add schema for response
* Remove unnecessary pylint disable
* feat: [explore] don't save filters inherited from a dashboard
When navigating to explore from a dashboard context, the current
dashboard filter(s) are passed along to explore so that the context is
kept. So say you're filtering on "country=Romania", in your dashboard
and pivot to explore, that filter is still there and keep on exploring.
Now a common issue is that you'll want to make some tweak to your chart
that are unrelated to the filter, say toggling the legend off for
instance, and then save it. Now you back to your dashboard and even
though you started with an "all countries" dashboard, with a global
filter on country, now that one chart is stuck on "Romania". Typically
you notice this when filtering on something else, say "Italy" and then
that one chart now has two mutually exclusive filters, and show "No data".
Now, the fix is to flag the filter as "extra" (that's the not-so-good internal
name we use for these inherited filters) and make it clear that that
specific filter is special and won't be saved when saving the chart.
* fix build
* 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>
* re-enable pylint for superset/examples/energy.py
* re-enable pylint for superset/examples/world_bank.py
* re-enable pylint for superset/examples/tabbed_dashboard.py
* Re-enable pylint for superset/examples/helpers.py
* 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
* Typo fix in CONTRIBUTING.md
* Alter references to config.get('FOO') to use preferred config['FOO']
* Set missing configuration constants in superset/config.py
* Misc. CI fixes
* Add type annotation for FEATURE_FLATGS
* 7620: Start removing dependencies on requests
* Patch urllib.request.urlopen instead of requests.get
* Try to fix flake8
* More work on flake8 import errors
* First attempt at using urllib with cookies
* Fix pylint/flake8
* Fix test_deliver_slice_csv_attachment
* Fix test_deliver_slice_csv_inline
* Import requests and pydruid conditionally, remove dependency on prison
* Fix flake errors
* Fix load_examples
* Please flake
* Skip tests depending on optional deps
* Try to please flake
* Address review comments
* Remove Druid-related UI
* Revert "Remove Druid-related UI"
This reverts commit d7e0f166cc3f3dd2496b4a666e177f0c191aeb0f.
* Skip a few tests more
* Put imports in right order
* Apply black patch
* Please flake
* Please black, silence flake
* Use flake8 silencing the right way
* Add deps for CI
* [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