Commit Graph

99 Commits

Author SHA1 Message Date
JUST.in DO IT
eda304bda9 chore(explore): Hide non-droppable metric and column list (#27717) 2024-04-05 09:29:05 -07:00
JUST.in DO IT
7369754192 fix(explore): drag and drop indicator UX (#27558) 2024-03-27 11:22:27 -07:00
JUST.in DO IT
1c155e8591 fix(explore): Allow only saved metrics and columns (#27539) 2024-03-19 05:51:02 +13:00
Kamil Gabryjelski
a4c771e013 fix: Allow only dttm columns in comparison filter in Period over Period chart (#27209) 2024-03-05 21:24:26 +01:00
Evan Rusackas
753ef69529 feat(storybook): Co-habitating/Upgrading Storybooks to v7 (dependency madness ensues) (#26907) 2024-02-15 07:40:17 -07:00
Ville Brofeldt
19f8405bc0 chore: make TS enums strictly PascalCase (#26875) 2024-01-31 17:40:44 -08:00
Michael S. Molina
8a2f7d378a refactor: Removes the deprecated GENERIC_CHART_AXES feature flag (#26372) 2024-01-31 09:45:57 -05:00
Evan Rusackas
1d4b8b6989 fix(dependencies): stopping (and preventing) full lodash library import... now using only method level imports. (#26710) 2024-01-23 12:39:37 -07:00
Michael S. Molina
6063f4ff04 refactor: Removes the deprecated ENABLE_EXPLORE_DRAG_AND_DROP feature flag (#26343) 2024-01-16 10:47:52 -03:00
Beto Dealmeida
b2ea97a984 fix: set label on adhoc column should persist (#26154) 2023-12-01 08:40:52 -05:00
Matthew Chiang
512fb9a0bd feat: Add Deck.gl Contour Layer (#24154) 2023-10-10 11:20:37 +02:00
Kamil Gabryjelski
7757b61c22 chore: Deprecate DND feature flags (#23981) 2023-05-10 17:13:03 +02:00
Ville Brofeldt
60c9d68403 feat(adhoc-column): add resize option (#23748) 2023-04-20 17:03:18 +03:00
Michael S. Molina
04bd528bed chore: Removes the UX_BETA feature flag (#23651) 2023-04-13 10:32:34 -03:00
Kamil Gabryjelski
6076457b90 fix(explore): Dashboard filters on adhoc cols not working in Explore (#23239) 2023-03-01 15:45:00 +01:00
Michael S. Molina
49aa9b4ca8 chore: Removes icon warnings from tests (#23054) 2023-02-13 12:31:09 -05:00
Kamil Gabryjelski
7d5c86b44c fix(explore): Save button incorrectly disabled when adding new metric with dnd (#23000) 2023-02-06 16:19:02 -05:00
Michael S. Molina
b63ea6386f fix: Prevents last temporal filter removal (#22982) 2023-02-03 10:50:12 -05:00
Lyndsi Kay Williams
260ac40b23 feat: Enable new dataset creation flow II (#22835) 2023-02-01 09:49:25 -06:00
Cody Leff
2a30bbce1a chore: Convert direct uses of antd icons to 'Icons' component (#22516) 2023-01-23 14:42:27 -07:00
Michael S. Molina
af73c59b0a feat: Generic X-axis improvements (#22707) 2023-01-19 12:22:39 -05:00
Ville Brofeldt
577ac81686 chore(ci): fix numpy type errors and revert #22610 (#22782) 2023-01-19 14:53:48 +02:00
Lyndsi Kay Williams
c87f654901 feat: Enable new dataset creation flow (#22610) 2023-01-17 20:05:40 -06:00
Anthony Gainor
0dbaaad83d feat(explore-popover): Show disabled 'Save' button in explore popover (#21318)
Co-authored-by: Herbert Gainor <herbert.gainor@preset.io>
Co-authored-by: Michael S. Molina <michael.s.molina@gmail.com>
2022-12-07 12:25:54 -05:00
Corbin Robb
cdec09243b test: Fix act errors in DndColumnSelectControl tests (#22068) 2022-11-08 16:24:43 -05:00
Lyndsi Kay Williams
7a52b22237 test: Fix act errors in DndMetricSelect test (#22048) 2022-11-07 12:33:57 -06: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
Kamil Gabryjelski
cddc361adc feat(explore): Don't discard controls with custom sql when changing datasource (#20934) 2022-10-19 15:29:38 +02:00
Yongjie Zhao
8f61e3c5d9 refactor: preparation for time section migration (#21766) 2022-10-12 08:38:30 +08:00
Evan Rusackas
4245bc3f38 chore(style): Enforce optional chaining (#21614) 2022-10-03 09:17:20 -06: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
Lyndsi Kay Williams
210a2b9053 test: Fix act errors in DndFilterSelect test (#21429) 2022-09-09 20:28:46 -05:00
Lyndsi Kay Williams
2c7da649e4 test: Fix act errors in DndColumnSelect test (#21428) 2022-09-09 20:28:21 -05:00
Shubham Sinha
b354f2265a fix(dev-server run): Check for environment tag not being undefined (#21232)
* fixed local dev-server run

* removed console log

* removed console log
2022-08-30 14:51:32 +08:00
Phillip Kelley-Dotson
2f3e11db66 feat: blankstate metrics columns (#20755)
* add POC ExploreMixin

* Working POC
> columns are loading into page

* Created/tested query dataset dropdown

* Add isValidDatasourceType to @superset-ui/core and hide query dropdown

* Visual updates to explore datasource panel

* Temporarily make Query icon visible

* Remove Query icon visibility

* Removed isValidDatasourceType check

* Added Query preview Modal from DatasourceControl if the data source type is Query [41493]

Initial commit to add ability for the a Query Preview Modal to be available when the data source type is Query and not Dataset
Converted ModalTrigger to a functional TypeScript component

* > fix integration point with frontend
> allow for all records to be displayed
> fix select with all columns queries
> filters are now working

* Adjusts conditional logic approach to be extensible for additional types from DatasourceTypes options

* refactor

* set field for sql

* Fixes issue where Missing query parameters error was showing in datasourcePanel

* add query_language

* fix ds main_dttm

* Fixes issue where menu.tsx was blocking access to redux debugging for SqlLab and Explore

* Fixes issue where database id was not available to save query as dataset, adds default metric when chart source is query

* oops

* fix pre-commit to 50 errors now

* fix circuliar dep

* Disables showing Metrics section in DatasourcePanel when Query is the datasource

A follow on separate effort will enable having a default Count metric when Query is the datasource type

* adds condition to use query.columns if query.results is not present enable saving query as a dataset

* down to 26 now

* patch for pre-commit

* one more pre-commit

* added explore_json error

* added error messages

* add for metrics

* add text for columns

* add model open/close method

* add propogation and methods

* change link to span

* lint fix

* Fixes frontend lint and TypeScript errors unit test fixes will be next commit

* Aditional TypeScript error fix

* Fixes unit test failure

* fix some types

* added frontend piece

* fix type

* Fixes bad import caused by merge from master and removes duplicate showSaveDatasetModal check

* Fixes for DartasourceControl Test Suite

* Fix lint error

* Fixes unit test issues due to array instead of a component being passed to modal footer

* Fixes unit test failure for DatasourceControl and simplifies getDatasourceTitle based on PR comment

* fix ts

* pylint

* core_test fix

* Fixes line error post merge from master

* fixed from master

* fixed from master

* Fixes issue where Overwrite dataset does not work due to userid error

SPA refractor changed Redux structure that is used when in explore (which is now within SPA).  user object is at the root of the store now for anything under SPA.

* Resolves TypeScript errors with changes made for SPA merging in and changes needed for overwriting dataset from SaveDatasetModal

* fix: top right panel view query functionality

* remove unneeded code from core.py

* working samples endpoint for query

* add owner check

* update FE for it

* handle columns are dict vs object

* fix exceptions

* fix fe lint

* fix test

* add tab_name to payload

* Enables use of tab name from Query

* fix cypress test

* save columns on execution

* fix frontend build test

* remove parathesis around columns

* changing column types

* fixing samples that has literal_columns

* address comments

* add changes

* fix path

* fix merge

* fix types

* remove console

* add type

* fix linting

* update to enum

* fix test

* remove explore from buttons

* fix logic

* fix logic

* oops

Co-authored-by: Hugh A. Miles II <hughmil3s@gmail.com>
Co-authored-by: lyndsiWilliams <kcatgirl@gmail.com>
Co-authored-by: Eric Briscoe <eric.j.briscoe@gmail.com>
Co-authored-by: AAfghahi <arash.afghahi@gmail.com>
Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com>
2022-07-26 14:32:30 -04: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
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
Yongjie Zhao
927d066f70 chore: move isAdhocColumn from controls to core (#20529)
* chore: move isAdhocColumn to superset-ui/core

* ut
2022-06-29 13:09:44 +08:00
Diego Medina
5bfc95e79e feat: When editing the label/title in the Metrics popover, hitting Enter should save what you've typed (#19898)
* feature: When editing the label/title in the Metrics popover, hitting Enter should save what you've typed

* Apply emotion templating to input/input labels
2022-06-08 16:52:53 -06:00
Stephen Liu
ad72ea53a1 fix(legacy-plugin-chart-sunburst): chart broken when secondary metric is remove (#20223) 2022-05-31 21:18:49 +08:00
Diego Medina
7b5ba39029 fix: Fix auto-reversion of label/title in the Metrics popover (#19889) 2022-05-05 22:30:33 -06:00
Daniel Vaz Gaspar
4fdf230a56 feat: deprecate /superset/extra_table_metadata migrate to api v1 (#19921)
* feat: deprecate /superset/extra_table_metadata migrate to api v1

* use can_read to table_extra_metadata

* troubleshoot sqlite

* fix test

* fix test

* fix test

* fix frontend test on sqllab
2022-05-04 14:55:52 +01:00
Diego Medina
e4fca89217 fix: Cannot re-order metrics by drag and drop (#19876)
* fix: cannot-re-order-metrics-by-drag-and-drop

* add tests
2022-04-27 20:37:12 -06:00
Kamil Gabryjelski
b7759e6fd1 chore: Clean redundant dependency from useMemo dep array (#19732) 2022-04-15 14:56:34 +02:00
smileydev
c320c295dc fix(dnd&column): make to fix the blank state issue when only one column select (#19651) 2022-04-15 13:43:25 +02:00
Diego Medina
54f1b35161 chore: add missing keys to components inside lists (#19161) 2022-03-21 15:47:48 -06:00
Diego Medina
0277ebc225 fix: Popovers in Explore not attached to the fields they are triggered by (#19139)
* fix: Popovers in Explore not attached to the fields they are triggered by

* fix

* PR comment

* remove unused import
2022-03-16 20:46:52 -06:00
Kamil Gabryjelski
f9c7405e0e chore(explore): Set Drag&Drop feature flags to True by default (#19046)
* chore(explore): Set Drag&Drop feature flags to True by default

* fix tests
2022-03-08 18:50:51 +01:00
Michael S. Molina
fd4bd1edbc chore: Moves components out of the commons folder (#18931)
* refactor: Moves components out of the commons folder

* Fixes tests
2022-02-25 10:17:32 -03:00
Kamil Gabryjelski
c1205b5279 feat(explore): Implement metrics and columns popovers empty states (#18681)
* feat(explore): Implement empty states for column and metrics popovers

* Fix test

* Change copy
2022-02-14 15:26:56 +01:00