Jinghuayao
981f09b5db
test(native filter): add new native filter test ( #19115 )
...
* add new native filter test
2022-03-15 08:16:06 -07:00
Michael S. Molina
06e1e4285e
feat: Adds support to multiple dependencies to the native filters ( #18793 )
...
* chore(native-filters): Remove cascading popovers from filter bar
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2022-03-04 13:06:10 -03:00
John Bodley
26486d01c1
chore: Remove legacy SIP-15 interim logic/flags ( #18936 )
...
* chore: Remove legacy SIP-15 logic
* Update ab9a9d86e695_deprecate_time_range_endpoints.py
* Update UPDATING.md
* Update UPDATING.md
* Update UPDATING.md
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-03-04 09:15:36 +13:00
Jesse Yang
5a8eb09afb
feat: remove loading indicator when typing in select ( #18799 )
2022-03-03 09:40:49 -08:00
Jinghuayao
2bd8d3b349
test(Native Filter): User can create parent filters using "Filter is hierarchical ( #18915 )
...
* add new native test for parent filter
2022-02-25 00:27:26 -08:00
Jinghuayao
0af671fa25
test(native filter): add new native filter test for time column filter ( #18850 )
...
* add new native filter test for time column filter
2022-02-24 10:24:14 -08:00
Michael S. Molina
48a80950de
feat: Improve state key generation for dashboards and charts ( #18576 )
...
* feat: Improve state key generation for dashboards and charts
2022-02-14 17:09:06 -03:00
Jinghuayao
e44163ef55
test(Native filter): add cypress test user can add time grain filter ( #18669 )
...
* add new test time grain filter
2022-02-11 08:12:24 -08:00
Jinghuayao
7670f3a208
test(native filter): add test for time range filter ( #18647 )
...
* add native filter test for time range filter
2022-02-10 08:08:24 -08:00
Michael S. Molina
fdf57cc22a
chore: Rename and reposition native filter modal fields ( #18558 )
...
* chore: Rename and reposition native filter modal fields
* Fixes collapse initial state
* Changes the button to sentence case
2022-02-08 16:36:40 -03:00
Phillip Kelley-Dotson
cfd851aa13
fix: replace datamask with key from new key value api ( #17680 )
...
* afirst stage to ccheck to get initial datamask
* clean up code and update typescript
* remove consoles
* fix ts and update copy dashboard url
* use key when one doesn't exists
* lint clean up
* fix errors
* add suggested changes
* remove line
* add tests and add changes for copydashboard
* fix lint
* fix lint
* fix lint
* Update superset-frontend/src/dashboard/components/Header/index.jsx
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
* add timeout
* fix test
* fix test, add qs to cypress and add suggestions
* add suggestions
* fix lint
* more suggested changes for backwards comapat
* fix lint
* cleanup naming and add qs parse to tests
* Update superset-frontend/src/dashboard/components/menu/ShareMenuItems/index.tsx
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
* Update superset-frontend/src/dashboard/components/menu/ShareMenuItems/index.tsx
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
* more changes and fix lint
* remove nativefiler param
* fix path
* remove con
* simplify logic
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2021-12-21 09:08:48 -08:00
Geido
dad8c20af7
fix(Dashboard): Copy dashboard with duplicating charts 500 error ( #17707 )
...
* Fix copy dashboard with charts
* Fix Cypress test
2021-12-09 16:25:01 -07:00
Geido
12bd1fcde5
fix: Save properties after applying changes in Dashboard ( #17570 )
...
* Refactor PropertiesModal
* Update json_metadata fully
* Clean up
* Verify values
* Catch changed to metadata
* Always updated dashboard info on update
* Avoid unnecessary fetches
* Formt
* Fix copy dashboards
* Fixes onUpdate onCopy handlers
* Pylint
* Update tests
* Clean up
* Handle data on show
* Change Save to Apply
* Update Cypress save test
* Update Cypress edit prop test
* Update PropertiesModal test
* Fix duplicate request with cross filters
* Improve code style
* Fix typo
* Lint
2021-12-09 10:03:07 -07:00
Geido
8963cca265
Revert "fix(Dashboard): Only apply changes when editing properties ( #17392 )" ( #17618 )
...
This reverts commit 0712be4c12
.
2021-12-01 11:35:55 -07:00
jinghua-qa
1e2c83419c
test: add native filter default value e2e ( #17398 )
...
* add native filter default value e2e test
* fix lint
* remove unnecessary check
2021-11-16 18:54:08 +02:00
Geido
0712be4c12
fix(Dashboard): Only apply changes when editing properties ( #17392 )
...
* Apply only
* Test apply button
* Update Cypress
* Rename test
2021-11-12 19:34:21 +02:00
jinghua-qa
ab1fcf3068
test: add native filter e2e test part3 ( #17343 )
...
* add 2 stable test
* fix lint
2021-11-05 22:32:27 +08:00
Geido
59a6502efe
fix: Color consistency ( #17089 )
...
* Update label colors on the fly
* Clean up
* Improve getFormDataWithExtraFilters
* Improve code structure
* Remove labelColors from formData
* Exclude label_colors from URL
* Refactor color scheme implementation
* Clean up
* Refactor and simplify
* Fix lint
* Remove unnecessary ColorMapControl
* Lint
* Give json color scheme precedence
* Add label_colors prop in metadata
* Separate owners and dashboard meta requests
* Remove label_colors control
* bump superset-ui 0.18.19
* Fix end of file
* Update tests
* Fix lint
* Update Cypress
* Update setColorScheme method
* Use Antd modal body
2021-11-03 19:22:38 +02:00
jinghua-qa
abf24bbb5d
test: add native filter part2 ( #17283 )
...
* add native filter part2
* fix lint
* remove unused code
* fix lint after modified
2021-11-01 11:36:47 -03:00
jinghua-qa
9ef9adfd78
test: added some sanity test for native filter ( #17231 )
...
* add sanity native filter cypress e2e test
* add liscense
* fix front-end lint
* fix fail
* remove unuse import
2021-10-29 11:08:18 +08:00
Lyndsi Kay Williams
732e5891e5
test: Cypress 7.0.0 migration ( #16911 )
...
* Copied changes from original PR, minus package-lock.json files
* Reverted command name change
* Fixed package.json in superset-frontend
* Test adjustments
2021-10-14 17:01:11 -07:00
Geido
271ec6ec75
chore: Select component refactoring - SaveModal - Iteration 5 ( #16446 )
...
* Refactor Select
* Fix Cypress
* Reconcile with master
* Use onChange over onSelect
* Reconcile with latest changes
* Update Cypress
* Update Cypress test
* Fix lint
2021-09-27 18:14:58 +03:00
Kamil Gabryjelski
486e0d412c
chore: Upgrade Webpack to v5 ( #16701 )
...
* Upgrade Webpack to v5
* Remove mapbox hack
* Replace url-loaders and file-loaders with asset modules
* Remove 1 rule
* Change --colors to --color
* Remove invalid option (--no-progress)
* Remove url-loader, bump plugin
* Fix AnnotationLayer formula check
* Remove redundant tests
* Bump cypress packages
* Remove old comment
* Fix tests
* Remove checks for number of scripts in markdown test
* Cosmetic changes
* Add tests
* Fix test
* Fix test
* Fixes test warnings
* disable flaky test
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
Co-authored-by: Michael S. Molina <michael.s.molina@gmail.com>
2021-09-22 14:24:54 +03:00
Kamil Gabryjelski
9ff2531cd0
fix(dashboard): Add resize handles to right and bottom of component ( #15778 )
...
* fix(dashboard): Add resize handles to right and bottom of component
* Fix test
2021-07-20 11:23:37 +02:00
Phillip Kelley-Dotson
070f0b6cb2
refactor: icon to icons for IconButton and Header component ( #15647 )
...
* initial commit
* fix test
* last one
* fix cypress
* remove gridunit for fonsize
* fix cypress
* more data-test removal
* last one
* more data-test
2021-07-14 11:04:21 -07:00
Phillip Kelley-Dotson
abd999bd6b
refactor: icon to icons for filterbadge components ( #15557 )
...
* initial commit
* fix test
2021-07-08 11:53:35 +08:00
Phillip Kelley-Dotson
29dd0844bf
refactor: icon to icons for headeractionsdropdown ( #15560 )
...
* initial commit
* fix test
* fix cypress
* fix markdown cypress test
2021-07-07 10:20:15 -07:00
Phillip Kelley-Dotson
ea2a98fcc2
refactor: icon to icons for popovercomponent ( #15451 )
...
* initial commit
* fix test
* lint
* align icon
* remove consoles
2021-07-02 08:07:06 -07:00
Phillip Kelley-Dotson
95b9e2e185
refactor: icon to icons for favestar component ( #15371 )
...
* initial commit
* initial commit
* fix cypress test
* fix favstar cypress test
* fix card view
* fix other card view
2021-06-25 09:48:22 -07:00
Yongjie Zhao
9f54231af1
fix: filterbox apply single value ( #14841 )
...
* fix: filterbox apply single value
* fix ci
* fix e2e
2021-05-27 14:00:48 +08:00
Ville Brofeldt
97c9e37c24
perf: memoize db_engine_spec in database ( #14638 )
...
* perf: memoize db_engine_spec in sqla table classes
* remove extended cypress timeouts
2021-05-14 12:49:35 +03:00
Ville Brofeldt
3f6bd1e4a4
feat: add generic type to column payload ( #14547 )
...
* feat: add generic type to column payload
* feat: add generic type to column payload
* xit flaky test
2021-05-13 09:36:09 +03:00
Grace Guo
ada380982b
fix: bring back dashboard perf logger ( #14584 )
...
* fix: bring back dashboard perf logger
* add test
2021-05-12 08:25:46 -07:00
Michael S. Molina
331310db9b
refactor: Bootstrap to AntD - Form - iteration 2 ( #14379 )
2021-05-05 22:00:37 -07:00
Ville Brofeldt
40fb94dcca
feat(native-filters): add optional sort metric to select filter ( #14346 )
...
* feat(native-filters): add optional sort metric to select filter
* use verbose name when defined
* fixes
* lint
* disable flaky test
* disable flaky test
* disable flaky test
2021-04-27 20:28:38 +03:00
simcha90
7e5440a359
test(native-filters): Filter config modal test ( #14245 )
...
* test: add tests for filter bar
* test: merge filter bar tests with master
* test: add test for filter set
* test: filter set tests
* test: merge with master
* test: fix tests for filter bar
* test: filter config modal
* test: add select filter
* feat: filter config modal
* lint: fix lint
* lint: fix TS
* test: test testWithId
2021-04-20 14:07:08 +03:00
simcha90
d386e66f59
test(native-filters): add integration tests for filter bar ( #14098 )
...
* test: add tests for filter bar
* test: merge filter bar tests with master
* test: add test for filter set
* test: filter set tests
* test: merge with master
* test: fix tests for filter bar
* fix: fix CR notes
* fix: fix CR notes
2021-04-20 12:24:12 +03:00
Phillip Kelley-Dotson
4bb29b6f04
chore(spa refactor): refactoring dashboard to use api's instead of bootstrapdata ( #13306 )
...
* add hook for future async api calls
* test to see conflict
* add async middleware and update reducers
* working async dashboard load
* implement getcharts api
* add user permissions to explore and dashboard bootstrap data
* integrate api calls with getinitial state
* update namings
* accept an id or a slug in the dashboard charts api
* add permissions function
* fix merge
* update state
* get dashboard charts by id or slug
* fix undefined states
* variable names
* stop using some more bootstrap data
* fix metadata reference
* remove unused bootstrap from the template
* add errorboundry to dashboard
* refactoring, fixing
* update permissions
* add just roles
* id is supposed to be a string
* unused vars
* get datasources from api
* make onError optional
* use resource hooks, better error boundary
* add loading state for dashboardroute
* remove console
* add conditional
* more conditionals
* testing out a possible fix for cypress
* convert edit/standalone test to cypress
* remove bootstrappy assertions
* lint
* fix dashboard edit history issue
* rename stuff
* address recent native filters schema change
* remove unused getInitialState
* remove .only from test
* hooksy redux usage
* Revert "more conditionals"
This reverts commit 25c8ed61b4
.
* cleanup
* undo unnecessary change
* actually need conditions here
* certainty
* Revert "certainty"
This reverts commit 77dea1915b
.
* more permutations (untested yolo)
* Update superset-frontend/src/chart/chartReducer.ts
Co-authored-by: Evan Rusackas <evan@preset.io>
* import style
* comment
* cleaner dashboardInfo
* remove debug code
* use memo for getPermissions
* fix lint
* adjust name/location of DashboardPage
* move logic for REMOVE_SLICE_LEVEL_LABEL_COLORS to DAO
* stop using full_data()
* remove unused (and now useless) json=true query param
Co-authored-by: David Aaron Suddjian <aasuddjian@gmail.com>
Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>
Co-authored-by: Evan Rusackas <evan@preset.io>
2021-04-12 16:10:29 -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
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
adam-stasiak-polidea
3235d918aa
test: Added some Cypress tests for Native Filters ( #12180 )
2021-02-04 22:54:00 -08:00
Jesse Yang
e3db935c62
refactor: migrate table chart to new API ( #10270 )
...
* refactor: migrate table chart to new API
* chore: bump superset-ui to 0.17.0
* Fix Cypress tests
* Apply soft-conversion to numeric metrics
Fix time column formatting test
* Add translation to chart does not exist error
* Bump to 0.17.1
2021-01-29 13:12:09 +02:00
Jesse Yang
29ad78e11a
chore: upgrade Cypress to 6.2.1 ( #12605 )
2021-01-25 15:05:43 -08:00
Michael S. Molina
5d3265b6db
Apply capitalization guidelines - iteration 3 ( #12343 ) ( #12449 )
2021-01-22 10:11:28 -08:00
Karol Kostrzewa
241f380e2e
test: World bank examples ( #12161 )
...
* add world bank data fixture
* fix fixture cleanup, add fixture to dashboard_tests
* apply world bank fixtures, fix tests
* fix fixture typo, dashboard ids
* fix export dashboard metadata
* fix test_export_dashboard_command_key_order
* fix export dash tests, not add row when no orphans
* debug timeout
* fixes after merge
* fix lint
* run pre-commit
* comment test for debug
* fix save.test.js
Co-authored-by: Karol Kostrzewa <karol.kostrzewa@polidea.com>
2021-01-13 14:20:05 -08:00
Jesse Yang
9acf48fd1e
chore: upgrade eslint, babel, and prettier ( #12393 )
2021-01-10 17:26:35 -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
Nikola Gigić
a52031a55e
chore: Change chart_is_fav to chart_is_favorite ( #12075 )
...
* Change chart_is_fav to chart_is_favorite
* Trigger cypress tests
* Retrigger cypress tests
* Retrigger all tests
* Dashboard
* Additions
2020-12-22 10:03:26 -08:00
Jesse Yang
e2f676445b
test(dashboard): fix flaky Cypress test ( #12151 )
2020-12-21 20:40:33 -08:00