Commit Graph

6212 Commits

Author SHA1 Message Date
Kamil Gabryjelski
3ad65bc163
fix: Dropdown menu not closing on Dashboard view (#11671) 2020-11-12 14:48:48 -08:00
Maxime Beauchemin
5cb6c25ca0
docs: add support for Google Analytics on superset.apache.org (#11613)
* docs: add support for Google Analytics

* fix failing cypress test in list_view.test.ts

* xit some tests
2020-11-12 13:57:05 -08:00
ʈᵃᵢ
432e5ab460
feat: Query History CRUD list view (#11574) 2020-11-12 11:55:13 -10:00
Daniel Vaz Gaspar
12cb27f5cb
feat: new reports models api (#11606)
* feat: new report schedule models

* lint and unique constraint

* support sqlite

* fix sqlite

* add audit mixin and minor fixes

* feat(api): alerts and reports REST API

* feat: new report schedule models

* lint and unique constraint

* support sqlite

* fix sqlite

* add audit mixin and minor fixes

* feat(api): alerts and reports REST API

* draft working version

* add tests

* test

* black

* remove copy pasta

* solve dashboard object representation being used on cache

* tests and custom filter

* fix PUT has PATCH on active field

* create feature flag

* fix lint

* address comments
2020-11-12 13:21:01 -08:00
ʈᵃᵢ
1dc4c4746e
fix(dashboard): ordering for add chart widget (#11672) 2020-11-12 11:10:45 -10:00
Grace Guo
0338b48fdd
fix (dashboard): remove default filters parameters in dashboard url (#11661) 2020-11-12 13:00:27 -08:00
Kasia Kucharczyk
4af7264a2c
fix: make higher chart box resizable (#11673)
* Added visible resizible icon to all types of blocks in tabs

* Adjusted position of hovered framwes and edited markdown
2020-11-12 11:53:48 -08:00
Elizabeth Thompson
b277f19808
keep placeholder on multiselect (#11289) 2020-11-12 11:36:24 -08:00
Jesse Yang
542d2e3b06
chore: clean up a debug line from #11653 (#11663) 2020-11-12 08:37:49 -08:00
Ville Brofeldt
2718909314
feat: add ECharts BoxPlot chart (#11199)
* feat: add ECharts BoxPlot chart

* lint

* fix cypress tests

* lint

* remove viz.py shim

* bump plugin package

* skip non-legacy plugin cypress dashboard tests

* fix cypress tests

* disable cypress tests for non-leagcy charts

* fix bad rebase

* use midpoint interpolation for quartile calculation

* bump packages and add support for no groupby

* whitespace

* whitespace

* linting

* fix tests

* xit mathjs load test

* bump mathjs to 8.0.1

* disable cypress filter test for v1 charts
2020-11-12 10:01:04 +02:00
Jesse Yang
302c9603c4
fix: database connection validation when creation (#11653) 2020-11-12 08:00:38 +00:00
Beto Dealmeida
45738ffc1d
chore: consolidate datasource import logic (#11533)
* Consolidate dash import logic

* WIP

* Add license

* Fix lint

* Retrigger tests

* Fix lint
2020-11-11 22:04:16 -08:00
Kamil Gabryjelski
6ef4d2a991
Restructure chart header to wrap nicely (#11643) 2020-11-11 20:18:04 -08:00
Beto Dealmeida
4a070cfceb
chore: consolidate dashboard import logic (#11529)
* Consolidate dash import logic

* Fix lint

* Remove Slice.import_obj

* Remove unused import

* Fix log
2020-11-11 14:50:18 -08:00
Elizabeth Thompson
f3b68cbbbe
add import icon (#11652) 2020-11-11 13:48:53 -08:00
Jesse Yang
7cbf21c39f
build: set actions/setup-python to v2 (#11644)
This upgrades the `setup-python` action and pins it to the latest v2,
which suppresses the warnings about set-env and add-path:

    Error: The `set-env` command is deprecated and will be disabled on November 16th. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
2020-11-11 13:15:05 -08:00
Jesse Yang
4f21dea55f
feat(dev): dont override asset manifest in dev-server (#11648)
Override manifest.json only when `npm run dev`, not `npm run
dev-server`.  This allows developers to compare between the
current version of Superset with what they are working on
without switching back and forth between branches.

All they need to do is to first start the current version with
production build:

```
npm run build
superset run -p 8088
```

Then start the dev server in another window:

```
npm run dev-server
```
2020-11-11 13:14:45 -08:00
Grace Guo
a9f9c4bbd5
[fix] handle null value in date filter (#11655) 2020-11-11 09:32:26 -08:00
Ville Brofeldt
77dff0e4e0
fix(chart-data): ignore orderby on sample result type (#11656) 2020-11-11 16:27:56 +02:00
ʈᵃᵢ
329e72885c
fix(saved-query): handle case where sql_tables in undefined (#11649) 2020-11-10 15:26:29 -10:00
Evan Rusackas
73cc938358
style: various little tweaks to home screen stylin' (#11650)
* adding bottom padding

* making light gray backgrounds match

* vertical centering of empty state content.

* linting 

* fixing card radii

* fixing corner radius... thumb was covering corner border.
2020-11-10 17:20:31 -08:00
Jesse Yang
75245177e9
chore: pin node and npm versions (#11646) 2020-11-10 15:58:54 -08:00
Jesse Yang
339d0d73bc
feat(sankey-viz): allow sort by metric and bump superset-ui packages (#11626) 2020-11-10 15:58:00 -08:00
Rob DiCiuccio
14aa729e66
build(deps-dev): update cypress to 5.5.0, improvements for running locally (#11603)
* reduce numTestsKeptInMemory to 0 to prevent Chrome OOM crash

* Add cypress-run-chrome script, update docs and cypress_build.sh

* Upgrade Cypress to latest version

* tox: add missing 'cypress' env, cleanup flask server

* Fix failing dashboard edit test syntax

* Reduce retry count to 1

* Prettier test
2020-11-10 15:51:47 -08:00
adam-stasiak-polidea
4eff80c3f3
chore: enabled cypress test in filter file (#11458)
* enabled cypress test in filter file

* added delay to typing

* additional assertion and timeout

* Modified test logic - changed user's action to selection from list instead of typing (unstable with cypress)
2020-11-10 15:18:20 -08:00
Kamil Gabryjelski
98d1c6964c
refactor: Remove reactable arc (#11535)
* Refactor DisplayQueryButton into functional component and use react-table

* Refactor EstimateQueryCostButton to functional component

* Use react-table instead of reactable-arc

* Remove reactable-arc dependency

* Add margin for copy button

* Make search case insensitive
2020-11-10 15:13:29 -08:00
adam-stasiak-polidea
777a84cdbf
Enabled artifacts for failing tests (#11584) 2020-11-10 12:42:54 -08:00
Beto Dealmeida
cf868891be
chore: rename IMPORT_EXPORT_VERSION (#11636) 2020-11-10 09:45:45 -08:00
Evan Rusackas
3b89d2307a
fix: card thumbnails now always show border. (#11638)
Co-Authored-By: Evan Rusackas <evan@preset.io>
2020-11-10 08:58:39 -08:00
Yongjie Zhao
cd0198a878
Chore: simplify Apache Kylin datetime convert (#11521) 2020-11-10 18:46:18 +02:00
Beto Dealmeida
51712bf7ce
fix: CommandInvalidError had invalid init (#11635) 2020-11-10 07:41:03 -08:00
adam-stasiak-polidea
4d41cf900d
Disabled bubble test (#11630) 2020-11-09 18:58:28 -08:00
Grace Guo
966a826720
fix: js unit test when save dash (#11632) 2020-11-09 17:56:30 -08:00
Evan Rusackas
d315dd96f0
style: fixing tall filter indicators (#11631)
Co-Authored-By: Evan Rusackas <evan@preset.io>
2020-11-09 16:17:32 -08:00
David Aaron Suddjian
5be1dbe28b
feat(dashboard): leaner filter indicator panel with wrapped text (#11592)
* feat(dashboard): leaner filter indicator panel with wrapped text

* remove summary from filter indicator panel
2020-11-09 14:23:43 -08:00
Kamil Gabryjelski
0c6aeef927
Fix datetime picker issues (#11621) 2020-11-09 14:13:27 -08:00
Grace Guo
b9284d3a3c
fix(dashboard): use server-side lastModifiedTime for co-edit check (#11614)
* fix: [dashboard][co-edit] Round client-side lastModifiedTime

* another try: server-side returns last_updated_time in save_dash response
2020-11-09 13:30:40 -08:00
Lily Kuang
dda95ed250
feat: annotation delete modal, bulk delete and empty state (#11540) 2020-11-09 11:25:16 -10:00
Jesse Yang
92a9acd5c9
fix: minor style touch on dashboards (#11570) 2020-11-08 21:26:56 -08:00
Jesse Yang
6ab03feed8
chore: clean up mountedTab (#11569) 2020-11-08 21:09:27 -08:00
adam-stasiak-polidea
24ba5301d1
Fixed unstable test (#11583) 2020-11-08 17:53:43 -08:00
Kasia Kucharczyk
ea0abbffb4
fix: extended droppable area on the top of dashboards (#11525)
* Extended droppable area on the top

* Empty dashboard detects almost whole area to place first element
2020-11-08 17:35:39 -08:00
dependabot[bot]
849e7e9668
build(deps-dev): bump less from 3.9.0 to 3.12.2 in /superset-frontend (#11597)
Bumps [less](https://github.com/less/less.js) from 3.9.0 to 3.12.2.
- [Release notes](https://github.com/less/less.js/releases)
- [Changelog](https://github.com/less/less.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/less/less.js/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-08 10:02:54 -08:00
Evan Rusackas
d86117331d
chore: cleaning out old deckgl controls (#11564) 2020-11-06 22:41:08 -08:00
Phillip Kelley-Dotson
d8373f2bb9
chore(home-screen): fixes for loading states, flicker issue, and reduction of api calls (#11557)
* fixes for loading states, flicker issue, api calls

* fix filter bug

* add high res images

* bug fixes for cards and face pile, change imgs to svgs, and address comments

* update from comments

* add stopprop

* fix tests

* add liscenses

* remove unused type

* fix types

* add license

* fix lint
2020-11-06 19:35:13 -08:00
Kamil Gabryjelski
a6bf95e30b
fix: Filter and Metric popovers not closing after clicking Save (#11607)
* Fix filter popover not closing

* Fix metric popover not closing

* Add e2e tests
2020-11-06 14:23:12 -08:00
Evan Rusackas
32e52e94e0
style: Wrap chart titles again (#11602)
* style: letting chart titles wrap again

* deleting comment
2020-11-06 11:10:45 -08:00
ʈᵃᵢ
79a6e9b0d2
fix(dashboard): order charts by changed_on (#11594) 2020-11-06 11:02:03 -08:00
Daniel Vaz Gaspar
bd79bd2a54
feat: new report schedule models (#11550)
* feat: new report schedule models

* lint and unique constraint

* support sqlite

* fix sqlite

* add audit mixin and minor fixes

* fix FK's

* address comments

* lint
2020-11-06 09:33:32 +00:00
Kamil Gabryjelski
6d5d92a6fe
fix: Issues with filters and metrics popovers (#11578)
* Fix bugs in AdhocFilterEditPopover

* Fix bugs in AdhocMetricEditPopover

* Remove handleMultiComparatorInputHeightChange function

* Fix tests
2020-11-05 20:00:43 -08:00