Elizabeth Thompson
ea49aa3d2d
feat: add timezones to report cron ( #15849 )
...
* add timezones to report cron
* fix test
2021-07-27 18:28:24 -07:00
David Aaron Suddjian
a3f54a6c7b
chore: small viz gallery tweaks ( #15900 )
...
* allow passing styles to selector component
* make onClear optional
* remove broken font-size declarations
* fix bad hook dependency
* move all charts selector outside of Collapse
* stop hiding all charts button
* slight copy change
* remove x
* min left pane size
* remove default p bottom margin
* remove unused import
* fix test
2021-07-27 18:21:19 -07:00
Beto Dealmeida
2ce676d20d
feat: call screenshot to store `query_context` ( #15846 )
...
* feat: call screenshot to store query_context
* Add unit test
* Move updateQueryContext to ExploreChartPanel
* Add error handling
* Fix code
* Fix logic
2021-07-27 14:02:27 -07:00
Grace Guo
8c7e09e500
fix: Select a query from History and Run ( #15891 )
...
* fix: Run query picked from History
* remove sql from component local state
2021-07-27 13:24:48 -07:00
aspedrosa
e5540b79ec
fix: no roles being returned for anonymous user ( #15585 )
2021-07-27 12:22:39 -06:00
Michael S. Molina
663dd3f853
chore: Improves the layout of the VizTypeGallery component ( #15907 )
...
* chore: Improves the layout of the VizTypeGallery component
* copy edit
* Enables search
Co-authored-by: Evan Rusackas <evan@preset.io>
2021-07-27 15:17:36 -03:00
Kamil Gabryjelski
3f5237a3c1
feat(explore): new datasets have autocomplete filters enabled if UX_BETA is set ( #15864 )
...
* feat(explore): new datasets have autocomplete filters enabled if UX_BETA is set
* Lint fix
* Set autocomplete to True in example datasets
* Use "IN" as a default operator in dnd filters
* Default operator only if UX_BETA enabled
2021-07-27 17:40:10 +02:00
Janis Puris
019e74652d
Update alerts_reports.mdx ( #15904 )
...
Slack requires `chat:write` as part of "OAuth & Permissions" for the slack integration to be able to post messages.
2021-07-27 09:47:04 -04:00
Yongjie Zhao
94e759dbfa
chore: bumping superset-ui 0.17.73 ( #15901 )
2021-07-27 14:26:39 +08:00
Yongjie Zhao
315c52a328
fix: dashboard url error when edit slug ( #15893 )
2021-07-27 08:49:29 +08:00
Beto Dealmeida
eeba326f8b
chore: set UUID of examples DB ( #15724 )
2021-07-26 17:45:48 -07:00
chuancy
2d0056507b
Incorrect translations ( #15813 )
2021-07-26 17:41:06 -06:00
Geido
e6a37022ac
fix(Explore): "Customize" tab rendering behavior ( #15841 )
...
* Remove getDerivedStateFromProps
* Set loading
2021-07-26 17:32:27 -06:00
Geido
1297fd9169
fix(dashboard): Refresh Native Filters when Dashboard refreshes ( #15890 )
...
* Implement onRefresh action
* Update tests
* Clean up
* Fix type
* Add effect dependency
2021-07-26 17:27:08 -06:00
Hugh A. Miles II
62550db385
fix: Update Query Context on Explore loading ( #15865 )
...
* create serialize json function
* saving for now
* saving for now
* lint
* cleanup
* fix network request
* update test
* Update tests/integration_tests/charts/api_tests.py
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2021-07-26 12:43:25 -07:00
Michael S. Molina
5be0a89625
fix: Charts sort by in edit mode gets cut off ( #15896 )
2021-07-26 16:38:38 -03:00
Michael S. Molina
7aeb15031d
fix: Download as image of dashboard chart did not work ( #15897 )
2021-07-26 16:36:45 -03:00
Michael S. Molina
f6115a73d4
fix: Side menu of the dashboard component will scroll out of dashboard ( #15888 )
2021-07-26 12:16:40 -06:00
Michael S. Molina
16a26bac35
fix: New time range filter initially show advance section ( #15889 )
2021-07-26 12:14:43 -06:00
Yaozong Liu
fb5dce07b7
chore: implement new mockup to the new viz gallery (2nd iteration) ( #15868 )
...
* chore: implement new mockup to the new viz gallery
* fix: update package-lock
* fix: add license
* fix: reduce duplication and fit within the sidebar
* fix: ut
2021-07-26 11:10:39 -07:00
Beto Dealmeida
2f95f81be7
feat: apply post processing to chart data ( #15843 )
...
* feat: apply post processing to chart data
* Fix tests and lint
* Fix lint
* trigger tests
2021-07-26 10:58:59 -07:00
Yongjie Zhao
873daf3867
chore: bumping superset-ui 0.17.72 ( #15895 )
2021-07-26 14:38:33 -03:00
Elizabeth Thompson
b81f120916
add timezone selector component ( #15880 )
2021-07-26 09:30:35 -07:00
John Bodley
6d3e19d857
fix(15403): Re-enable canceling query for Hive and Presto ( #15878 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2021-07-26 08:04:56 -07:00
Michael S. Molina
9c81599d21
chore: Adds the tests that need to be coded for the Select component ( #15885 )
2021-07-25 21:01:48 +02:00
David Aaron Suddjian
7330aefeac
feat: deprecate plugins by their metadata ( #15882 )
2021-07-24 16:52:07 +08:00
John Bodley
65728ea049
fix(15482): Propagate SupersetSecurityException error ( #15874 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2021-07-24 10:19:49 +12:00
John Bodley
4ba17092fa
fix: Ensure SupersetError.extra is always a dict ( #15848 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2021-07-24 10:19:30 +12:00
Duy Nguyen Hoang
73b436ab9f
fix: Unable to create alerts/report after introduced creation_method ( #15760 )
2021-07-24 09:36:29 +12:00
Beto Dealmeida
f9b72505fb
fix: revert DEFAULT_SQLLAB_LIMIT to default ( #15869 )
2021-07-23 11:38:42 -07:00
Kamil Gabryjelski
d408ff8466
fix(explore): show multi queries results in View query modal and data pane ( #15840 )
...
* fix(explore): show multiple queries in View query modal
* show multiple queries result in data pane
* fix tests
* lint fix
2021-07-23 17:04:22 +02:00
Elizabeth Thompson
9c854ff1f1
bump typescript ( #15847 )
2021-07-22 16:30:25 -07:00
Elizabeth Thompson
c1eb9cec49
add timezone to report schedule ( #15747 )
2021-07-22 15:36:15 -07:00
Geido
ebec353351
fix(dashboard): Remove edit from url params when discarding changes ( #15709 )
...
* Remove edit from url params
* Change replace to assign
2021-07-22 12:58:43 -07:00
Geido
d4bec135e8
Render value immediately ( #15820 )
2021-07-22 11:46:01 -07:00
Michael S. Molina
e660de6936
chore: Adds lazy loading to the Select component ( #15799 )
2021-07-22 15:17:31 -03:00
Phillip Kelley-Dotson
04c0680f6e
feat(homepage): conditionally render viewed tab and move examples to chart and dashboard table ( #15792 )
...
* test examples
* fix lint
* more lint
* last test
* add suggestions
* fix lint
* fix wrong localstor
* fix tests
* add suggestions
* Update superset-frontend/src/views/CRUD/types.ts
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/views/CRUD/welcome/DashboardTable.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* fix lint
* fix default tab
* fix test
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2021-07-22 10:41:49 -07:00
Kamil Gabryjelski
5e1c469f42
feat(explore): default aggregate for string/numeric columns when creating metric ( #15798 )
...
* feat(explore): default aggregate for string/numeric columns when creating metric
* Fix for editing items with the same label
* Replace componentDidUpdate with getDerivedStateFromProps
* Wrap changes in feature flag
2021-07-22 18:23:10 +02:00
Kamil Gabryjelski
040b94119b
chore: bump superset-ui to 0.17.71 ( #15839 )
2021-07-22 17:10:45 +02:00
Yongjie Zhao
b9d3338153
fix: dataTablesPane cell render undefine when the dot in metric label ( #15817 )
...
* fix: dataTablesPane cell render undefine when the dot in metric label
* fix UT
2021-07-22 22:09:27 +08:00
Michael S. Molina
fdb40350bb
chore: Changes the pagination API of the Select component ( #15802 )
2021-07-22 07:32:04 -03:00
Beto Dealmeida
f6fe29db87
feat: use new API endpoint to build CSV reports ( #15830 )
...
* feat: add `GET /api/v1/chart/{chart_id}/data/?format{format}` API
* feat: use new API endpoint to build CSV reports
2021-07-21 17:50:56 -07:00
Beto Dealmeida
211319673f
fix: publish the new example dashboards ( #15803 )
...
* fix: publish the new example dashboards
* Fix tests
2021-07-21 17:26:03 -07:00
Beto Dealmeida
f104fba61d
feat: add `GET /api/v1/chart/{chart_id}/data/?format{format}` API ( #15827 )
...
* feat: add `GET /api/v1/chart/{chart_id}/data/?format{format}` API
* Fix test
2021-07-21 17:03:22 -07:00
Beto Dealmeida
3441182630
chore: remove unnecessary deps ( #15787 )
...
* chore: remove unneeded deps
* fix lint
* Run compile
2021-07-21 16:53:45 -07:00
AAfghahi
e66db63333
reports ( #15828 )
2021-07-21 16:52:59 -07:00
Geido
fefcea7979
fix(Explore): Cell height and spacing for Data panel ( #15821 )
...
* Fix height and spacing
* Remove unnecessary padding
2021-07-21 14:30:55 -07:00
Beto Dealmeida
9a79a5775b
feat: store query context when saving charts ( #15824 )
...
* WIP
* Add migration
* Fix tests
2021-07-21 13:54:39 -07:00
John Bodley
ab4e3b9bf9
chore: Enforce Mypy for non-tests ( #15757 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2021-07-22 06:46:43 +12:00
Beto Dealmeida
d26254099e
fix: benchmark_migration.py needs to close sssion ( #15822 )
2021-07-21 11:16:46 -07:00