Erik Ritter
d2e03ab9b4
fix: Remove view in sql lab from druid datasources ( #13469 )
2021-03-04 14:54:29 -08:00
Michael S. Molina
cfc83c271c
chore: Moves TableSelector tests to component's folder ( #13411 )
2021-03-03 15:44:36 -08:00
AAfghahi
66a7318fa2
refactor: Query search into functional component ( #13102 )
2021-03-03 10:18:14 -05: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
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
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
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
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
cd3f5214fa
test: Adds tests to TableLoader component ( #13299 )
2021-02-25 17:23:47 -08:00
Michael S. Molina
7055c05218
Moves AsyncSelect component and tests to own folder ( #13314 )
2021-02-25 16:00:35 -08:00
Geido
f3f37b0229
test: Menu component tests ( #13302 )
...
* Add tests for the Menu component
* Clean up and add NewMenu - SubMenu tests
* Remove obsolete SubMenu test
* Add LanguagePicker tests
2021-02-25 15:51:26 -08:00
Michael S. Molina
72721845e1
test: Adds tests to URLShortLinkButton component ( #13319 )
2021-02-25 10:59:36 -08:00
Michael S. Molina
9a05d6afe5
Migrates Collapse component from Bootstrap to AntD ( #12920 )
2021-02-23 10:24:08 -08:00
Jesse Yang
e4a0233181
test: use data-test for testIdAttribute ( #13292 )
2021-02-23 11:43:35 -06:00
Moriah Kreeger
fc180ab2a6
fix: add alert report timeout limits ( #12926 )
...
* prevent working timeout and grace period from being set to negative numbers
* add extra validation
* lint
* fix black
* fix isort
* add js tests
* fix lint + more python schema validation
* add report schema test for timeout limits
* add extra test for null grace period
2021-02-22 11:12:10 -08:00
Michael S. Molina
741219e84d
test: add Tests and Storybook for AsyncAceEditor ( #13241 )
2021-02-22 11:06:23 -08:00
simcha90
9b5e66b728
refactor(native-filters): Refactor filters config modal module ( #13268 )
...
* refactor(native-filters): Refactor filters config modal module
* fix: fix import
* lint: fix import
2021-02-22 09:23:38 +02:00
Michael S. Molina
42ab57850d
Migrate Bootstrap Alert to AntD ( #12101 ) ( #12122 )
2021-02-21 20:50:18 -08:00
Michael S. Molina
7ee8d114d2
fix: SqlEditor_spec tests ( #13186 )
2021-02-21 20:49:51 -08:00
Lily Kuang
d8bd8ec896
fix(alert/report): alert modal loading dropdown options ( #13222 )
...
* alert modal loading
* add ui test
2021-02-22 01:59:33 +00:00
Geido
63e4e8a62b
test: Tests and Storybook entry for the ModalTriggerComponent ( #13213 )
...
* Kickstart tests
* Finalize tests
* Add storybook entry
* Remove unnecessary args types
2021-02-18 10:53:50 -08:00
Geido
409fc83ca9
chore: Tab title to be empty when creating a new tab ( #12773 )
...
* Remove unwanted package lock
* Edit on new and autofocus
* Update test
* Remove autofocus
2021-02-18 10:14:59 -08:00
Michael S. Molina
9335b9c983
Migrates DropdownButton component from Bootstrap to AntD ( #13002 )
2021-02-18 10:14:21 -08:00
Hugh A. Miles II
3c58fc5ef5
feat: Move SQLAlchemy url reference to config ( #13182 )
2021-02-18 12:42:15 -05:00
simcha90
2ff8741248
feat(filter-sets): Saving filter sets in metadata ( #13205 )
...
* feat: POC adding filters set feature
* lint: fix TS
* fix: fix FF name
* 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
2021-02-18 15:43:10 +02: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
simcha90
5cbe2ac760
feat(filters-set): basic implementation for managing user filter sets ( #13031 )
...
* feat: POC adding filters set feature
* lint: fix TS
* fix: fix FF name
* refactor: fix CR notes
* fix: fix update values in filter bar
2021-02-17 21:06:12 +02:00
Lily Kuang
e1bb7f4364
fix(alert/report): bulk select mode should be deactivated ( #12977 )
...
* close bulk delete when switch between alert and report
* update test for alert/report list
2021-02-17 09:45:00 -08:00
David Aaron Suddjian
189aced320
refactor: remove deprecated chart.edit_url field from frontend usage ( #13142 )
2021-02-16 19:54:43 -08:00
ʈᵃᵢ
c787f46f10
perf: add lazy loading along react-router routes and router links in menu ( #13087 )
2021-02-16 14:48:35 -08:00
Lily Kuang
f10dbbe0ac
fix(alert/report): add/edit modal issue ( #12955 )
...
* fix alert modal
* add test for edit modal
2021-02-16 11:18:39 -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
simcha90
5aa38ef929
feat(native-filters): enable filter indicator and make datasource optional ( #13148 )
...
* refactor: continue decouple native filters
* refactor(native-filters): decouple native filter parms from config modal
* lint: fix TS errors
* lint: fix TS errors
* refactor: update filter badge
* refactor: rename ant filters
* test: fix tests
* test: fix tests
* refactor: remove 18 from dataset
2021-02-16 16:12:35 +02:00
Jesse Yang
613945a200
fix(FilterBox): treat empty defaultValues as null ( #13109 )
...
* fix(FilterBox): treat empty defaultValues as null
* Add a unit test and move constant around
2021-02-15 08:35:47 -08:00
simcha90
2010e64c94
refactor(native-filters): decouple params from filter config modal (first phase) ( #13021 )
...
* refactor: decouple params from filter config modal (first phase)
* refactor: remove unnecessary fields
* refactor: fix CR notes
* fix: fix controlValues
* refactor: fix Cr notes
Co-authored-by: amitmiran137 <amit.miran@nielsen.com>
2021-02-14 10:38:15 +02:00
simcha90
dae1258903
feat(native-filters): add storybook entry for select filter ( #13005 )
...
* refactor: update native filters ignores
* refactor: use behaviour variable
* refactor: move story for Filter select
* chore: update dependencies
* lint: fix lint
* remove unnecessary changes
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-02-13 13:11:18 +02:00
simcha90
956f276e70
feat(cross-filters): add cross filters ( #12662 )
...
* feat: add cross filters
* refactor: fix CR notes
* lint: fix lint
* lint: fix lint
* chore: pre-commit
* refactor: under chage
* refactor: move to behaviors
* lint: fix lint
Co-authored-by: amitmiran137 <amit.miran@nielsen.com>
2021-02-12 09:58:19 +02: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
simcha90
c440d98fad
refactor(native-filters): refactor code of native filters ( #12889 )
...
* refactor(native-filters): refactor code of native filters
* refactor: update refactor dependencies
* refactor: update refactor dependencies
* lint: fix lint
* fix: merge with master
* chore: fix selector
2021-02-08 13:26:58 +02:00