Commit Graph

373 Commits

Author SHA1 Message Date
Jack Fragassi
44557f5a23
chore(api v1): Deprecate datasource/save and datasource/get endpoints (#23678) 2023-04-18 17:51:24 -07:00
Michael S. Molina
6234888c69
chore: Removes deprecated feature flags for 3.0 (#23663) 2023-04-17 10:48:05 -03:00
Ville Brofeldt
cbbcc8d2e1
fix(plugin-chart-echarts): reorder totals and support multimetric sort (#23675) 2023-04-14 20:43:15 +03:00
Michael S. Molina
04bd528bed
chore: Removes the UX_BETA feature flag (#23651) 2023-04-13 10:32:34 -03:00
JUST.in DO IT
75021a1eac
refactor: introduce redux toolkit (#23460)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2023-04-12 10:26:32 -07:00
Ville Brofeldt
f49702feff
feat(plugin-chart-echarts): add x-axis sort to multi series (#23644) 2023-04-12 16:13:41 +03:00
Kamil Gabryjelski
587e7759b1
feat: Support further drill by in the modal (#23615) 2023-04-12 13:43:09 +02:00
Ville Brofeldt
c8fa44e9e9
feat(dashboard): make color indices referable (#23657) 2023-04-12 14:27:09 +03:00
Kamil Gabryjelski
117360cd57
feat: Drill by open in Explore (#23575) 2023-04-05 11:20:45 +02:00
Kamil Gabryjelski
13ffb4b7c2
fix(plugin-chart-table): Include time control (#23533) 2023-04-03 12:31:33 +02:00
Alex Bain
de42c11f99
fix(plugin-generator): Addresses linter errors in newly generated Superset plugin (#23513) 2023-03-29 20:57:27 -07:00
Kamil Gabryjelski
9fbfd1c1d8
feat: Implement context menu for drill by (#23454) 2023-03-29 15:01:51 +02:00
JUST.in DO IT
439d687e1f
fix(dashboard): Add remark plugin on markdown (#23502) 2023-03-28 09:32:32 -07:00
Ville Brofeldt
8db5cb18c0
fix(generic-x-axis): skip initial time filter for legacy charts (#23506) 2023-03-28 14:08:52 +03:00
Alex Bain
a3ffc67238
docs: Adds notes to Superset plugin generator about TypeScript errors (#23501) 2023-03-27 18:34:26 -07:00
Kamil Gabryjelski
4530542ac4
fix: Chart crashing if timeseries_limit_metric is an empty array (#23480) 2023-03-24 12:02:58 +01:00
Kamil Gabryjelski
7ef06b0a60
chore: Add DRILL_BY feature flag (#23430) 2023-03-20 22:54:20 +01:00
Geido
da3791ad3d
fix: Table sorting reset (#23318) 2023-03-15 18:48:03 +01:00
Kamil Gabryjelski
63513a5873
fix(chart-controls): Error if x_axis_sort and timeseries_limit_metric are included in main metrics (#23365) 2023-03-14 15:50:03 +01:00
Hugh A. Miles II
b820eb8235
chore: Update pre-commit packages (#23173) 2023-03-13 17:05:13 -06:00
JUST.in DO IT
3919ca6060
fix(dashboard): deepmerge htmlSchemaOverrides (#23329) 2023-03-14 08:11:12 +13:00
Ville Brofeldt
a591130e0b
fix(trino): normalize non-iso timestamps (#23339) 2023-03-13 14:46:39 +02:00
Lily Kuang
376ad39576
chore: upgrade @ant-design/icons for react upgrade (#22890) 2023-03-08 14:18:43 -07:00
Kamil Gabryjelski
d16512b775
fix(dashboard): Allow selecting text in cells in Table and PivotTable without triggering cross filters (#23283) 2023-03-06 13:42:52 +01:00
Ville Brofeldt
1b139d0748
feat(generic-x-axis): add x sorting on series limit metric (#23274) 2023-03-06 11:50:20 +02:00
John Bodley
6338ea5d42
chore: revert "feat(native_filter_migration): add transition mode (#16992)" (#23144) 2023-02-24 06:22:36 +13:00
Kamil Gabryjelski
ee1952e488
feat(dashboard): Add cross filter from context menu (#23141) 2023-02-23 17:05:41 +01:00
cccs-RyanK
a40c12d63e
feat: Frontend tagging (#20876)
Co-authored-by: cccs-nik <68961854+cccs-nik@users.noreply.github.com>
Co-authored-by: GITHUB_USERNAME <EMAIL>
2023-02-21 13:38:23 -08:00
Ville Brofeldt
1324135697
chore(style): make brand icon max width customizable (#23081) 2023-02-15 18:38:09 +02:00
Michael S. Molina
464ddee4b4
fix: Time Column on Generic X-axis (#23021) 2023-02-10 13:33:07 -05:00
Artem Shumeiko
773d2a54a3
chore: Localization of superset pt. 3 (#22938)
Co-authored-by: Evan Rusackas <evan@preset.io>
2023-02-07 09:21:23 -07:00
Antonio Rivero Martinez
cf395ac2d8
feat(ssh_tunnel): SSH Tunnel Switch extension (#22967) 2023-02-03 15:34:54 -08:00
Josh Soref
78ede590ee
chore(frontend): Spelling (#19676)
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2023-02-02 11:23:11 -07:00
Ville Brofeldt
c53c3aa23d
chore(superset-ui-chart-controls): refactor pivot and rename operator (#22963) 2023-02-02 17:16:07 +02:00
Michael S. Molina
30abefb519
feat: Adds the ECharts Sunburst chart (#22833) 2023-01-31 11:39:18 -05:00
Artem Shumeiko
c839d0daf5
chore: Localization of superset pt. 2 (#22772) 2023-01-30 09:20:43 -07:00
Geido
9ed2326a20
feat: Move cross filters to Dashboard (#22785) 2023-01-25 18:01:06 +01:00
Lily Kuang
397a984f09
chore(superset-ui): bump superset-ui-chart-controls and plugin-chart-handlebars back to version 0.18.25 (#22694) 2023-01-12 10:04:26 +02:00
Antonio Rivero Martinez
539936522f
feat(ssh_tunnel): SQLAlchemy Form UI (#22513)
Co-authored-by: hughhhh <hughmil3s@gmail.com>
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2023-01-11 19:29:52 +00:00
Artem Shumeiko
f3696ceef3
chore: Localization of several charts and elements (#22150)
Co-authored-by: ashumeiko <ashumeiko@ashumeiko.com>
2023-01-11 09:42:54 -07:00
Ville Brofeldt
c0aeb2a75a
chore(embedded): bump package versions (#22676) 2023-01-11 11:42:46 +02:00
Lily Kuang
40dba06094
chore: upgrade react-ace (#22573) 2023-01-04 09:16:01 -08:00
Ville Brofeldt
a7a4561550
fix(explore): support saving undefined time grain (#22565) 2023-01-03 08:53:42 +00:00
John Bodley
9e81c3a119
feat: update time comparison choices (again) (#22458) 2022-12-24 10:13:35 +13:00
EugeneTorap
f3bf3ec2ed
chore: Remove actions prop and refactor code in SQL Lab (#22231) 2022-12-05 12:12:52 +01:00
Cody Leff
997950ecf5
chore(native-filters): Grid units, type guard, feature flag guard (#22307) 2022-12-02 19:55:03 +01:00
Geido
df91664217
feat: Programmatically open "more filters" dropdown in Horizontal Filter Bar (#22276)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-12-02 15:03:01 +02:00
Diego Medina
aa97ba4509
feat: root context provider extension point (#22188) 2022-12-01 13:29:51 -08:00
Kamil Gabryjelski
eb6045adfa
feat(native-filters): Adjust filter components for horizontal mode (#22273) 2022-12-01 15:41:19 -05:00
Ville Brofeldt
b1f8fd4f64
chore(superset-ui): remove deprecated fields from QueryObject (#22272) 2022-11-30 15:54:11 +02:00
Cody Leff
a642d126f8
fix(dashboard): Fix FilterWithDataMask typing and add null check (#22260) 2022-11-29 20:40:09 +02:00
Cody Leff
435926b89e
fix(dashboard): Add correct icon, label and badge to horizontal native filters dropdown button (#22211)
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2022-11-28 14:12:57 +01:00
Yongjie Zhao
22fab5e58c
feat: Axis sort in the Bar Chart V2 (#21993) 2022-11-26 22:06:26 +08:00
Yongjie Zhao
b2fcdc56c1
refactor: restructure shared-contrls modules (#22224) 2022-11-25 17:45:30 +08:00
Geido
d352b74ff4
chore: Upgrade antd@4.10.3 (#22007) 2022-11-17 22:48:54 +02:00
JUST.in DO IT
4f2e264b3f
chore(sqllab): Change icon color for running sql (#22050) 2022-11-15 12:33:53 -08:00
Yongjie Zhao
5b67e0712d
refactor: update documents and rename variables (#22074) 2022-11-11 18:04:56 +08:00
JUST.in DO IT
ef6b9a97d5
feat(dashboard): confirm overwrite to prevent unintended changes (#21819) 2022-11-08 13:06:19 -08:00
Jack Fragassi
c870fbe9e2
feat: Add 3 new extension points for inserting custom icons (#22027) 2022-11-04 11:53:57 -07:00
Michael S. Molina
7d1df3b78d
feat: Improves SafeMarkdown HTML sanitization (#21895) 2022-11-04 10:34:02 -04:00
Yongjie Zhao
d52d72ce64
refactor: Feature flags getter (#22015) 2022-11-03 22:30:22 +08:00
Cody Leff
4cbd70db34
fix: Revert shared controls typing change. (#22014) 2022-11-03 11:58:38 +08:00
JUST.in DO IT
3a023392e6
fix: invalid float number format by json-bigint (#21996) 2022-11-02 01:04:17 -07:00
Yongjie Zhao
a9b229dd1d
feat: support mulitple temporal filters in AdhocFilter and move the Time Section away (#21767) 2022-11-02 08:21:17 +08:00
JUST.in DO IT
3bb9187797
fix: invalid float number format by json-bigint (#21968) 2022-10-31 10:20:43 -07:00
JUST.in DO IT
40024064ae
fix: BIGINT rendering regression in chartAction (#21937) 2022-10-26 15:04:20 -07:00
Michael S. Molina
779d9f7533
feat: Adds the HORIZONTAL_FILTER_BAR feature flag (#21935) 2022-10-26 08:39:10 -03:00
Ville Brofeldt
f5977caf44
chore(plugin-chart-echarts): bump ECharts to 5.4.0 (#21916) 2022-10-24 17:09:24 +03:00
Geido
c2834cc14c
chore: Remove CROSS_REFERENCES feature flag (#21815) 2022-10-21 15:11:49 +03:00
JUST.in DO IT
f4a4ab41e0
fix: type of AnnotationLayer (#21878) 2022-10-21 19:11:18 +08:00
Usiel Riedl
9a063abb3b
feat(explore): add config for default time filter (#21879)
Co-authored-by: Usiel Riedl <usiel.riedl@automattic.com>
2022-10-20 20:09:51 +08:00
Cody Leff
76e57ec651
feat(dashboard): menu improvements, fallback support for Drill to Detail (#21351) 2022-10-19 18:34:46 -03:00
Kamil Gabryjelski
cddc361adc
feat(explore): Don't discard controls with custom sql when changing datasource (#20934) 2022-10-19 15:29:38 +02:00
Anthony Gainor
ec20c0104e
fix(dashboard): Prevent XSS attack vector (#21822)
Co-authored-by: Herbert Gainor <herbert.gainor@preset.io>
2022-10-19 09:54:20 -03:00
Yongjie Zhao
0a4ecca9f2
fix: custom SQL in the XAxis (#21847) 2022-10-19 11:40:52 +08:00
Andrew
df7840c041
chore: Added translate functions (#21816) 2022-10-19 09:54:16 +08:00
Yongjie Zhao
f41d0b0cbf
fix: drilling on the categorical xaxis on the stacked barchart v2 (#21844) 2022-10-18 19:47:53 +08:00
Stephen Liu
7a7181a244
feat(color): color consistency enhancements (#21507) 2022-10-17 17:01:20 +08:00
Yongjie Zhao
8f61e3c5d9
refactor: preparation for time section migration (#21766) 2022-10-12 08:38:30 +08:00
Kamil Gabryjelski
406e44bba1
perf(dashboard): Virtualization POC (#21438) 2022-10-11 15:06:00 +02:00
Shubham Sinha
20b9dc8444
feat(embedded-dashboard): Share Switchboard State for Sending Events from Plugins (#21319) 2022-10-10 16:27:43 +03:00
Jakob Miksch
ca3abffb81
docs: wording in template (#21491) 2022-10-07 15:21:39 -03:00
Michael S. Molina
1cbf066415
feat: Adds the CROSS_REFERENCE feature flag (#21708) 2022-10-06 08:53:51 -03:00
Victor Arbues
ebd75366c0
feat(chart): add feature flag that displays the data pane closes by default (#21649) 2022-10-05 15:34:03 +08:00
Evan Rusackas
4245bc3f38
chore(style): Enforce optional chaining (#21614) 2022-10-03 09:17:20 -06:00
JUST.in DO IT
157482955e
chore: avoid undefined property on Global type (#21631) 2022-10-03 10:51:55 +08:00
Stephen Liu
61bd696226
fix(plugin-chart-echarts): boxplot throw error in the dashboard (#21661) 2022-10-01 08:53:29 +08:00
Yongjie Zhao
4c17f0e71e
fix: time grain can't be removed in explore (#21644) 2022-09-30 23:15:19 +08:00
Yongjie Zhao
93f08e778b
feat: explicit distribute columns on BoxPlot and apply time grain (#21593) 2022-09-28 15:32:35 +08:00
Evan Rusackas
23cd5c90cf
chore: removing '.git' from web url references in Yeoman generator's package.json (#21611) 2022-09-27 22:29:26 -06:00
Yongjie Zhao
f4646f8edb
feat: adding XAxis to BigNumberTrend (#21577) 2022-09-26 20:14:17 +08:00
Yongjie Zhao
e671d80209
feat: support multiple time columns with time grain in Pivot Table v2 (#21537) 2022-09-22 21:56:10 +08:00
Yongjie Zhao
4d12e3709e
feat: generate consistent QueryObject whether GenericAxis is enabled or disabled (#21519) 2022-09-21 09:41:21 +08:00
Yongjie Zhao
2d16100dbc
refactor: get Axis from a helper function (#21449) 2022-09-16 15:57:45 +08:00
Yongjie Zhao
33509ab7da
fix: BigQuery cannot accept Time Grain (#21489) 2022-09-16 15:19:24 +08:00
Cody Leff
324e9979fa
fix(explore): Fix generic X-axis time grain disappearing (#21484) 2022-09-16 14:09:17 +08:00
Stephen Liu
1c0bff3dfb
fix: revert #21356(able to sort bar on the bar chart V2) (#21481) 2022-09-16 09:06:12 +08:00
Cody Leff
2285ebe72e
fix(explore): Prevent shared controls from checking feature flags outside React render (#21315) 2022-09-14 20:41:47 +02:00
Yongjie Zhao
ae6d2cf18d
fix: hide time_grain when x_axis value is undefined (#21464) 2022-09-14 19:03:49 +08:00
John Bodley
eac6fdcd29
chore(sqllab): Cleanup /tables/... endpoint (#21284) 2022-09-13 08:22:12 -07:00
Stephen Liu
59437ea6e7
feat(plugin-chart-echarts): able to sort bar on the bar chart V2 (#21356) 2022-09-13 23:09:09 +08:00
Yongjie Zhao
eb4ba5b089
fix: should be able to remove selection from X-AXIS control (#21371) 2022-09-13 21:05:07 +08:00
Yongjie Zhao
ce3d38d2e7
feat: apply Time Grain to X-Axis column (#21163) 2022-09-07 16:24:15 +08:00
Stephen Liu
a27c7ae7d0
chore: upgrade yeoman-generator to fix security warnings (#21324) 2022-09-06 17:55:55 +08:00
Cody Leff
742dbdd0a5
fix: Fix console errors about feature flags when running tests (#21275) 2022-09-01 12:42:07 -03:00
Michael S. Molina
1143e17742
fix: Typing of labelMap (#21181)
* fix: Typing of labelMap

* Adjusts val types
2022-08-26 08:22:57 -03:00
Cody Leff
5811262cf2
Add warnings if feature flags are read before initialization. (#21201) 2022-08-25 16:53:18 -06:00
Cody Leff
52648ecd7f
feat(dashboard): Add Drill to Detail modal w/ chart menu + right-click support (#20728)
* Add drill-to-detail modal.

* Include additional filters from dashboard context in request.

* Set page cache size to be approximately equal to memory usage of Samples pane.

* Update getDatasourceSamples signature.

* One-line import/export.

* Fix incorrect argument order in getDatasourceSamples invocation.

* Fix height of modal.

* Disable option in chart menu unless feature flag is set.

* Open modal on right-click.

* Fix double requests on modal open, controls disappearing on filter update.

* Show formattedVal in clearable filter tag.

* Set force=false for all requests.

* Rearrange/refactor DrillDetailPane.

* Reset page index on reload.

* Fix endless re-requests on request failure.

* Fix modal layout issues.
2022-08-22 15:57:18 -07:00
Michael S. Molina
0bf4e56dc3
fix: Drill to detail on values with comma (#21151) 2022-08-22 13:52:39 -03:00
Antonio Rivero Martinez
bdcc0a9bcf
fix(charts): Hide Values greater than Max Y Axis Bound on Mixed Time Series with Bar series (#21015)
* Mixed TimeSeries:

- When Bar chart is used as serie type, we need to hide values that are greater than the max Y Axis Bound.

* Mixed Time Series:

- Simplify logic for getOverMaxHiddenFormatter

* Mixed Time Series:

- Add tests for new getOverMaxHiddenFormatter util func
2022-08-22 08:55:09 -06:00
Yongjie Zhao
fea68ef23c
fix: resample method shouldn't be freeform (#21135) 2022-08-22 15:42:46 +08:00
Kamil Gabryjelski
55304b02cd
fix(explore): Filters with custom SQL disappearing (#21114)
* fix(explore): Filters with custom SQL disappearing

* Fix adhoc filter for query b disappearing

* Improve test coverage
2022-08-17 22:15:41 +02:00
Moriah Kreeger
83dd85166f
feat: add extension point for workspace home page (#21033)
* updates to allow insertion of workspace home sidescroll/table UI

* fix types

* fix User type import

* add welcome message to ui registry

* add extra fields to individual chart/query GET results (for workspace home required info)

* update list view card to support a subtitle

* add id to individual chart fetch

* update chart api test

* another test fix

* fix saved query test

* update extension types + insert point

* fix typing

* fix type name
2022-08-15 12:16:40 -07:00
Jack Fragassi
394d62ee51
Add embedded docs config details to extensions registry (#21052) 2022-08-12 16:33:21 -07:00
JUST.in DO IT
2d1ba46844
fix(plugin-chart-echarts): missing value format in mixed timeseries (#21044) 2022-08-11 12:33:59 -07:00
JUST.in DO IT
a8ba544e60
fix(plugin-chart-echarts): invalid total label location for negative values in stacked bar chart (#21032) 2022-08-11 11:28:18 -07:00
Eric Briscoe
ab6ec89f68
fix: [sc-54864] Adds safety check to provide near term fix to save query (#21034)
* [sc-54864] Adds safety check to provide near term fix for Queries not saving

There is an error when casting the columns array to String() for saving queries where the objects in the array are missing the toString method.   This is a near term rapid patch to fix workflow in production which will have a follow up to identify root cause.

* fix typo

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* Adjusted chekc to be explicit for undefined instead of truthy

This fixes issue caught by unit test where the if statement was using a truthy check where it should be explicitly checking for value of undefined

* Adds new unit test to get 100% coverage for callApi

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2022-08-10 10:33:47 -07:00
Michael S. Molina
3df8335f87
feat: Adds drill to detail context menu for ECharts visualizations (#20891)
* feat: Adds drill to detail context menu for ECharts visualizations

* Rebases and adds time grain

* Fixes selected gauge values

* Fixes Treemap edge click

* Adds right click to big number trendline

* Address some comments
2022-08-09 17:02:31 -03:00
JUST.in DO IT
9114175db2
fix(plugin-echart-timeseries: legend trancated on show extra controls (#21017) 2022-08-09 16:12:00 +08:00
Elizabeth Thompson
463406ff09
fix: save dataset and repopulate state (#20965)
* save dataset and repopulate state

* disable dashboard button if dataset is missing

* fix error message

* fix tests
2022-08-05 14:32:49 -07:00
Sam Faber-Manning
226712d831
feat: add 'dashboard.nav.right' extension to registry (#20835)
* add 'dashboard.nav.right' extension to registry

* add test
2022-08-04 15:24:34 -07:00
Just[in]Do it!
3f124d9d67
fix(plugin-chart-pivot-table): Invalid Formats Date Fields (#20909)
When a custom date field value converted in a string format, some aggregators truncated to the first four digits.
 This is caused by the parseFloat function which converts to first matched number rather than NaN(Not-A-Number) value.
 This commit replaces the parseFloat by Number wrapper to handle this case correctly.
2022-07-28 22:56:08 -07:00
Geido
a69f016bca
chore: Feature flag for embedding charts (#20804)
* Add EMBEDDABLE_CHARTS feature flag

* Pretty

* Update test
2022-07-26 17:55:44 +03:00
Yongjie Zhao
55a89dfac9
feat: a simple LRUCache in frontend (#20842) 2022-07-26 15:02:10 +08:00
Kamil Gabryjelski
5c2c2e8040
feat(explore): UX changes in fast viz switcher (#20848)
* feat(explore): UX changes in fast viz switcher

* Fix test
2022-07-26 08:44:17 +02:00
Geido
6b0c3032b2
chore: Update color scheme when deleted or changed (#20589)
* feat(explore): Use v1/explore endpoint data instead of bootstrapData

* Add tests

* Fix ci

* Remove redundant dependency

* Use form_data_key in cypress tests

* Add auth headers to for data request

* Address comments

* Remove displaying danger toast

* Conditionally add auth headers

* Address comments

* Fix typing bug

* fix

* Fix opening dataset

* Fix sqllab chart create

* Run queries in parallel

* Fallback to default color scheme

* Fix dashboard id autofill

* Fix lint

* Fix test

* Fix hydrate action

* Update dashboard colors

* Add color scheme domain

* Add check for default scheme

* Make me pretty

* Clean up

* Nit

* Clean up

* Pretty

* Fix missing sequential

* Lint

* Enhance test

* Lint

Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2022-07-25 18:50:49 -04:00
Kamil Gabryjelski
0945d4a2f4
feat: Pass dashboard context to explore through local storage (#20743)
* feat: Pass dashboard context to explore through local storage

* Remove console log

* Remove unused local storage keys

* Fix lint

* Fix link

* Fix UT

* fix lint

* fix prettier

* Fix bug

* Fix bug with some sample dashboards

* Roll back unnecessary change

* style fix

* Add comments

* Fix lint

* Address code review comments

* Fix
2022-07-25 16:44:43 +02:00
Diego Medina
279ab954b1
fix: chart empty state & result panel when multiple queries are executed display incorrectly (#20816) 2022-07-22 14:58:42 +08:00
Kamil Gabryjelski
af1bddffad
fix(explore): Adhoc columns don't display correctly (#20802)
* fix(explore): Adhoc columns have empty labels

* Add unit test

* Address comments
2022-07-21 21:11:49 +02:00
Michael S. Molina
3311128c5e
fix: Reverts #20749 and #20645 (#20796)
* Revert "fix: Error when saving datasource from Explore (#20749)"

This reverts commit 92f3621c75.

* Revert "refactor: Unify shared datasources reducers and actions (#20645)"

This reverts commit 2a705406e1.
2022-07-20 17:03:19 -03:00
Yongjie Zhao
9c7bcfcead
fix: core coverage and add a coverage step in workflow (#20784)
* fix: core coverage

* add step in workflow
2022-07-20 08:56:03 -03:00
Hugh A. Miles II
e5e8867394
feat: Visualize SqlLab.Query model data in Explore 📈 (#20281) 2022-07-15 19:34:02 -04:00
John Bodley
a6abcd9ea8
fix: Address regression in main_dttm_col for non-dnd (#20712)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-07-14 23:51:03 -07:00
Michael S. Molina
2a705406e1
refactor: Unify shared datasources reducers and actions (#20645)
* refactor: Unify shared datasources reducers and actions

* Removes column_types

* Adjusts hydrateExplore

* Revert "Removes column_types"

This reverts commit 096bbf7826.

* Fixes test
2022-07-13 13:03:36 -03:00
Kamil Gabryjelski
5317462b49
Revert "feat: Reuse Dashboard redux data in Explore (#20668)" (#20689)
This reverts commit ff5b4bc0e4.
2022-07-12 16:48:08 -03:00
Kamil Gabryjelski
ff5b4bc0e4
feat: Reuse Dashboard redux data in Explore (#20668) 2022-07-12 19:17:25 +02:00
Yongjie Zhao
8d4994a899
fix: superset-ui/core code coverage (#20676) 2022-07-12 13:34:27 +08:00
Yongjie Zhao
7f918a4ec0
fix: annotation broken (#20651)
* fix: annotation broken

* fix UT

* add annotation data to mixed timeseries chart
2022-07-11 16:23:57 -06:00
Diego Medina
c29261b63d
fix: X Axis should be called Y Axis when using the Bar Chart V2 on Horizontal mode (#20659) 2022-07-09 12:36:16 +08:00
Jack Fragassi
dfab521f50
fix(embedded): Ensure guest token is passed to log endpoint (#20647)
* Pass guest token to sendBeacon

* Add tests
2022-07-08 15:17:01 -07:00
AAfghahi
0ce0c6e1eb
chore: removing Druid from front- and back- end (#20338)
* first pass at removing native Druid nosql

* removing having_druid

* addressing comments, linting

* fixed all tests

* addressing comments

* redirected to ui-core TimeGranularity type

* query form metric linting

* fixed broken chart type

* implementing feedback
2022-07-08 17:57:03 +02:00
Kamil Gabryjelski
de4f7db57e
feat(dashboard): Transition to Explore with React Router (#20606)
* feat(dashboard): Use react-router for transition to Explore + cmd click to open in new tab

* Update tooltip

* Add a feature flag

* Update edit chart onclick event

* Fix lint

* Fix tests

* Change feature flag name

* Add tooltip to Edit chart
2022-07-07 11:52:03 +02:00
stevetracvc
7e504ff680
feat: truncate long values in table viz, a per-column setting (#19383)
* feat: truncate long values, a per-column setting

* fix: lint

* fix: removed width for column control

* fix: removed truncate option for time, bool, and numeric columns

* prevent extra div if not truncating
2022-07-06 22:16:48 -06:00
David Aaron Suddjian
db088e9e2f
chore: rename "uiOverrideRegistry" -> "extensionsRegistry" (#20628)
* uiOverrideRegistry -> extensionsRegistry

* better comments

* missed a spot

* missed another spot

* url
2022-07-06 11:35:19 -07:00
Yongjie Zhao
59491f5396
chore: rename drop missing columns to show empty columns (#20602) 2022-07-05 16:09:16 +08:00
Yongjie Zhao
309327dcbd
feat: drop missing columns control (#20586) 2022-07-04 18:08:12 +08:00
Lily Kuang
2389871556
feat: add extension point to the top of welcome page (#20575)
* welcome top extension

* show database modal

* add test

* Delete lines.svg

* rename to banner

* remove lines

Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>
2022-07-01 12:21:13 -07:00
Yongjie Zhao
b870a21eaa
refactor: remove unused flatten function (#20582) 2022-07-01 19:17:55 +08:00
Evan Rusackas
ac8e502228
fix: Respecting max/min opacities, and adding tests. (#20555)
* Respecting max/min opacities, and adding tests.

* revising tests

* Adding missing test case for maximum coverage :)

* removing unnecessary logic and test

* adding another unit test for (hopefully) full coverage.

* no more ternary operator

* New approach with Math.min  - take THAT codecov.

* one more stab at making codecov happy... ignoring the file next.

* lint fixes
2022-06-30 16:09:03 -06:00
Kamil Gabryjelski
b30f6a5db1
chore(explore): Get Explore data from endpoint instead of bootstrap_data (#20519)
* feat(explore): Use v1/explore endpoint data instead of bootstrapData

* Add tests

* Fix ci

* Remove redundant dependency

* Use form_data_key in cypress tests

* Add auth headers to for data request

* Address comments

* Remove displaying danger toast

* Conditionally add auth headers

* Address comments

* Fix typing bug

* fix

* Fix opening dataset

* Fix sqllab chart create

* Run queries in parallel

* Fix dashboard id autofill

* Fix lint

* Fix test
2022-06-30 21:06:51 +02:00