Commit Graph

238 Commits

Author SHA1 Message Date
Evan Rusackas b5a9bae106
migrating unique EventFlow controls (#9358)
* migrating unique controls

* Lint 
2020-03-23 22:32:55 -07:00
Evan Rusackas 20dd4182cb
Cal heatmap controls migration (#9355)
* controls migrated

* linting
2020-03-23 22:16:16 -07:00
ʈᵃᵢ 866f6f9330
feat: [SQLLAB] add checkbox to control autocomplete (#9338)
* [SQLLAB] add checkbox to control autocomplete

* autocomplete -> autocompleteEnabled

* fix defaultProps

* fix spec
2020-03-23 22:11:05 -07:00
Krist Wongsuphasawat f4087d2ad2
refactor: remove settooltip (#9332) 2020-03-23 12:35:31 -07:00
Jianchao Yang c4b53a7d42
Build: optimize frontend build configs to improve superset-ui-plugin dev experience (#9326)
* Upgrade webpack, babel and React

* Upgrade all Babel related packages

Also remove babel-plugin-css-modules-transform that is not in use.

* Remvoe tslib as dependency

* Remove unnecesary packages
2020-03-19 14:57:39 -07:00
ʈᵃᵢ ff703cf01b
[chart] fix, bulk delete endpoint and error message (#9330) 2020-03-19 18:26:55 +00:00
David Aaron Suddjian 46598830e9
show edit modal on dashboards list view (#9211)
* show edit modal on dashboards list view

* lint

* fix test

* simplify PropertiesModal interface

* lint

* comply with method ordering

* fix type issue
2020-03-19 08:05:35 -07:00
Ali Bahjati 98ac72074c
Add Iran to Country Visualization (#8940) 2020-03-18 14:08:07 +02:00
ʈᵃᵢ 85e9a4fa99
[datasets] fix typo (#9312) 2020-03-17 00:59:12 +02:00
Ville Brofeldt f1370c5e32
fix: add saved metrics to point size metric dropdown in deckgl scatterplot (#9309) 2020-03-16 20:06:56 +02:00
David Aaron Suddjian f6f40c815a
[Charts] Use the Edit Properties modal throughout React views (#9267)
* typescriptification

* use the chart edit modal on the react list view

* linting

* typings don't work on old react-bootstrap version

* lint

* remove duplicate field
2020-03-13 15:14:50 -07:00
ʈᵃᵢ 5767fb15cd
[datasets] new, listview (react) (#9197)
* [datasets] new, react listview

* add hidden columns to support filtering by columns not rendered

* throw exception if config is incorrect

* fix database filter

* update endpoints to point to datasets; fix translation strings

* move Link into src/components

* add add new record button to datasets listview
2020-03-13 21:35:00 +02:00
Asif Iqbal 1cbd955e79
[SIP-36] Migrate RunQueryActionButton.jsx to RunQueryActionButton.tsx (#9290) (#9291) 2020-03-12 18:36:55 -07:00
Ville Brofeldt 406ad8778c
fix: remove duplicate metric from bullet chart (#9274) 2020-03-11 06:52:58 +02:00
Maxime Beauchemin c04d6163e7
feat: add rolling window support to 'Big Number with Trendline' viz (#9107)
* Rolling big number

* addressing comment
2020-03-10 10:19:12 -07:00
Maxime Beauchemin 116200cf73
fix: change database save in DatasourceEditor (#9255)
* fix: change database save in DatasourceEditor

This addresses the issue where pointing a datasource to another database
in the datasource editor is not reflected.

Also addresses:
- a minorcosmetic issue in the datasource editor.
- user/owners list not getting populated

* tests
2020-03-10 09:20:37 -07:00
Evan Rusackas d8fea640f8
removing safari "fix" for ACE editor font width jank. (#9264) 2020-03-09 12:46:25 -07:00
Grace Guo 8bc30da621
[log] Add dashboard_id param to explore_json request (#9243)
* [log] Add dashboard_id param to explore_json request

* fix cypress test
2020-03-08 19:51:08 -07:00
ʈᵃᵢ 89109a16c6
[chart] fix, datasource link in listview (#9247) 2020-03-07 14:46:17 -08:00
Jianchao Yang f784af285f
feat: improve loading speed for legacy table chart (#9234)
* perf(table-chart): upgrade to 0.11.6

Upgrade table chart `@superset-ui/legacy-plugins-chart-table`
to https://github.com/apache-superset/superset-ui-plugins/pull/385

* refactor: use ternary instead of if

* fix: rename variables
2020-03-06 14:03:33 -08:00
Erik Ritter 7d572d9e96
Introducing Inter UI & Fira typefaces (#9207)
* All the fonts!

* dynamic loading

* folderizing fonts by family

* Shuffling files, getting rid off LESS fanciness

* Fira Mono, consolidating on "specimen" for LESS filenames

* Fira Code

* switch for enabling ligatures

* ligatures off for now

* license

* nixing Fira Mono, using OTF features instead.
2020-03-04 17:32:08 -08:00
Erik Ritter b1d83ba8d6
fix: choose language link for local dev (#9215)
@superset-ui/connection will add protocol and host to an "endpoint" call.

`e.currentTarget.href` may return the full URL instead of the relative
url.
2020-03-04 17:08:23 -08:00
Daniel Vaz Gaspar 26e916e46b
[api] enable CSRF by default (#9205)
* [api] Fix, don't exempt CSRF on APIs

* adds cookie based CSRF token support

* blacking

Co-authored-by: ʈᵃᵢ <tdupreetan@gmail.com>
2020-03-03 12:22:40 +00:00
Erik Ritter 28c05b22e8
[SQL Lab] Implement refetch results button properly (#9220) 2020-03-02 16:10:40 -08:00
ʈᵃᵢ cd4605e4c1
[dashboard, chart] fix ordering and filtering in listviews (#9212)
* [dashboard, chart] fix ordering and filtering

* fix owner name bug, better typing

* remove tslint comment
2020-02-27 09:30:52 -08:00
Grace Guo 883b0d0313
[dashboard perf logging] add dashboard url anchor component id (#9202) 2020-02-25 21:18:36 -08:00
Erik Ritter eeec63c7dd
[SIP-36] Migrate setupApp.js to setupApp.ts (#9180) 2020-02-24 14:30:35 -08:00
ʈᵃᵢ 1748728c45
adds FAB style filter types (#9086) 2020-02-24 10:16:11 -08:00
Evan Rusackas 72518e20ee
forcing fixed width fonts on ace editor (fixes #9095) (#9183)
* forcing fixed width fonts on ace editor

* making styles global (for sql editors outside SqlLab

* prettier
2020-02-24 10:09:21 -08:00
Erik Ritter 78b1561820
Make JSX Menu links open in new tab (#9191) 2020-02-23 07:43:06 -08:00
ʈᵃᵢ 74423e5d19
deprecate tslint and configure eslint for typescript (#9172) 2020-02-20 09:54:33 -08:00
Grace Guo c1750af54a
[dashboard] clean up usage for old filter immune metadata (#9146)
* [dashboard] clean up usage for filter_immune metadata

* add fix per comment
2020-02-19 09:58:34 -08:00
Will Barrett 38f3fd0c9f
Add feature flags to control query sharing, KV exposure (#9120)
* Add feature flags to control query sharing, KV exposure

* Add tests, fix bug

* Skip test for kv endpoints when they are disabled

* ESLint fixes

* Remove unnecessary binds

* Fix eslint errors

* Add note to UPDATING.md RE: new feature flag options

* Use expanded version of RBAC

* Enable KV_STORE and SHARE_QUERIES_VIA_KV_STORE feature flags in the test environment

* Fix black
2020-02-19 09:51:50 -08:00
Erik Ritter e5e6b53687
[SIP-36] Migrate Link.jsx to Link.tsx (#9162) 2020-02-19 08:49:04 -08:00
ʈᵃᵢ 3e73c81b25
filter out markdown containing XSS (#9163) 2020-02-19 09:44:44 +00:00
Grace Guo b0110a74e7
[dashboard] remove loading spinner in missing chart holder (#9140) 2020-02-14 09:01:47 -08:00
Grace Guo a005e4568f
[logging] Add data_age for cached chart (#9121)
* [logging] Add data_age for cached chart

* set data_age be null when is not cached data
2020-02-11 13:11:17 -08:00
David Aaron Suddjian 2913063924 SIP-32: Moving frontend code to the base of the repo (#9098)
* move assets out, get webpack dev working

* update docs to reference superset-frontend

* draw the rest of the owl

* fix docs

* fix webpack script

* rats

* correct docs

* fix tox dox
2020-02-09 17:53:56 -08:00