Kamil Gabryjelski
594523e895
feat(explore): Implement data panel redesign ( #19751 )
...
* feat(explore): Redesign of data panel
* Auto calculate chart panel height and width
* Add tests
* Fix e2e tests
* Increase collapsed data panel height
2022-04-19 10:10:40 +02:00
Yongjie Zhao
761d5c4208
chore: cleanup as unknown conversion ( #19587 )
2022-04-08 17:32:29 +08:00
Geido
73e93911ac
chore: Remove TimeTable.less ( #19463 )
...
* Remove TimeTable less
* Remove className
* Update superset-frontend/src/visualizations/TimeTable/TimeTable.jsx
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>
2022-04-06 18:43:25 +03:00
dependabot[bot]
f29d92867c
chore(deps): bump minimist in /superset-frontend/cypress-base ( #19549 )
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-06 17:41:11 +03:00
Yongjie Zhao
d954c3df86
fix: can't sync temporal flag on virtual table ( #19366 )
2022-04-01 16:40:50 +08:00
Ville Brofeldt
d684ad073d
fix: request samples with default row limit ( #19456 )
...
* fix: request samples with default row limit
* lodashLint
* fix cypress test
2022-04-01 11:32:36 +03:00
Jinghuayao
2a75e4c3c3
test(native filter): add new test for dependent filter ( #19392 )
...
* add new test for dependent filter
2022-04-01 01:06:48 -07:00
Kamil Gabryjelski
1a1322d3d9
feat(explore): Move chart actions into dropdown ( #19446 )
...
* feat(explore): Move chart actions to a dropdown menu
* Fix tests and add some new ones
* Add background color to embed code button
* Fix cypress tests
* Move copy permalink to actions menu
* Remove unused function
* Move share by email above embed code
* Fix test
* Fix test
* Fix test
* Fix test
* Fix test
2022-03-31 20:41:15 +02:00
Jesse Yang
f6291545fb
chore: turn on SQLLAB_BACKEND_PERSISTENCE by default ( #19107 )
...
* chore: turn on SQLLAB_BACKEND_PERSISTENCE by default
* Rewrite SQL tabs test to make it more rerunnable
2022-03-17 21:51:47 -07:00
Jesse Yang
8d53db1db6
test: fix TimezoneSelector tests on daylight saving time ( #19156 )
2022-03-16 14:47:41 -07:00
Jinghuayao
981f09b5db
test(native filter): add new native filter test ( #19115 )
...
* add new native filter test
2022-03-15 08:16:06 -07:00
Kamil Gabryjelski
f9c7405e0e
chore(explore): Set Drag&Drop feature flags to True by default ( #19046 )
...
* chore(explore): Set Drag&Drop feature flags to True by default
* fix tests
2022-03-08 18:50:51 +01:00
Erik Ritter
002bd6ed0a
fix: improve cypress flakiness ( #19044 )
2022-03-07 09:24:54 -08:00
cccs-Dustin
5a5ff99c37
fix(SQL Editor): names new query tabs correctly ( #18951 )
...
* Added in code changes that now properly increment the Untitled Query SQL Lab tab names. All that is left is to add tests to make sure that the function works correctly
* Updated the code so that it adds to the untitled_query_numbers variable only if the character after the string 'Untitled Query ' is a number. This prevents any issues when trying to get the maximum value in the list.
* Refactored part of the mapping code, to make it shorter and easier to read/understand
* Fixed issues in the code that were causing some of the CI tests to fail
* Made code changes based on comments within the PR. Also added a unit test to make sure that the newQueryEditor function in the TabbedSqlEditors component works as intended
* Fixed the failing cypress test in tabs.test.js
2022-03-04 18:28:30 +02: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
Kamil Gabryjelski
9d5c0505cf
feat(native-filters): Re-arrange controls in FilterBar ( #18784 )
...
* feat(native-filters): Re-arrange controls in FilterBar
* Typo fix
* Add tests
* Fix tests
* Address PR reviews
* Add 1px bottom padding to icon
* Fix test
* Tiny refactor
* Change buttons background
* Add hover state to Clear all button
* Fix Clear All button logic so it clears all selections
* Remove redundant useEffect
* Set zindex higher than loading icon
* Fix scrolling issue
2022-02-22 17:45:53 +01:00
Evan Rusackas
7cad143ae6
chore: npm audit fix in cypress-base ( #18820 )
2022-02-22 09:22:40 +02:00
dependabot[bot]
7ee9786401
chore(deps): bump cached-path-relative ( #18761 )
...
Bumps [cached-path-relative](https://github.com/ashaffer/cached-path-relative ) from 1.0.2 to 1.1.0.
- [Release notes](https://github.com/ashaffer/cached-path-relative/releases )
- [Commits](https://github.com/ashaffer/cached-path-relative/commits )
---
updated-dependencies:
- dependency-name: cached-path-relative
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-17 10:55:26 -07: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
Kamil Gabryjelski
167e18e806
feat(explore): Implement chart empty states ( #18678 )
...
* feat(explore): Implement chart empty states
* Fix test
* Remove unused import
* Fix tests
2022-02-14 16:14:20 +01: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
Michael S. Molina
4b61c76742
fix: Explore long URL problem ( #18181 )
...
* fix: Explore long URL problem
* Fixes lint problems
* Fixes default value
* Removes duplicated test
* Fixes share menu items
* Fixes tests
* Debounces form_data updates
* Rewrites debounce function
* Moves history update outside the functional component
* Mocks lodash function in tests
* Fixes Cypress test
* Fixes Cypress test #2
2022-01-28 17:42:16 -03:00
Yongjie Zhao
ceecc7047b
chore: remove unused eslintrc ( #17860 )
...
* chore: remove unused eslintrc
* remove unused lint
* add comments
* change comments
2022-01-05 19:31:12 +08:00
Yongjie Zhao
eff4d387de
fix(cypress): flake cypress test case ( #17918 )
2022-01-04 16:56:13 -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
Kamil Gabryjelski
124af4c566
chore(explore): Migrate BigNumber to v1 api [ID-28][ID-55] ( #17587 )
...
* chore(explore): Migrate BigNumber to v1 api
* Move to echarts
* Use Echarts trendline
* Fix imports
* Fix parsing dates as strings
* Add from_dttm and to_dttm to v1 chart response
* Fix post processing
* Fix timeRangeFixed
* Fix tests
* Remove from and to dttm from cache
* Cleanup date formatting
* Fix storybook
* Fix missing types
* Fix timestamp with timezone
* Add types to demo's tsconfig
* bug fix
* fix import
* Fix cypress tests
* add sort
* add resample to handle missing values properly
* Sync ChartDataResponseResult schema with ts interface
* Lint fix
* Add migration
* Fix migration
* Remove pass
* Re-raise the exception in migration
* Typo fix
* Update revision
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-12-15 10:15:14 +01: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
Stephen Liu
a3cce5705d
feat(explore): support show annotation label [ID-8] ( #17307 )
...
* feat(explore): support always show annotation label
* fix: lint
* fix: lint
* Hopefully appeasing the linter
* fix: lint
* Update superset-frontend/src/explore/components/controls/AnnotationLayerControl/AnnotationLayer.jsx
Co-authored-by: Geido <60598000+geido@users.noreply.github.com>
* change to allow none
* lint
Co-authored-by: Evan Rusackas <evan@preset.io>
Co-authored-by: Geido <60598000+geido@users.noreply.github.com>
2021-12-02 00:26:32 -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
Evan Rusackas
c70ac1cfe6
chore: auditing cupress-base dependencies ( #17577 )
2021-11-30 17:32:07 -07:00
Yongjie Zhao
9070b6b19c
refactor(monorepo): stage 1 ( #17427 )
...
* skip geojson in pre-commit
update prettier
* update package.json
update package.json
u package
pkg
pkg2
* lint main repo 2
lint main repo
lint
* lintrc
lintrc 2
lintrc2
lintrc 3
lintrc
* fix import
* refresh lock file
* fix break line make @ts-ignore invalid
* update rat-excludes
rat-excludes
update rat-excludes
* update eslintrc.js
* lint lint lint
2021-11-17 15:31:36 +08: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
c2d8b0e72f
chore: Notify user of custom label colors and related Dashboard color scheme ( #17422 )
...
* Add alert for custom label colors
* Fix duplicate linear scheme
* Implement dashboard alert
* Remove trailing space
* Update Cypress
* Simplify check
2021-11-16 17:46:39 +02:00
Phillip Kelley-Dotson
e6ff25c980
fix(chart): ensure samples data is displayed ( #16900 )
...
* initial fix
* use data keys for cols
* add e2e test
* remove code
* trim logic
2021-11-12 14:23:46 -08: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
Hugh A. Miles II
cd9e99402d
feat: Add prettier to pre-commit workflow ( #17134 )
...
* save
* fix
* fix pre-commit
2021-10-20 20:53:52 -04:00
Lyndsi Kay Williams
5253193708
fix: Update package-lock.json of superset-frontend and cypress-base ( #17125 )
...
* Copied changes from original PR, minus package-lock.json files
* Reverted command name change
* Fixing superset-ui and package-lock.json
* superset-ui to 0.18.12
* Update cypress package-lock
2021-10-14 18:28:56 -07: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
John Bodley
b9ff85d9ea
chore(engine): Translate fractional time grains—requires @superset-ui bump ( #17078 )
...
* chore(engine): Translate fractional time grains
* Bump @superset-ui
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2021-10-12 21:40:48 -07:00