Commit Graph

1158 Commits

Author SHA1 Message Date
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
Bruno Motta
f706e6e7a2
test: Tests for OmniContainer (#13305) 2021-02-26 11:21:51 -08:00
Rob DiCiuccio
b4ca39ceeb
fix(celery): Reset DB connection pools for forked worker processes (#13350)
* Reset sqlalchemy connection pool on celery process fork

* Fix race condition with async chart loading state

* pylint: ignore

* prettier
2021-02-26 08:05:40 -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
Bruno Motta
f9fc85453e
test: Pagination component (#13277)
* Moving Pagination.tsx to the Pagination folder and splitting components into diferent files

* Tests for Pagination components

* replace fireEvent for user-event

* Fix: Pagination references

* Rename PaginationButtonProps file

* Exchanging render imports

* pagination with attribute components

* switch "PaginationButtonProps.ts" to "types.ts"

* remove "Pagination.PaginationWrapper" from ListViewPagination.tsx

* fix: removing PaginationWrapper from tests

* removing data-test-id

* update PaginationProps
2021-02-25 22:36:54 -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
Bruno Motta
45cca3a945
test: CacheLabel (#13318)
* add HTMLAttributes on Label Component

* Split TooltipContent

* moving "CacheLabel.jsx" to "CacheLabel" folder

* remove "data-test-id"

* Fix timestamp name

* removing unused file
2021-02-25 15:48:34 -08:00
Bruno Motta
abfd3734cf
test: tests for component FaveStar (#13320)
* test for FaveStar

* removing comment
2021-02-25 15:47:28 -08:00
Evan Rusackas
33bec57619
chore: migrating some LESS (#13296) 2021-02-25 15:44:58 -08:00
David Aaron Suddjian
e11d0cbf44
refactor: Introduce api resource hooks, fetch owners for chart errors (#13218)
* refactor: introduce api resource hooks, fix error owners

* comment

* vestigial comment

* not a function

* clarification

* vestigial comment

* filter the api for a leaner response

* reorganize code, add resource hook catalog

* better names

* implement state management in redux

* Revert "implement state management in redux"

This reverts commit d64d50a99f.

* add tests for hooks
2021-02-25 14:41:35 -08:00