Yongjie Zhao
67535bb320
refactor: reorganize dateFilterUtils.tx ( #14309 )
...
* refactor: reorganize dateFilterUtils.tx
* move spec to src dirctory
2021-04-23 16:05:50 +08:00
Michael S. Molina
d1b458c4c5
chore: Moves Radio to the components folder ( #14133 )
2021-04-20 08:48:10 -07:00
Michael S. Molina
8441590812
chore: Moves Tooltip to the components folder ( #14137 )
2021-04-20 08:47:47 -07:00
Michael S. Molina
77a9cc7088
chore: Moves Collapse to the components folder ( #14124 )
2021-04-16 15:55:04 -07:00
Michael S. Molina
b83ee46d0f
chore: Moves Modal to the components folder ( #14130 )
2021-04-16 15:49:53 -07:00
Michael S. Molina
cfe927bebb
test: Adds tests for the FixedOrMetricControl component ( #13705 )
2021-04-13 15:26:31 -07:00
Michael S. Molina
4602ead10c
test: Adds tests to the filter scope components ( #13887 )
2021-04-06 21:31:35 -07:00
Geido
9a4de232a7
test: Enhance tests and directory structure for FilterControl components ( #13745 )
...
* Enhance directory structure
* Enhance paths
* Move AdhocFilter
* Add AdhocFilterPopoverTrigger tests
* Move import
* Enhance AdhocFilterOption tests
* Linting
* Fix linting
* Update superset-frontend/src/explore/components/controls/FilterControl/AdhocFilterOption/AdhocFilterOption.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/explore/components/controls/FilterControl/AdhocFilterOption/index.jsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Enhance
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2021-04-05 11:05:35 -07:00
Michael S. Molina
61129f749f
test: Adds tests to the TimeSeriesColumnControl component ( #13712 )
2021-04-05 11:04:58 -07:00
Geido
9156f089ff
test: Refactor and enhance tests for the Explore DatasourcePanel Component ( #13799 )
...
* Refactor and enhance tests
* Fix linting issues
2021-03-31 23:14:51 -07:00
Michael S. Molina
6fd62e3f7e
test: Adds tests to the OptionControls component ( #13729 )
2021-03-31 18:07:22 -07:00
Michael S. Molina
6fe4cc0c51
chore: Removes Popover duplication ( #13462 )
2021-03-30 13:54:53 -07:00
Erik Ritter
64785c20bd
feat: add warning metadata to tables and metrics ( #13606 )
2021-03-17 21:27:34 -07:00
Yongjie Zhao
817b740f59
chore: metric refactor iteration 1 ( #13596 )
2021-03-12 23:11:05 +08:00
Jesse Yang
7656b2e68b
refactor: convert controlUtils to TypeScript (2 of 2) ( #13520 )
2021-03-11 17:19:15 -08:00
Erik Ritter
d2e03ab9b4
fix: Remove view in sql lab from druid datasources ( #13469 )
2021-03-04 14:54:29 -08:00
Yongjie Zhao
488da65986
feat(viz): implement time picker on filter box ( #13377 )
...
* refactor(explore): restructure DateFilterControl
* fix UT
* remove datasource props
* remove unused files
* fix DateFilterControl in filterbox over length
2021-03-02 07:50:58 +08:00
Jesse Yang
3c62069bbb
refactor(explore): convert ControlPanelsContainer to typescript ( #13221 )
2021-02-28 10:10:15 -08:00
Yongjie Zhao
1e3130d588
feat(explore): ColumnSelectControl with drag-and-drop ( #13210 )
...
* initial dnd
* shift group by items
* lint
* fix shift options
* wip
* wip
* fix shift action
* support scalar dimentions
* control rename to DndColumnSelectControl
* remove unused files
* added feature flag
* ff to False by default
* fix ut
* lint
* improve code smell
* added indicator
* replace value when column is scalcar
* scalar to isArray
* var rename
* minor fix
* update dependence
* minor fix
2021-02-26 16:48:23 +08:00
Michael S. Molina
9335b9c983
Migrates DropdownButton component from Bootstrap to AntD ( #13002 )
2021-02-18 10:14:21 -08:00
Michael S. Molina
fcd443d366
Creates storybook and tests for Tooltip component ( #13184 )
2021-02-17 22:51:35 -08:00
Michael S. Molina
ad4ca2223e
feat: one-click copy chart and dashboard URL ( #13037 )
...
Closes #10328
2021-02-17 14:14:08 -08:00
Kamil Gabryjelski
44723eabbe
fix(explore): Certificate icon not displaying for certified metrics ( #13133 )
...
* Fix certificate icon not displaying for certified metrics
* Remove redundant function
* Fix grammar mistake
2021-02-16 08:56:19 -08:00
Michael S. Molina
86807e40b7
Improves RTL configuration ( #13079 )
...
- Adds plugin:jest-dom/recommended to ESLint plugins list to enforce tests best practices
- Moves import @testing-library/jest-dom/extend-expect; from setup.ts to testing-library.tsx to avoid matchers collision
- Adds @testing-library/user-event to help simulate users events
2021-02-11 15:32:22 -08:00
simcha90
c5781cde60
feat(style): hide dashboard header by url parameter ( #12918 )
...
* feat(native-filters): hide dashboard header bu url parameter
* lint: fix lint
* test: add tests
* test: fix test
* refactor: upgrade standalone param
* fix: pre-commit and extract to method is_standalone_mode
* test: fix tests
* test: fix tests
* fix: fix standalone statement
* refactor: fix CR notes
* chore: pre-commit
* fix: fix sticky tabs + update CR notes
* lint: fix lint
* lint: fix lint
* fix: fix CR notes
* fix: fix CR notes
* lint: fix lint
* refactor: fix cr notes
Co-authored-by: amitmiran137 <amit.miran@nielsen.com>
2021-02-11 15:05:35 +02:00
Michael S. Molina
5a79a7d993
Migrates Radio component from Bootstrap to AntD. ( #12738 )
2021-02-02 11:26:26 -08:00
Michael S. Molina
2adfb85597
Migrates Label component from Bootstrap to AntD. ( #12774 )
2021-02-01 22:15:07 -08:00
Michael S. Molina
c781ab8adf
Migrates Button component from Bootstrap to AntD ( #12832 )
2021-02-01 15:13:10 -08:00
Yongjie Zhao
642a76f6cc
fix(explore): time picker can not be switched between now and specific ( #12793 )
...
* fix(explore): time picker can not be switched between now and specifc
* fix linting
* fix type
* fix UT
2021-01-29 13:35:57 +08:00
Kamil Gabryjelski
fcaa0acad5
chore: Upgrade react-dnd to 11.1.3 ( #12815 )
2021-01-28 18:34:56 -08:00
Kamil Gabryjelski
14de7b4791
feat(explore): Make metric title respond to changes immediately ( #12747 )
...
* Make metric title respond to changes immediately
* Bug fix
* Change type to Metric
* Bug fix
2021-01-28 08:58:39 +02:00
Nikola Gigić
c475f6b173
chore(explore): Reorder dataset search results based on property relevance ( #12770 )
2021-01-27 17:49:02 -08:00
Michael S. Molina
22d52eadb2
Fix tests errors and warnings - iteration 5 ( #12212 ) ( #12224 )
2021-01-25 23:35:57 -08:00
Jesse Yang
55c8f9ba60
feat(explore): allow opening charts with missing dataset ( #12705 )
2021-01-25 15:09:03 -08:00
Geido
1b2611c211
refactor(explore): Enhance Dataset and Control panel Collapse components ( #12218 )
2021-01-25 15:05:19 -08:00
Michael S. Molina
3fb183349f
Fix tests errors and warnings - iteration 2 ( #12212 ) ( #12214 )
2021-01-25 12:03:16 -08:00
Michael S. Molina
2a587f6cb1
Apply capitalization guidelines - iteration 6 ( #12343 ) ( #12452 )
2021-01-21 21:45:44 -08:00
Kamil Gabryjelski
853d34beba
fix(explore): Disable saved metric name edit in Metric popover ( #12582 )
2021-01-19 12:28:55 -08:00
Yongjie Zhao
9771b82c94
refactor(explore): move MetricControl and FilterControl to sub-component ( #12446 )
...
* wip
* wip
* wip
* wip
* move spec
* wip
* wip
* remove unused file
* wip
* wip
* Update superset-frontend/spec/javascripts/explore/components/AdhocFilterEditPopoverSqlTabContent_spec.jsx
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
* Update superset-frontend/spec/javascripts/explore/components/AdhocFilterOption_spec.jsx
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
* Update superset-frontend/spec/javascripts/explore/components/AdhocMetricEditPopoverTitle_spec.jsx
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2021-01-19 22:46:28 +08:00
Kamil Gabryjelski
e1eeeebe53
fix: Select options overflowing Save chart modal on Explore view ( #12522 )
...
* Fix select options overflowing modal
* fix unit test
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-01-15 12:43:33 +02:00
Michael S. Molina
75f927b9eb
Fixes control panel fields styling ( #12236 ) ( #12326 )
2021-01-11 16:47:10 -08:00
Jesse Yang
9acf48fd1e
chore: upgrade eslint, babel, and prettier ( #12393 )
2021-01-10 17:26:35 -08:00
Duy Nguyen Hoang
99de8a49b6
fix: explore replace wrong standalone slice url ( #12359 )
2021-01-09 13:32:06 -08:00
Kamil Gabryjelski
fd15dff60e
perf: Optimize performance of Results and Samples tables on Explore ( #12257 )
2021-01-08 12:07:51 -08:00
Nikola Gigić
737e6b4aee
chore(dashboard): Add ErrorBoudary for AdhocFilter components ( #12352 )
...
* Add ErrorBoudary for AdhocFilter components
* Add tests
* typo fix
2021-01-08 20:58:26 +02:00
Ville Brofeldt
78d3557757
fix(explore): improve filter translation ( #12350 )
...
* fix(explore): improve filter translation
* address review comments
2021-01-08 20:57:21 +02:00
Kamil Gabryjelski
e660723a2f
fix(explore): bugs in Custom SQL editor in filter popover ( #12278 )
...
* Fix Save button disabled until clause is switched
* Fix 'undefined undefined' when sql query is empty
* fix test
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-01-06 15:08:20 +02:00
Kamil Gabryjelski
f3ab1f41ee
feat: Implement drag & drop for metrics and filters labels ( #12184 )
2020-12-24 20:46:37 -08:00
Jesse Yang
d2da25a621
refactor: remove queryFields in QueryObject and update chart control configs ( #12091 )
...
* Clean up queryFields
* Clean up unused vars
* Bump chart plugins
* Bringing changes in #12147
2020-12-22 17:10:19 -08:00
Ville Brofeldt
41fac6b0d9
fix(explore): save chart not working ( #12178 )
...
* fix(explore): save to dashboard not working
* fix test
2020-12-22 23:18:36 +02:00