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
John Bodley
694ae6f90e
fix(query-object): extra time-range-endpoints ( #13331 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2021-03-03 13:22:07 +13:00
Jesse Yang
f2616294e6
chore: convert chartReducer to TypeScript ( #13374 )
2021-03-02 15:58:30 -08:00
Ville Brofeldt
70e12ed27d
chore: bump pyarrow and pandas ( #12882 )
...
* bump pyarrow and pandas
* remove df copy
2021-03-02 19:44:53 +02:00
İbrahim Ercan
b04aebfa99
fix(alerts&reports): Alerts & Reports will use values from WEBDRIVER_WINDOW option ( #13157 )
...
* fix: thumbnails and reports will be use WEBDRIVER_WINDOW option
* changes reformatted
* config change reverted. thumbnails sizes changed to original
* typo fix
* bugfix
defining defaults in thumbnails.py caused thumbnail caches invalidated.
they moved to init.
Co-authored-by: Ibrahim Ercan <ibrahim.ercan@vlmedia.com.tr>
2021-03-02 10:49:22 +00: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
Jesse Yang
8f09c62c17
build: fix codecov informational config ( #13375 )
2021-03-01 11:39:40 -08:00
Beto Dealmeida
08183dfe57
feat: add unit test for LimitMethod.FETCH_MANY ( #13364 )
2021-03-01 10:55:37 -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
Beto Dealmeida
892eef1af6
feat: add Firebird DB engine spec ( #13353 )
...
* feat: add Firebird DB engine spec
* Add dep to setup.py
* Fix lint
* Add tests
* Remove uneeded code
* Fix old bug
2021-02-26 12:07:27 -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
leocape
1697e1e3b1
chore: update docs for new alerts and reporting feature ( #13104 )
...
* update docs for new alerts and reporting feature
* fix punctuation
* fix punctuation
* fix punctuation
fix bullets
fix redis depends on name in docker-compose template
* fix bullets
* Add extra steps for getting v1.0.1 running
step added: Upgrade the db
step added: init
step added: setup admin
fix redis superset naming
add . to docker build command
* fix worker to use gevent instead of prefork
change postgres to internal so it persists on docker-compose down
* add comments to superset_config.py
* ref: Re-organize a bit and make it easier to read
* ref: rm useless level
* docs: md changes + more details + kubernetes
* docs: Rename to Alerts and Reports
* docs: Link to Kubernetes doc
* docs: details for docker-compose + minor md changes
* docs: fix lists indent
* docs: remove unused config
* docs: Put detailed config and dockerfile before specific stuff
* docs: clean Dockerfiles
Co-authored-by: Valentin NOURDIN <vnourdin.externe@bedrockstreaming.com>
2021-02-26 10:19:08 -05: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
Liam
f756518a9e
chore: Update OAuth2 configuration guide to match with FlaskAppBuilder ( #13332 )
...
* Change helm requirement to bitnami charts
* chore: Fix OAuth2 Configuration to match FAB version
Co-authored-by: Liam <luyen.nv@teko.vn>
2021-02-26 07:05:31 +02: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
Michael S. Molina
72721845e1
test: Adds tests to URLShortLinkButton component ( #13319 )
2021-02-25 10:59:36 -08:00
Bruno Motta
8395b3d6c8
test: Tests for DeleteModal component ( #13286 )
...
* tests for DeleteModal component
* fix: test attribute
* removing config from DeleteModal.test.tsx
* re-run tests
* Update superset-frontend/src/components/DeleteModal/DeleteModal.test.tsx
Co-authored-by: Jesse Yang <jesse.yang@airbnb.com>
* Update superset-frontend/src/components/DeleteModal/DeleteModal.test.tsx
Co-authored-by: Jesse Yang <jesse.yang@airbnb.com>
* Update superset-frontend/src/components/DeleteModal/DeleteModal.test.tsx
Co-authored-by: Jesse Yang <jesse.yang@airbnb.com>
* Update superset-frontend/src/components/DeleteModal/DeleteModal.test.tsx
Co-authored-by: Jesse Yang <jesse.yang@airbnb.com>
Co-authored-by: Jesse Yang <jesse.yang@airbnb.com>
2021-02-25 10:56:07 -08:00
AAfghahi
776685736c
sql Lab buttons ( #13174 )
2021-02-25 09:51:48 -08:00
Jesse Yang
d39bc14a0b
test: optimize codecov config ( #13329 )
...
* test: optimize codecov config to let GitHub checks always pass
* Run tests on workflow changes, too
2021-02-25 05:22:34 -08:00
Yongjie Zhao
94d0bb9e7f
fix: date picker support date unit with singular and plural ( #13330 )
...
* fix: date picker support date unit with singular and plural
* fix grammar
2021-02-25 17:38:23 +08:00
Rob DiCiuccio
970e473d10
Use redis:latest in docker-compose workflow ( #13323 )
2021-02-25 00:36:19 -08:00
Geido
8ab45c90cc
refactor: New Icon system with Enhanced Antd Custom Icon ( #12229 )
...
* Enhance custom icon
* Minor fix
* Move DashboardList icon trash icon to enhanced
* Enhance trash icon on lists
* Enhance actions icons card view
* Add storybook entry for custom icons
* Test delete button
* Remove commented line
* Fix linting issue
* Enhance Antd icons
* Enhance existing icons up to BoltSmallRunIcon
* Remove unused import
* Import/Exports all icons from index
* Export all existing icons
* Implement more enhanced icons
* Add data-id on edit buttons
* Fix lint issue
* Inherit color
* Apply original color to actions
* Fix linting issue
* Fix typo
* Change ModeHoriz to MoreHoriz
2021-02-24 19:36:40 -08:00
Daniel Vaz Gaspar
0b114fcbc5
feat(reports): send notification on error with grace ( #13135 )
...
* fix: add config to disable dataset ownership on the old api
* fix CI docker build
* fix logic
* add deprecation comment on the config
* feat: send alerts reports errors to recipients
* update
* feat(reports): send notification on error with grace
* merge and revert config
* fix lint and MySQL test
* fix mysql tests
2021-02-24 13:31:31 -08:00
Rob DiCiuccio
27f7d1157f
build: Ephemeral environments for PRs via slash command ( #13189 )
...
* First pass at ephemeral env, new Docker ci target
* Add service checks, get public IP
* Separate issue_comment and workflow_run jobs
* Refactor workflows
* Adjust comment author association
* Checkout code
* Fix image name, manage service desired task count
* Use merge commit sha
* Fix IP output, add failure comment
* Refactor comment parsing & env spinup
* Check container image publish status
* Parse AWS account ID from registry URL
* Use PR number rather than variable merge commit SHA for image tag
* Fix docker push conditional
* Push multiple tags to ECR
* Fix comment author check
* Refactor comment body check
* Provision service with active task to get correct IP
* /testenv up
* Add @mentions to PR comments, env var cleanup
2021-02-24 10:50:52 -08:00
Amit Miran
29d6420ecc
fix: exception when saving dash ( #13300 )
...
* fix: project None value
* fix: pre-commit
2021-02-24 12:08:28 +02:00
Ville Brofeldt
0a00153375
feat(chart-data): add rowcount, timegrain and column result types ( #13271 )
...
* feat(chart-data): add rowcount, timegrain and column result types
* break out actions from query_context
* rename module
2021-02-24 07:43:47 +02:00
Mayur
6954114f84
feat: add Echarts Graph chart ( #13111 )
...
* update preset file
* migration added
* bug fix
* lint
* Update superset/migrations/versions/1412ec1e5a7b_legacy_force_directed_to_echart.py
Co-authored-by: Jesse Yang <jesse.yang@airbnb.com>
* version bump
* bummp dependency
* add package.lock
* merge migrations
* add integration test
* lint
* remove unnecessary params from test
* check key existance in migrations
* test to typescript
* Update graph.test.ts
* fix migration downstream head
* Upgrade to lockfileversion 2
Co-authored-by: Jesse Yang <jesse.yang@airbnb.com>
2021-02-23 16:47:20 -08:00
Bruno Motta
8ef52babfe
fix(test): change data-test-id to data-test in FlashProvider ( #13304 )
2021-02-23 13:20:09 -08:00
Đặng Minh Dũng
e8114be99a
docs: Connecting to Trino Databases ( #13171 )
...
* feat: add trino logo
Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
* chores: update image links in README.md
Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
* docs: add Trino Connecting to Databases doc
Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
2021-02-23 14:32:21 -05:00
Pablo Rodriguez Bertorello
3fbd44ecce
chore: update instructions for Pinot in connecting to databases ( #12238 )
...
* Update index.mdx
Pinot connection fix
* Update index.mdx
2021-02-23 14:08:53 -05: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
ʈᵃᵢ
75677f42bc
fix(listview): preserve bulk selections when view mode is changed ( #13284 )
2021-02-23 11:17:31 -06:00