Bruno Motta
7e394e556a
test: FilterBoxItemControl ( #13753 )
...
* Tests for FilterBoxItemControl
* factory for props
* fix lint
2021-04-05 11:00:20 -07:00
Bruno Motta
555d7bbb35
test: CollectionControl ( #13656 )
...
* Tests for CollectionControl
* add role to icon
* applying factory to props
2021-04-05 10:52:24 -07:00
Michael S. Molina
35f33e8276
test: Adds storybook to Dropdown and DropdownButton components ( #13482 )
2021-04-05 10:48:59 -07:00
simcha90
e06290663a
fix(colors): fix color schemes ( #13945 )
...
* fix: fix color schemes
* fix: tests case
2021-04-04 15:53:21 +03:00
Elizabeth Thompson
abd4051f7a
catch collapse onchange ( #13927 )
2021-04-03 00:00:34 -07:00
Bruno Motta
e829aa52eb
Tests for "CrossFilterScopingModal/utils" ( #13876 )
2021-04-02 17:06:42 -07:00
David Aaron Suddjian
e640b7f0e0
chore(dashboard): Datasource -> Dataset ( #13939 )
...
* chore(dashboard): Datasource -> Dataset
* lint
* more renaming datasource -> dataset
2021-04-02 16:47:16 -07:00
Michael S. Molina
a0a00e6470
test: Adds tests to the PublishedStatus component ( #13892 )
2021-04-02 14:26:06 -07:00
AAfghahi
4187d9e4c4
fix: adjusted tab height ( #13822 )
2021-04-02 12:44:45 -04:00
Amit Miran
f6f412b4ae
chore: bump to new superset-ui version ( #13932 )
2021-04-02 18:27:10 +03:00
Jesse Yang
65940770ac
feat(explore): adhoc column formatting for Table chart ( #13758 )
2021-04-01 23:28:42 -07:00
Michael S. Molina
a1442497d4
test: Fixes PropertiesModal_spec ( #13548 )
2021-04-01 11:42:14 -07:00
Michael S. Molina
42c7e2cae6
test: Adds tests to dnd controls ( #13650 )
2021-04-01 09:11:33 -07:00
Michael S. Molina
bb677b8ef1
test: Adds tests to the AnnotationLayer component ( #13748 )
2021-04-01 09:10:42 -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
Geido
a5c4db3aee
Add tests ( #13778 )
2021-03-31 23:08:56 -07:00
Bruno Motta
1dbc1496b2
test: DisplayQueryButton ( #13750 )
...
* Tests for DisplayQueryButton component
* add factories to props and fetch-mock
* Update superset-frontend/src/explore/components/DisplayQueryButton/DisplayQueryButton.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/explore/components/DisplayQueryButton/DisplayQueryButton.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2021-03-31 23:08:20 -07:00
Evan Rusackas
a7f48c6599
Fixing condition around left margin for dashboard layout. Fixes #13863 ( #13905 )
2021-03-31 21:32:46 -07:00
Erik Ritter
5315d2cc2d
Revert "fix: select table overlay ( #13694 )" ( #13901 )
...
This reverts commit b247279ffe
.
2021-03-31 18:47:38 -07:00
Michael S. Molina
6fd62e3f7e
test: Adds tests to the OptionControls component ( #13729 )
2021-03-31 18:07:22 -07:00
Bruno Motta
ec5d2f5f32
test: DatasourceControl ( #13605 )
...
* Tests for DatasourceControl
* fix: lint error
* Update superset-frontend/src/explore/components/controls/DatasourceControl/DatasourceControl.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/explore/components/controls/DatasourceControl/DatasourceControl.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/explore/components/controls/DatasourceControl/DatasourceControl.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Remove error comment
* replace component data-test
* factory to props
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2021-03-31 17:52:45 -07:00
Bruno Motta
9fd297f636
tests for function handleScroll ( #13896 )
2021-03-31 17:49:43 -07:00
Michael S. Molina
28fe6e0ef1
test: Adds tests to the CustomFrame component ( #13675 )
...
* test: Adds tests to the CustomFrame component
* Replaces full path with relative path
2021-03-31 15:53:07 -07:00
Michael S. Molina
7ae80e9d66
test: Adds tests to the AdvancedFrame component ( #13664 )
...
* test: Adds tests to AdvancedFrame component
* Replaces full path with relative path
2021-03-31 15:52:03 -07:00
Bruno Motta
1252fd700e
test: DataTableControl ( #13668 )
...
* Tests for DataTableControl
* Update superset-frontend/src/explore/components/DataTableControl/RowCount.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/explore/components/DataTableControl/RowCount.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2021-03-31 15:45:30 -07:00
Michael S. Molina
8ddcba82e0
chore: Removes Select duplication ( #13477 )
2021-03-31 15:42:14 -07:00
Michael S. Molina
9d6832dc27
test: Adds tests and storybook to CertifiedIcon component ( #13457 )
2021-03-30 14:31:35 -07:00
Michael S. Molina
3c4591ef15
chore: Moves CheckboxIcons to Checkbox folder ( #13459 )
2021-03-30 13:55:10 -07:00
Michael S. Molina
6fe4cc0c51
chore: Removes Popover duplication ( #13462 )
2021-03-30 13:54:53 -07:00
Beto Dealmeida
ce2760edf7
fix: allow spaces in DB names ( #13800 )
2021-03-30 10:12:10 -07:00
Jack Fragassi
304e3b36eb
feat(alerts & reports): Easier to read execution logs ( #13752 )
...
* Prep for migration
* Migration for execution id column
* Generate execution ids for alerts and reports
* Change execution id range
* Add execution id to API endpoint
* Add execution id to execution log view
* Change execution id range
* Change execution id to a uuid
* Fix execution id type
* Switch state and exec. id columns
* Change db column to UUIDType
* Python lint
* Fix failing frontend tests
* execution_id -> uuid
* Fix migration head
* lint
* Use celery task id as the execution id
* lint
* lint for real
* Fix tests
2021-03-30 08:46:16 -07:00
Michael S. Molina
4ae9b819d3
fix: Disallows negative options remaining ( #13749 )
2021-03-30 08:34:12 -07:00
Ville Brofeldt
3394421fa8
fix(native-filters): add global async query support to native filters ( #13837 )
...
* fix(native-filters): improve loading styles for filter component
* round up fractional grid unit
* fix(native-filters): add support for global async queries
* move form item out of default value component
* move default value hook declaration to form
* delete LoadingBox
2021-03-30 07:50:52 +03:00
Michael S. Molina
ac43f4c491
Displays row limit warning with Alert component ( #13854 )
2021-03-29 17:04:33 -07:00
Jack Fragassi
33f7845010
fix(alerts and reports): Unify timestamp format on execution log view ( #13718 )
...
* Unify timestamp format on execution log view
* Fix lint
2021-03-29 13:30:19 -07:00
zuzana-vej
467848d8f7
fix(sqllab): warning message when rows limited ( #13841 )
2021-03-29 10:47:51 -07:00
Ville Brofeldt
9fa52b50ed
fix(native-filters): improve loading styles for filter component ( #13794 )
...
* fix(native-filters): improve loading styles for filter component
* round up fractional grid unit
* remove LoadingBox
2021-03-29 10:23:01 +03:00
cccs-jc
24f805ebc4
feat: added support to configure the default explorer viz ( #13610 )
...
* added support to configure the default explorer viz
* code review fix
* lint
Co-authored-by: cccs-jc <cccs-jc@cyber.gc.ca>
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-03-26 15:27:36 -07:00
David Aaron Suddjian
db1d598f50
fix(cypress): avoid referencing detached dom nodes ( #13825 )
2021-03-26 14:46:31 -07:00
David Aaron Suddjian
a45a5e1060
chore(cypress): Make the e2e tests more behavior-driven ( #13784 )
...
* chore(cypress): make the load dashboard test behavior driven
* remove bootstrap usage from controls test, + new utils
* fix save test to not use bootstrap dat
* remove bootstrap usage from the filter test
* fix race condition
* remove bootstrap from url params test
* fix lint
* remove unused const
* add chart specs for the tab test
* attempt removing bootstrap data from tabs tests
* fix cypress async/sync confusion
* remove redundant assertions
* attempt fixing tab test
* attempt fixing tabs test
* cleanup commented code
* better aliases so you can tell what they are in the logs
* remove unused imports
* get the line chart alias before clicking the tab
* simplify getChartGridComponent
* wait for all the charts before force refresh
* fix tabs test
* one more time with the tabs test
* another edit to tabs test
* fix flaky test
Co-authored-by: Phillip Kelley-Dotson <pkelleydotson@yahoo.com>
2021-03-26 09:20:13 -07:00
AAfghahi
b247279ffe
fix: select table overlay ( #13694 )
2021-03-26 10:39:39 -04:00
AAfghahi
64f967cb2d
refactor: New schedule query button ( #13797 )
2021-03-26 09:56:59 -04:00
Michael S. Molina
be8f8d9c1f
test: Adds storybook and tests to PopoverDropdown component ( #13547 )
...
* test: Adds storybook and tests to PopoverDropdown component
* Changes to use gridUnit and theme hook
2021-03-26 05:29:03 -07:00
Bruno Motta
416f188328
test: SelectAsyncControl ( #13638 )
...
* SelectAsyncControl tests
* fix: lint error
* applying factory to props
2021-03-25 22:07:05 -07:00
Bruno Motta
2aedaaa03e
test: DatabaseSelector ( #13581 )
...
* Moving DatabaseSelector to a folder
* Tests for DatabaseSelector
* Using factory for props
* Update superset-frontend/src/components/DatabaseSelector/DatabaseSelector.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/components/DatabaseSelector/DatabaseSelector.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/components/DatabaseSelector/DatabaseSelector.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* apply waitFor and remove act
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2021-03-25 22:01:13 -07:00
Geido
930cbea2e1
test: Tests, dedicated directory and Storybook for the ProgressBar component ( #13534 )
...
* Move to own dir and add storybook
* Add tests
2021-03-25 15:44:00 -07:00
Phillip Kelley-Dotson
3e4c3bddb9
feat(homescreen and cards): Toggle thumbnails off or on and feature flag ( #13683 )
2021-03-25 13:21:04 -04:00
AAfghahi
1d5c58d005
refactor: SouthPane into functional component ( #13676 )
2021-03-24 23:00:12 -04:00
Hugh A. Miles II
71ca5aca5b
refactor: Revert "refactor: ScheduleQueryButton into functional component (#134… ( #13785 )
...
This reverts commit 2c3d9e9b1e
.
2021-03-24 22:50:59 -04:00
AAfghahi
2c3d9e9b1e
refactor: ScheduleQueryButton into functional component ( #13443 )
2021-03-24 17:46:24 -04:00
Cemre Mengu
ff0c9e93c3
feat: use cross-env when running dev-server ( #13743 )
...
* feat: use cross-env when running dev-server
* use cross-env for other inline env vars
2021-03-24 09:19:00 -07:00
Yaozong Liu
f18d14a51a
fix(explore): make horizontal scroll appears in data panel ( #13566 )
...
* fix(explore): make horizontal scroll appear
* fix(explore): 34px -> 33px
* fix(lint): dataTablesPane lint
* fix(lint): prettier dataTablesPane
* fix(explore): use gridUnit rather than hardcode
Co-authored-by: liuyaozong <liuyaozong@baijiahulian.com>
2021-03-24 17:47:57 +02:00
Bruno Motta
fd7c9eb71e
test: DatasourcePanelDragWrapper ( #13627 )
...
* Tests for DatasourcePanelDragWrapper
* Absolute import path
2021-03-23 09:54:06 -07:00
Rob DiCiuccio
452b53092b
feat: Refactor asyncEvent middleware and add websocket support ( #13696 )
2021-03-23 07:23:23 -07:00
Phillip Kelley-Dotson
bbc306c64f
chore(homepage): separate out api calls to make homepage load more dynamically ( #13500 )
...
* separate out api calls
* add new loading states
* remove consoles
* update tests
* fix types and lint
* make code more robust and add test
* address comments
* address comments
* fix lint
2021-03-22 15:10:42 -07:00
simcha90
aa92c1e7eb
refactor(native-filters): refactor filter bar ( #13723 )
...
* fix: fix removeing native filter
* fix: fix native-cross filters
* fix: fix native-cross filters
* fix: fix native-cross filters
* fix: fix function declaration
* refactor: before pull
* refactor: refactor filter bar
* chore: add lic
* lint: fix lint
2021-03-22 17:03:44 +02:00
Ville Brofeldt
1a67f1564c
fix(cross-filters): only apply filters if ff is set ( #13704 )
...
* fix(cross-filters): only apply filters if ff is set
* fix missing parent
2021-03-20 10:56:02 +02:00
Grace Guo
fa072cd74e
fix: dashboard filter scope bug ( #13695 )
...
* fix: dashboard filter scope bug
* fix comments
* fix function/variables name
2021-03-19 10:39:09 -07:00
Ville Brofeldt
87d1afcc65
fix(cross-filters): expand relevant indicator sections ( #13703 )
2021-03-19 11:52:03 +02:00
Bruno Motta
375ded92ef
test: usePrevious hook ( #13554 )
2021-03-18 18:30:50 -07:00
AAfghahi
ebd4a917f7
refactor: Share sql lab query ( #13630 )
2021-03-18 17:07:24 -04:00
AAfghahi
df9352f2b4
fix: data column in SQL lab left panel open by default ( #13624 )
...
* fix table expand
* Left Panel Expand
* added tests
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2021-03-18 13:28:24 -07:00
simcha90
7e6beb5ebf
fix(native-filters): fix removing native filter ( #13688 )
...
* fix: fix removeing native filter
* fix: fix native-cross filters
* fix: fix native-cross filters
* fix: fix native-cross filters
* fix: fix function declaration
2021-03-18 21:11:50 +02:00
Bruno Motta
e6c5bf4d54
test: useChangeEffect ( #13555 )
2021-03-18 11:50:50 -07:00
Elizabeth Thompson
b97bbed2a9
fix: allow option to generate new query ( #13488 )
2021-03-18 14:42:31 -04:00
Ville Brofeldt
ecfcaea803
fix(dashboard): missing parents in directPathToFilter ( #13691 )
2021-03-18 19:43:41 +02:00
Ville Brofeldt
81b64204c7
fix(cross-filters): add a control panel to range filter ( #13692 )
2021-03-18 19:43:25 +02:00
Jesse Yang
69a5ed9a1e
fix: use FeatureFlags in @superset-ui/core ( #13679 )
2021-03-18 09:13:50 -07:00
Jesse Yang
08d0deb720
fix: clean up incorrect usage of TypeScript type in PropTypes ( #13681 )
2021-03-18 09:12:13 -07:00
simcha90
577ecc284f
feat(cross-filter): Cross filter badge ( #13687 )
2021-03-18 17:59:13 +02:00
Ville Brofeldt
13f7e0d755
feat(native-filters): add temporal support to select filter ( #13622 )
2021-03-18 16:15:43 +02:00
Erik Ritter
64785c20bd
feat: add warning metadata to tables and metrics ( #13606 )
2021-03-17 21:27:34 -07:00
Beto Dealmeida
db57f90a34
feat: better error message when adding DBs ( #13601 )
...
* WIP
* Adding tests
* Add unit tests
* Show error message
* Fix lint
* Fix after rebase
2021-03-17 20:29:26 -07:00
Yongjie Zhao
7b74eb2730
chore(explore): added debounce in DateFilter ( #13660 )
2021-03-17 09:04:50 -06:00
simcha90
0e0c99b2fb
feat(cross-filters): Add scoping for cross filters ( #13625 )
...
* feat: cross filter modal
* refactor: add charts metadata
* refactor: add charts metadata
* feat: cross filters scoping
* fix: fix CR notes
* test: fix test
* lint: fix lint
2021-03-17 14:00:32 +02:00
Maxime Beauchemin
4bdb958ce6
fix: 'Run in SQL Lab' redirect bug ( #13657 )
2021-03-16 21:47:39 -07:00
Jesse Yang
bd1d6acb0c
fix(query): order by adhoc metrics should trigger group by ( #13434 )
...
* fix(query): properly select adhoc metrics in orderby
* Throw error when sql is empty
* Allow `metrics` to be None
* Always use alias in orderby for metrics
* Bump table chart version and migrate histogram to typescript
* Fix Histogram without groupby
* Fix Presto birth names test
* Raw records mode should not aggregate
2021-03-16 21:00:03 -07:00
Dmytro Mudrov
72d19b6b35
fix(sqllab): Table name and schema are encoded twice during fetching table metadata on SQL Lab page. ( #13636 )
...
Co-authored-by: dmitry.mudrov <dmitrym.mudrov@agileengine.com>
2021-03-16 19:18:08 -07:00
Lily Kuang
21cc49509f
chore: improve modal error handling ( #13342 )
...
* improve modal error handling
* update hook to handle string error message
2021-03-16 09:33:36 -07:00
Lily Kuang
10d88726db
update test ( #13463 )
2021-03-16 09:33:17 -07:00
Lily Kuang
f2c50f62ad
fix antd select dropdown issue ( #13585 )
2021-03-16 09:32:15 -07:00
Geido
df5fb5a97c
test: Tests and dedicated directory for the SupersetResourceSelect Component ( #13508 )
...
* Refactor
* Clean up
* Add license
* Use findBy
2021-03-15 16:09:02 -07:00
Jesse Yang
868e063b03
feat: add ErrorBoundary to chart controls ( #13584 )
2021-03-15 14:44:18 -07:00
Lily Kuang
cd2f53ed7b
switch message content between chart and dashboard AlertReportModal ( #13537 )
2021-03-15 12:00:53 -07:00
ʈᵃᵢ
4de6040d89
fix(dashboard|chart): use correct url for favorite_status and change request type to rison ( #13557 )
2021-03-15 10:53:16 -06:00
simcha90
a35825de7b
feat(filter-set): Filter set edge cases ( #13576 )
...
* refactor(native-filters): move data mask to root reducer
* refactor: update rest stuff for dataMask
* refactor: add ownCrrentState to explore
* fix: fix immer reducer
* fix: merge with master
* refactor: support explore dataMask
* refactor: support explore dataMask
* docs: add comment
* refactor: remove json stringify
* fix: fix failed cases
* feat: filter bat buttons start
* fix: fix CR notes
* fix: fix cascade filters
* fix: fix CR notes
* refactor: add clear all
* fix: fix CR notes
* fix: fix CR notes
* fix: fix CR notes
* feat: buttons in filter bar
* lint: update imports
* feat: add tabs for filter sets
* feat: add buttons to filter set
* feat: first phase add filter sets
* fix: undo FF
* refactor: continue filter sets
* fix: fix CR notes
* refactor: header
* fix: fix CR notes
* fix: fix CR notes
* refactor: continue filter sets
* lint: fix lint
* refactor: continue filter sets
* fix: fix filter bar opening
* refactor: continue filter sets
* refactor: continue filter sets
* refactor: continue filter sets
* feat: filters sets history
* feat: filters sets history
* fix: filter set name
* refactor: fix expand filters case
* fix: fix CR notes
* refactor: filter sets
* refactor: filter sets
* refactor: filter sets
* refactor: filter sets
* refactor: update sets
* feat: edit filter set
* refactor: add warning icon
* fix: fix CR notes
* Update superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterSets/EditSection.tsx
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
* fix: fix CR notes
* feat: filter set edge cases
* lint: fix lint
* lint: fix TS
* refactor: fix CR notes
* fix: fix CR notes
* fix: fix CR notes
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2021-03-15 14:29:22 +02:00
Kamil Gabryjelski
ae66f5fa78
feat(explore): Drag and drop UX improvements ( #13598 )
...
* Create a metric immediately when saved metric is dropped
* Display borders around control boxes when metric or column is dragged
* Fix imports
* Display ghost button
* Rename placeholder to ghostButton
2021-03-15 12:47:13 +02:00
Elizabeth Thompson
67ffea8248
fix: always pass a string as a value to ace editor ( #13563 )
...
* always pass a string as a value to ace editor
* fix some syntax
2021-03-12 17:09:02 -08:00
AAfghahi
a0e3754173
feat: create hooks to redux component ( #13487 )
...
* created TypedSelector
* made changes
* made discussed changes
2021-03-12 11:03:56 -08:00
Yongjie Zhao
817b740f59
chore: metric refactor iteration 1 ( #13596 )
2021-03-12 23:11:05 +08:00
Yongjie Zhao
1a46f93057
chore(explore): bump superset-ui 0.17.19 ( #13593 )
2021-03-12 15:16:59 +08:00
Kamil Gabryjelski
d439da2fe0
feat: Implement drag and drop for metrics ( #13575 )
...
* Convert MetricsControl to functional component
* Implement drag and drop for metrics
* Implement customizable placeholder for DndSelectLabel
2021-03-12 12:31:17 +08:00
Jesse Yang
7656b2e68b
refactor: convert controlUtils to TypeScript (2 of 2) ( #13520 )
2021-03-11 17:19:15 -08:00
Ville Brofeldt
901acd936f
feat(native-filters): add sort option to select filter ( #13569 )
...
* feat(native-filters): add sort option to select filter
* remove from useEffect
* disable flaky cypress tests
2021-03-11 16:49:01 -08:00
Bruno Motta
fd4e5c85b2
test: CronPicker ( #13549 )
2021-03-11 16:12:08 -06:00
Bruno Motta
b5ea5d085c
test: TableCollection ( #13583 )
2021-03-11 16:08:16 -06:00
Geido
d1f6245bcd
test: Tests, dedicated directory and Storybook for the Badge component ( #13513 )
...
* Move to dir and add storybook
* Add tests
* Remove no-restricted-imports
2021-03-10 12:29:59 -08:00
Jesse Yang
b9884fb55b
fix: IS NULL
filter operator for numeric columns ( #13496 )
2021-03-10 10:15:25 -08:00
simcha90
70ccc26421
fix: fix initial filter loading ( #13546 )
2021-03-10 15:43:39 +02:00
simcha90
d509b157fd
feat(filter-set): Update existing filter set ( #13545 )
...
* refactor(native-filters): move data mask to root reducer
* refactor: update rest stuff for dataMask
* refactor: add ownCrrentState to explore
* fix: fix immer reducer
* fix: merge with master
* refactor: support explore dataMask
* refactor: support explore dataMask
* docs: add comment
* refactor: remove json stringify
* fix: fix failed cases
* feat: filter bat buttons start
* fix: fix CR notes
* fix: fix cascade filters
* fix: fix CR notes
* refactor: add clear all
* fix: fix CR notes
* fix: fix CR notes
* fix: fix CR notes
* feat: buttons in filter bar
* lint: update imports
* feat: add tabs for filter sets
* feat: add buttons to filter set
* feat: first phase add filter sets
* fix: undo FF
* refactor: continue filter sets
* fix: fix CR notes
* refactor: header
* fix: fix CR notes
* fix: fix CR notes
* refactor: continue filter sets
* lint: fix lint
* refactor: continue filter sets
* fix: fix filter bar opening
* refactor: continue filter sets
* refactor: continue filter sets
* refactor: continue filter sets
* feat: filters sets history
* feat: filters sets history
* fix: filter set name
* refactor: fix expand filters case
* fix: fix CR notes
* refactor: filter sets
* refactor: filter sets
* refactor: filter sets
* refactor: filter sets
* refactor: update sets
* feat: edit filter set
* refactor: add warning icon
* fix: fix CR notes
* Update superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterSets/EditSection.tsx
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
* fix: fix CR notes
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2021-03-10 15:43:24 +02:00
simcha90
1d1a1cdc20
feat(filter-set): Filter set history ( #13529 )
...
* refactor(native-filters): move data mask to root reducer
* refactor: update rest stuff for dataMask
* refactor: add ownCrrentState to explore
* fix: fix immer reducer
* fix: merge with master
* refactor: support explore dataMask
* refactor: support explore dataMask
* docs: add comment
* refactor: remove json stringify
* fix: fix failed cases
* feat: filter bat buttons start
* fix: fix CR notes
* fix: fix cascade filters
* fix: fix CR notes
* refactor: add clear all
* fix: fix CR notes
* fix: fix CR notes
* fix: fix CR notes
* feat: buttons in filter bar
* lint: update imports
* feat: add tabs for filter sets
* feat: add buttons to filter set
* feat: first phase add filter sets
* fix: undo FF
* refactor: continue filter sets
* fix: fix CR notes
* refactor: header
* fix: fix CR notes
* fix: fix CR notes
* refactor: continue filter sets
* lint: fix lint
* refactor: continue filter sets
* fix: fix filter bar opening
* refactor: continue filter sets
* refactor: continue filter sets
* refactor: continue filter sets
* feat: filters sets history
* feat: filters sets history
* fix: filter set name
* refactor: fix expand filters case
* fix: fix CR notes
* refactor: filter sets
* fix: fix CR notes
* refactor: filter sets
2021-03-10 11:10:47 +02:00
Michael S. Molina
fc36de2d1f
test: Adds tests and storybook to PopoverSection component ( #13438 )
...
* test: Adds storybook to PopoverSection component
* test: Adds tests and storybook to PopoverSection component
2021-03-09 12:08:10 -08:00
Michael S. Molina
f0a9dccc70
test: Adds storybook and tests to AsyncEsmComponent ( #13517 )
2021-03-09 12:01:57 -08:00
Michael S. Molina
6d2d3addc2
test: Adds storybook to AlteredSliceTag component ( #13516 )
2021-03-09 12:01:31 -08:00
Ville Brofeldt
375797f649
feat(native-filters): add timegrain and column filter ( #13484 )
...
* feat(native-filters): add timegrain and column filter
* add fetch values predicate
* bump deps
* lint
* fix test
* add python test for legacy merge
* fix default value and isInitialized to not check strict equality
* Address comments
* add FilterValue type
* address review comments
2021-03-09 17:27:46 +02:00
simcha90
9b8e2555bf
feat(filter-set): adding new filters ( #13515 )
...
* refactor(native-filters): move data mask to root reducer
* refactor: update rest stuff for dataMask
* refactor: add ownCrrentState to explore
* fix: fix immer reducer
* fix: merge with master
* refactor: support explore dataMask
* refactor: support explore dataMask
* docs: add comment
* refactor: remove json stringify
* fix: fix failed cases
* feat: filter bat buttons start
* fix: fix CR notes
* fix: fix cascade filters
* fix: fix CR notes
* refactor: add clear all
* fix: fix CR notes
* fix: fix CR notes
* fix: fix CR notes
* feat: buttons in filter bar
* lint: update imports
* feat: add tabs for filter sets
* feat: add buttons to filter set
* feat: first phase add filter sets
* fix: undo FF
* fix: fix CR notes
* fix: fix CR notes
* lint: fix lint
* fix: fix filter bar opening
* refactor: continue filter sets
2021-03-09 12:01:37 +02:00
Michael S. Molina
6e4825165a
test: Adds storybook to ConfirmStatusChange component ( #13412 )
2021-03-08 22:19:56 -08:00
simcha90
f504b7fdd6
feat(native-filters): Filter set tabs ( #13507 )
2021-03-07 16:03:48 +02:00
Kamil Gabryjelski
7b370e6f17
feat: Implement drag and drop columns for filters ( #13340 )
...
* Implement DnD feature for filters
* minor refactor
* Fix types
* Fix undefined error
* Refactor
* Fix ts errors
* Fix conflicting dnd types
* Bump superset-ui packages
* Change DndItemType case to PascalCase
* Remove redundant null check
* Fix
* Fix csrf mock api call
2021-03-07 11:54:08 +02:00
simcha90
3970d7316b
feat(native-filters): Update filter bar buttons ( #13506 )
...
* refactor(native-filters): move data mask to root reducer
* refactor: update rest stuff for dataMask
* refactor: add ownCrrentState to explore
* fix: fix immer reducer
* fix: merge with master
* refactor: support explore dataMask
* refactor: support explore dataMask
* docs: add comment
* refactor: remove json stringify
* fix: fix failed cases
* feat: filter bat buttons start
* fix: fix CR notes
* fix: fix cascade filters
* fix: fix CR notes
* refactor: add clear all
* fix: fix CR notes
* fix: fix CR notes
* fix: fix CR notes
* feat: buttons in filter bar
* lint: update imports
* test: fix tests
2021-03-07 11:27:22 +02:00
simcha90
45972e9945
refactor(native-filters): Move filtersState
to dataMask
redux root ( #13437 )
2021-03-07 09:34:12 +02:00
Michael S. Molina
d0714a0972
chore: Moves ChartIcon to own folder ( #13454 )
2021-03-05 21:23:03 -08:00
Michael S. Molina
0b213bf484
test: Adds tests and storybook to RefreshLabel ( #13409 )
2021-03-05 21:21:01 -08:00
Michael S. Molina
975dc2fe98
chore: Moves ListView test to component folder ( #13324 )
2021-03-05 20:52:12 -08:00
Michael S. Molina
095c15a1f1
chore: Moves InfoTooltip component to own folder ( #13485 )
2021-03-05 20:51:22 -08:00
Michael S. Molina
4284800cf1
test: Adds storybook to Switch component ( #13479 )
2021-03-05 20:50:01 -08:00
Michael S. Molina
c1e9287cf1
test: Adds storybook to SearchInput component ( #13410 )
...
* test: Adds storybook to SearchInput component
* Fixes placeholder text
Co-authored-by: Evan Rusackas <evan@preset.io>
Co-authored-by: Evan Rusackas <evan@preset.io>
2021-03-05 20:48:13 -08:00
Michael S. Molina
b6b7982a81
chore: Moves BootstrapSliderWrapper to own folder ( #13460 )
2021-03-05 20:46:46 -08:00
Beto Dealmeida
8d48d2e37b
fix(sqllab): per-tab hide left bar ( #13288 )
...
* fix (sqllab): per-tab hide left bar
* Load state when switching tabs
2021-03-05 11:16:11 -08:00
Erik Ritter
d2e03ab9b4
fix: Remove view in sql lab from druid datasources ( #13469 )
2021-03-04 14:54:29 -08:00
Sam Faber-Manning
0318b6d4ae
feat: Add error pages ( #13144 )
...
* add custom error pages for 404 and 500 responses
* refactor error page styles into separate template
* move error pages to superset-frontend
* fix whitespace on error pages
* refactor error pages to be generated by jinja
* generate static error pages with webpack
2021-03-04 09:58:16 -08:00
Ayan Ginet
483405fff9
chore: Migrating dashboard/components/menu from jsx to tsx ( #13361 )
...
* fix: constant icon size
* clean up
* dashboard/components/menu jsx -> tsx
* more types
* package-lock.json sync
* package-lock fix
* fix
* lint fix
* added comment about event type
2021-03-04 08:40:42 -08:00
simcha90
7f0fbb5b45
refactor: add set data mask to build query ( #13417 )
...
* refactor: add set data mask to build query
* refactor: update hooks placement
2021-03-04 10:08:37 +02:00
Yongjie Zhao
ca27b00f3a
chore: disable drag metrics and columns in datasourcePanel ( #13450 )
2021-03-04 12:21:57 +08:00
Michael S. Molina
cfc83c271c
chore: Moves TableSelector tests to component's folder ( #13411 )
2021-03-03 15:44:36 -08:00
Jesse Yang
dc1eb305b1
refactor: convert controlUtils to TypeScript (1 of 2) ( #13401 )
2021-03-03 14:51:36 -08:00
Moriah Kreeger
26e36ae484
fix: annotation layer modal err handling ( #12341 )
...
* annotation layer modal err handling
* address comments
2021-03-03 11:28:05 -08:00
AAfghahi
66a7318fa2
refactor: Query search into functional component ( #13102 )
2021-03-03 10:18:14 -05:00
AAfghahi
9c9862ff5b
feat: Added Rows Returned ( #13190 )
2021-03-03 10:17:33 -05:00
Mayur
8b38d63b7d
changes added ( #13431 )
2021-03-03 13:52:54 +02:00
simcha90
dc170397c5
feat(dashboard_rbac): manage roles for dashboard ( #13145 )
...
* feat(dashboard_rbac): manage roles for dashboard
* test: fix tests
* fix: fix empty roles
Co-authored-by: Amit Miran <47772523+amitmiran137@users.noreply.github.com>
2021-03-03 12:31:41 +02:00
Michael S. Molina
65cec1872d
chore: Removes unused Hotkeys component ( #13408 )
2021-03-02 16:46:51 -08:00
Michael S. Molina
327e9b05c0
test: Adds storybook to FormRow component ( #13407 )
2021-03-02 16:41:53 -08:00
Michael S. Molina
51f05ea257
test: Adds storybook to AnchorLink component ( #13406 )
2021-03-02 16:39:04 -08:00
Michael S. Molina
c3e19b2cf1
test: Adds storybook to IconTooltip component ( #13415 )
2021-03-02 16:36:40 -08:00
Michael S. Molina
45aa812cb0
test: Adds storybook to EditableTitle component ( #13362 )
2021-03-02 16:35:52 -08:00
Michael S. Molina
e9d5d3b137
Adds tests and storybook to CopyToClipboard component ( #13359 )
2021-03-02 16:34:55 -08:00
Geido
7d270bced6
test: ErrorMessage components tests ( #13358 )
...
* Add tests for ErrorAlert
* Add BasicErrorAlert tests
* Add DatabaseErrorMessage tests
* Add useRedux property
* Finalize DatabaseErrorMessage tests
* Add ErrorMessageWithStackTrace tests
* Move getErrorMessageComponentRegistry test to dedicated directory
* Clean up getErrorMessageComponentRegistry
* Add IssueCode tests
* Add tests for ParameterErrorMessage
* Add tests for TimeoutErrorMessage
* Fix linting issue
2021-03-02 16:34:10 -08:00
Jesse Yang
f2616294e6
chore: convert chartReducer to TypeScript ( #13374 )
2021-03-02 15:58:30 -08:00
simcha90
f19a830d9b
refactor(self-trigger): Split native filters state ( #13137 )
...
* feat: add cross filters
* refactor: fix CR notes
* lint: fix lint
* lint: fix lint
* feat: POC adding filters set feature
* chore: pre-commit
* refactor: under chage
* lint: fix TS
* fix: fix FF name
* refactor: move to behaviors
* lint: fix lint
* refactor: update state of native filters
* refactor: finish refactor nativeFilter state
* feat: split native filters state
* refactor: refactor Time filter to use new API
* refactor: refactor Time filter to use new API
* refactor: fix CR notes
* fix: fix update values in filter bar
* refactor: save filter sets in meta
* feat(filter-sets): save filters sets in metadata
* refactor: partially fix ts
* refactor: merge conflicts
* refactor: add behaviors property
* refactor: add behaviors property
* fix: undo py changes
* fix: under some changes
* refactor: synx with master
* fix: undo FF
* fix: undo FF
* lint: ts-ignore
* chore: update lock file
* refactor: update enum
* refactor: naming of enum
* test: fix test
* test: update mocks
Co-authored-by: amitmiran137 <amit.miran@nielsen.com>
2021-03-02 09:03:26 +02: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
Elizabeth Thompson
391d909d1e
npm audit security updates ( #13367 )
2021-03-01 23:51:23 +02:00
Michael S. Molina
fd5ce35728
test: Adds storybook to Timer component ( #13343 )
2021-03-01 12:55:10 -08:00
Michael S. Molina
19c8a62254
chore: Moves OnPasteSelect tests to component's folder ( #13338 )
2021-03-01 12:54:18 -08:00
Michael S. Molina
f91b4388ba
chore: Moves FilterableTable test to component folder ( #13322 )
2021-03-01 12:53:17 -08:00
Geido
5811e3f1ee
test: ErrorBoundary dedicated directory and tests ( #13276 )
...
* Add tests for ErrorBoundary
* Remove original ErrorBoundary file
* Prefer absolute path
2021-03-01 12:05:24 -08:00
Michael S. Molina
a36c8336ec
chore: Migrates RefreshChartOverlay into Chart ( #13274 )
...
* Migrates RefreshChartOverlay into Chart
* Removes unused Chart width prop
2021-03-01 12:04:16 -08:00
Michael S. Molina
6028a691b7
Improves ButtonGroup tests ( #13273 )
2021-03-01 11:57:33 -08:00
Geido
36fda5e840
test: FormLabel dedicated directory and tests ( #13270 )
...
* Form label directory and tests
* Fix linting
* Remove unnecessary data-test-id
2021-03-01 10:28:32 -08:00
Jesse Yang
3c62069bbb
refactor(explore): convert ControlPanelsContainer to typescript ( #13221 )
2021-02-28 10:10:15 -08:00