Commit Graph

5423 Commits

Author SHA1 Message Date
Daniel Vaz Gaspar 2fd37b18e3
fix(api): fixes perf on charts and introduces sorting by database on datasets (#10392) 2020-07-23 11:19:05 -07:00
Daniel Vaz Gaspar e0264060c3
fix(charts): disable CSRF for chart data endpoint (#10397) 2020-07-23 10:44:25 +01:00
Daniel Vaz Gaspar 98a11e7cf2
fix(api): fixes openapi spec errors and adds a test to validate all spec (#10393) 2020-07-23 10:43:41 +01:00
Maxime Beauchemin b438ba9ed5
chore: wiring ControlLabel to a new FormLabel (#10388)
* chore: wiring ControlLabel to a new FormLabel

Creating new simple <FormLabel /> component and wiring all <label>
and react-bootstrap.ControlLabel towards it.

FormLabel becomes a pivotal point that can be altered to point to AntD
when we're ready.

* lint

* ViewportControl

* addressing comments
2020-07-23 00:27:22 -07:00
Maxime Beauchemin ea53916730
feat: SIP-34 explore save modal (#10355)
* feat: SIP-34 explore save modal

* using a const for the session storage key

* backend changes

* minor tweaks

* more tweaks

* radio cosmetics

* styles

* fix tests

* CreatableSelect\!

* Fix cypress & lint

* fix unit

* lint
2020-07-23 00:26:29 -07:00
Ville Brofeldt 9a5d812ee6
fix: pie chart multiple groupbys (#10391) 2020-07-23 09:22:48 +03:00
Lily Kuang 37f9b513fe
fix: dataset list filters bug (#10398)
* fix dataset list filters

* update database endpoint query params using rison encode
2020-07-22 22:23:44 -07:00
Ville Brofeldt 3fdc141b82
fix: bump pivot-table and rose (#10400) 2020-07-23 01:02:08 +03:00
Evan Rusackas ca71d4d6ee
feat: adding Storybook to Superset (#10383)
* Storybook added!

* starting to configure junk....

* Storybook works!!!

* Now with theme!

* apache boilerplate

* more apache comments

* lots o' knobs for the Button.... taking stock of the codebase

* more classes, but killing the knob for now.

* nixing unused module

* linting

* fresh package-lock

* now with tooltip!

* adding path and zlip because the linter told me to

* upgrading storybook packages from devdeps

* linting

* removing cruft

* killing an annoying (and old?) lint issue

* lint fix, take 2.

* removing zlib/path

* package lock reset from master

* re-adding new packages for this here PR

* nixing console log, simplifying

* nixing comment TODOs (done enough!)

* basic docs.
2020-07-22 10:21:25 -07:00
Daniel Vaz Gaspar 961108625e
fix(datasets): sort and humanized modified by (#10380)
* fix(datasets): sort and humanized modified by

* size xl on changed_on_delta_humanized

* Fix, tests

* Fix, tests

* Fix, frontend tests

* remove debug flag
2020-07-22 11:34:47 +01:00
Ville Brofeldt 5f7bb8e7bd
fix: treemap template literal (#10382) 2020-07-22 07:49:35 +03:00
ʈᵃᵢ 4cb44561d7
style: make listviews overflow scroll; convert less to emotion (#10384) 2020-07-21 21:41:09 -07:00
Maxime Beauchemin 485cd11ebb
style: SIP-34 control-label (#10381) 2020-07-21 20:30:36 -07:00
Maxime Beauchemin dc4b1b1271
style: add warning msg to "Change Datasource" modal (#10379) 2020-07-21 10:07:58 -07:00
Maxime Beauchemin 85169f2f1c
chore: remove QueryView (ModelView) (#10162)
* chore: deprecate QueryView (ModelView)

* lint

* fix unit tests
2020-07-21 09:14:15 -07:00
Ville Brofeldt 9b8da40295
feat: add TXT as default CSV extension (#10371) 2020-07-21 17:04:29 +03:00
Ville Brofeldt 3c39b26c99
fix: extra filters for chart data endpoint (#10359)
* fix: extra filters

* fix old test and add new test

* add test for null filter value

* leave lowercase until all operators are fully uppercased

* bump packages

* rename test
2020-07-21 08:24:50 +03:00
Maxime Beauchemin 61544de6c3
chore: uniform icons across list views (#10363)
* chore: uniform icons across list views

* smaller modals

* integrating comments
2020-07-20 19:56:51 -07:00
Erik Ritter 5fa4680447
feat: update timeout error UX (#10274) 2020-07-20 15:32:17 -07:00
kxu d92cb66f60
docs: add and update README badges (#10366) 2020-07-20 14:14:09 -07:00
Phillip Kelley-Dotson 7d10669ca8
move control panel to filterbox folder (#10346) 2020-07-20 13:40:00 -07:00
Bogdan 7075c2ff69
Pin slack client, breaking change (#10345)
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
2020-07-20 09:20:05 -07:00
Ville Brofeldt 7af8b2b3f8
feat: add optional prophet forecasting functionality to chart data api (#10324)
* feat: add prophet post processing operation

* add tests

* lint

* whitespace

* remove whitespace

* address comments

* add note to UPDATING.md
2020-07-20 18:46:51 +03:00
bryanck 73797b8b64
check for empty dataframes before processing results (#10361)
Co-authored-by: Bryan Keller <bkeller@netflix.com>
2020-07-19 17:19:30 +03:00
kxu 1a41ea4988
fix: update community Slack link (#10360) 2020-07-17 14:10:50 -07:00
John Bodley a7a96430cf
chore: Silencing unused thumbnail cache config (#10291) 2020-07-17 10:09:12 -07:00
Erik Ritter 5984df3522
chore: enable no-static-element-interactions eslint rule (#10351) 2020-07-17 09:19:16 -07:00
Daniel Vaz Gaspar aaad4522f0
fix: group by with timestamp granularity (#10344)
* fix, group by with timestamp granularity

* fix, bug found by mypy

* lint

* comment

* Following ville's solution

* lint and comments
2020-07-17 16:03:39 +01:00
Erik Ritter 09de805017
chore: enable no-unused-vars and prefer-template eslint rules (#10350) 2020-07-16 19:13:59 -07:00
ʈᵃᵢ 0eee6785a8
feat(listviews): SIP-34 Bulk Select (#10298) 2020-07-16 16:07:49 -07:00
Daniel Vaz Gaspar 2b061fc64b
fix: modified by column on charts and dashboards (#10340) 2020-07-16 23:15:47 +01:00
Daniel Vaz Gaspar e4c9c7364b
tests: update test run doc and add some improvements (#10339)
* fix: update tests/run.sh README to pytest and some improvements

* update docs

* nit

* fix doc
2020-07-16 13:03:49 +01:00
Daniel Vaz Gaspar 4529812a10
refactor: database API OpenAPI spec and location (#10303)
* refactor: database API OpenAPI spec and location

* fix isort and license

* fix description
2020-07-16 09:01:56 +01:00
Ville Brofeldt 611dd7a8f6
fix: make __time an ok column name in SQL Lab (#10336) 2020-07-16 10:34:50 +03:00
Maxime Beauchemin 2341e8d585
docs(readme): move Slack guidelines to CODE_OF_CONDUCT (#10315)
The Slack community guidelines are kind of wordy and best belong as part
of our code of conduct.

Let's make `README.md` super streamlined, and link out to resources like
this one.
2020-07-15 15:21:20 -07:00
Grace Guo 2f147cfedc
fix: add additional ui tweaks (#10275)
* fix: add additional ui tweaks

* use fa fa-close class for x icon

* use new svg icons
2020-07-15 14:05:30 -07:00
Jesse Yang a94744b984
fix(table-viz): value "undefined" for column.name (#10325)
Bump table viz plugin to fix a bug: apache-superset/superset-ui#686
2020-07-15 13:24:56 -07:00
Daniel Vaz Gaspar 74cb82e1ad
fix: humanised changed on UTC on dashboards and charts (#10321)
* fix: API marshmallow3 drop utc for naive datetime fields

* fix: API marshmallow3 drop utc for naive datetime fields

* fix, tests

* isort and test

* black

* add and fix test

* fix comment
2020-07-15 19:09:32 +01:00
Ville Brofeldt ac85aebe4a
chore: prefer allow/deny terminology (#10320)
* chore: prefer allow/deny terminology

* fix tests

* add PR reference
2020-07-15 19:22:46 +03:00
Erik Ritter 66b0239eca
chore: type welcome (#10317) 2020-07-15 08:38:43 -07:00
Maxime Beauchemin b4cd57b7bd
chore: remove unused files from root (#10318)
Also moving 2 bash scripts to the scripts/ folder.

This is part of a series of commit cleanup up the main page on GitHub,
mostly focused on the content of the README, but might as well groom the
root folder a bit
2020-07-14 22:40:34 -07:00
Erik Ritter 6ae9f3af8e
feat: add download as image button to explore (#10297) 2020-07-14 16:40:12 -07:00
Erik Ritter 518dbd05b6
chore: add typing to more sqllab components (#10278) 2020-07-14 16:39:56 -07:00
Erik Ritter 80902bca50
chore: add typing to profile (#10282) 2020-07-14 16:39:37 -07:00
Maxime Beauchemin 11ae48062f
fix: broken glyphicons used in react-json-schema (#10267)
I'm working on a talk for the Airflow Summit
"Advanced Apache Superset for Data Engineers" and showing the "Schedule
Query" feature that Beto contributed a while back (behind a feature flag).

I found that the glyphicons used in `react-json-schema` are broken and
came up with an easy fix.

Also other minor tweaks on the feature.
2020-07-14 15:40:39 -07:00
Maxime Beauchemin 0244e2c333
docs(readme): license info in README is redundant (#10314)
Info in in the standard `LICENSE.txt` that GitHub picks up properly and
surfaces in the east panel in the main page.
2020-07-14 13:27:02 -07:00
Ville Brofeldt 7eb00481de
fix: leave null timestamp unformatted in view results table (#10313) 2020-07-14 19:12:06 +03:00
Daniel Vaz Gaspar 266238caab
fix: Bump FAB to 3.0.1 fix superset init (#10310) 2020-07-14 15:16:45 +01:00
Ville Brofeldt 42b6347fca
fix: fix csv and query result type and QueryObject schema (#10312) 2020-07-14 16:37:19 +03:00
Ville Brofeldt c44ee06b5d
fix(chart-data-api): improve chart data endpoint errors (#10300)
* fix: improve chart data error response

* Populate error_message in QueryResult

* add tests

* Lint + fix incorrect raise

* add more tests
2020-07-14 12:40:00 +03:00