Martyn Gigg
09b92e7d08
feat: Allow superset to be deployed under a prefixed URL ( #30134 )
...
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com >
2025-04-09 13:43:44 -07:00
Beto Dealmeida
41bf215367
fix: boolean filters in Explore ( #32701 )
2025-03-17 14:38:00 -04:00
Evan Rusackas
319a860f23
chore: Working toward killing enzyme and cleaning up test noise. ( #32207 )
2025-02-11 12:14:36 -07:00
Đỗ Trọng Hải
19e8a7049b
feat(fe): upgrade superset-frontend to Typescript v5 ( #31979 )
...
Signed-off-by: hainenber <dotronghai96@gmail.com >
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com >
2025-01-29 08:40:33 -03:00
Kamil Gabryjelski
7e2b7941f3
refactor: Upgrade to React 17 ( #31961 )
2025-01-28 16:44:42 +01:00
Michael S. Molina
93ba8e16c3
refactor: Creates the VizType enum ( #31193 )
2024-11-29 10:05:02 -03:00
Đỗ Trọng Hải
576ad85eb4
chore(fe): replace deprecate aliased Jest matchers with corresponding substituents ( #30355 )
...
Signed-off-by: hainenber <dotronghai96@gmail.com >
Co-authored-by: Evan Rusackas <evan@preset.io >
2024-10-29 12:27:20 -06:00
Đỗ Trọng Hải
1c3ef01209
chore(build): uplift several outdated frontend packages ( #29652 )
...
Signed-off-by: hainenber <dotronghai96@gmail.com >
2024-08-06 09:02:01 -06:00
Evan Rusackas
2bce20f790
fix: Fixing incomplete string escaping. ( #29772 )
2024-07-30 16:36:26 -06:00
Ville Brofeldt
19f8405bc0
chore: make TS enums strictly PascalCase ( #26875 )
2024-01-31 17:40:44 -08:00
curious86
3f17945745
fix(charts): big-number display broken in echarts ( #24492 )
...
Co-authored-by: aadhikari <aadhikari@apple.com >
2023-06-27 20:59:24 +03:00
Antonio Rivero
724fd82919
fix(filters): Stop breaking if translateToSql returns an object ( #23715 )
2023-05-08 16:03:53 -04:00
Josh Soref
78ede590ee
chore(frontend): Spelling ( #19676 )
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com >
2023-02-02 11:23:11 -07:00
Diego Medina
bed10a0e2b
chore: deprecate /superset/slice_json/<int:slice_id> and /superset/annotation_json/<int:layer_id> ( #22496 )
2023-01-27 11:50:19 -05:00
Musa Hamada
c2ace8dacb
fix(explore): datasource_type typo ( #22543 )
...
Co-authored-by: musa.hammadi <musa.hammadi@infostrategic.com >
2022-12-31 10:00:58 +00:00
Hugh A. Miles II
9b26794419
chore: Update dataset_id & dataset_type datasource_id & datasource_type for SPA explore ( #22461 )
2022-12-22 19:46:00 -05:00
Michael S. Molina
11d7d6e078
fix: Preserve unknown URL params ( #21785 )
2022-10-12 15:52:36 -07:00
Evan Rusackas
4245bc3f38
chore(style): Enforce optional chaining ( #21614 )
2022-10-03 09:17:20 -06:00
Cody Leff
b1020e3062
chore(explore): Update chart save to use API endpoints ( #20498 )
...
* Update SaveModal to use v1 API instead of POST /explore.
* Refactor SaveModal tests and remove obsolete ones.
* Fix redirect to /explore on save.
* Add toasts (but they don't work).
* Move logic inside try block, clarify unary-plus use.
* Add tests.
* Fix owners bug in updateSlice, enable navigation to dashboard w/o reload.
* Fix toasts.
* Fix translated strings.
* Fix unintended removal from dashboard bug.
* Fix native filters bug.
* Don't refresh Explore page after saving
* Use JSON payload shorthand.
* Prevent current dashboards being overwritten on viz type change.
2022-07-13 06:36:31 +02:00
Michael S. Molina
662bab1e6d
feat: Renders Explore in SPA ( #20572 )
...
* feat: Renders Explore in SPA
* Adds permalink support
* Replaces navigation from Welcome page
* Fix initializing feature flags
* Remove redundant import
* Adds saveSlice workaround
* Fixes paths
* Fixes lint error
* Fixes tests
* Fix url to explore from Datasets view
* Fix explore page height
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com >
2022-07-05 16:58:09 -03:00
Kamil Gabryjelski
b30f6a5db1
chore(explore): Get Explore data from endpoint instead of bootstrap_data ( #20519 )
...
* feat(explore): Use v1/explore endpoint data instead of bootstrapData
* Add tests
* Fix ci
* Remove redundant dependency
* Use form_data_key in cypress tests
* Add auth headers to for data request
* Address comments
* Remove displaying danger toast
* Conditionally add auth headers
* Address comments
* Fix typing bug
* fix
* Fix opening dataset
* Fix sqllab chart create
* Run queries in parallel
* Fix dashboard id autofill
* Fix lint
* Fix test
2022-06-30 21:06:51 +02:00
Kamil Gabryjelski
c7f1c7d5bd
chore: Restructure explore redux state ( #20448 )
...
* chore: Restructure explore redux state
* fixes
* fix tests
* add new tests
* Fix type
* Address comments
* Fix bug
* Fix import
* Add new test
* Move unsaved chart id to a constant
* Add todo
2022-06-24 15:26:07 +02:00
Lily Kuang
ab9f72f1a1
fix(embedded): CSV download for chart ( #20261 )
...
* move postForm to superset client
* lint
* fix lint
* fix type
* update tests
* add tests
* add test for form submit
* add test for request form
* lint
* fix test
* fix tests
* more tests
* more tests
* test
* lint
* more test for postForm
* lint
* Update superset-frontend/packages/superset-ui-core/test/connection/SupersetClientClass.test.ts
Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com >
* update tests
* remove useless test
* make test cover happy
* make test cover happy
* make test cover happy
* make codecov happy
* make codecov happy
Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com >
2022-06-17 20:01:08 -07:00
Yongjie Zhao
27c3ef1ed5
chore: remove unused codes for samples ( #20272 )
2022-06-07 21:54:15 +08:00
Elizabeth Thompson
32bb1ce3ff
feat!: pass datasource_type and datasource_id to form_data ( #19981 )
...
* pass datasource_type and datasource_id to form_data
* add datasource_type to delete command
* add datasource_type to delete command
* fix old keys implementation
* add more tests
2022-06-02 16:48:16 -07:00
Michael S. Molina
834dcef993
chore: Moves date utils to utils folder ( #20192 )
2022-05-31 12:21:58 -03:00
Kamil Gabryjelski
9cdaa28042
Revert "feat(explore): Show confirmation modal if user exits Explore without saving changes ( #19993 )" ( #20092 )
...
This reverts commit ca9766c109 .
2022-05-17 14:56:31 +02:00
Kamil Gabryjelski
ca9766c109
feat(explore): Show confirmation modal if user exits Explore without saving changes ( #19993 )
...
* feat(explore): Show confirmation modal if user exits Explore without saving changes
* Fix calling cleanup func unnecessarily
* Fix comparing AdhocMetric instance with JSON object
* Replace sliceFormData with the initial form data
2022-05-12 12:24:29 +02: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
Ville Brofeldt
bd63a1bd98
fix(chart): deprecate persisting url_params ( #18960 )
...
* fix(chart): deprecate peristing url_params
* remove duplicated backend logic
* use omitBy
* simplify omit
2022-03-02 07:44:36 +02: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
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
20b4ae1ef9
fix: null value and empty string in filter ( #18171 )
2022-01-27 22:58:06 +08:00
Michael S. Molina
647bbf1ea1
chore: Moves spec files to the src folder - iteration 10 ( #17902 )
...
* chore: Moves spec files to the src folder - iteration 10
* Fixes test
* Fixes lint problem
* Uses styledMount in test
2022-01-07 15:24:15 -03:00
Beto Dealmeida
b7707e8ff7
feat: bypass cache on screenshots for alerts ( #17695 )
...
* feat: bypass cache on screenshots for alerts
* Update existing tests
* Add backend test
* Add frontend test
2021-12-22 08:26:38 -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
David Aaron Suddjian
a63a01f158
small changes to dashboard->explore code ( #17145 )
2021-10-22 10:53:01 -07:00
David Aaron Suddjian
57f869cf22
fix(explore): remove unnecessary parameters from the explore url ( #17123 )
...
* remove unnecessary parameters from the explore url
* refactor, test
2021-10-18 15:30:15 +03:00
Grace Guo
08b8aa277f
fix: setupPlugin in chart list page ( #16413 )
...
* fix: setupPlugin in chart list page
* fix the order of setupPlugins call
* Fix jest test on loading geojson
* add jest changes
* fix unit tests
Co-authored-by: Jesse Yang <jesse.yang@airbnb.com >
2021-08-24 23:10:46 -07:00
David Aaron Suddjian
985af72ac3
fix(dashboard): Make the View Chart In Explore menu option a link ( #15668 )
...
* hey look, it's a real anchor tag!
* get the explore chart url into the link
* add doc comments to the functions
* remove pointless test
* update weird tests
Co-authored-by: Evan Rusackas <evan@preset.io >
2021-07-14 15:12:20 -06:00
Evan Rusackas
026eefdb36
Revert "Open in _self ( #14778 )" ( #15588 )
...
This reverts commit faae27bd2f .
2021-07-08 16:00:35 -07:00
Geido
faae27bd2f
Open in _self ( #14778 )
2021-06-29 11:38:00 +03:00
Ajay M
f8b270d419
fix(explore): Explore page boolean filter is broken for Presto DB ( #14952 )
...
* Front end update - modify OPERATORS, to have SQL operation and display value
* Updated tests
* More tests
* Remove OPERATOR imports
* Fix break tests
* PR comments
* fix issue with comparator loading
* rename a variable
* Linting
2021-06-10 09:08:04 -07:00
simcha90
e43112c5f9
feat(native-filter): Hide native filters ( #14784 )
...
* fix:fix get permission function
* feat: support showFilters
* fix: fix CR notes
* fix: fix lint issues
2021-05-31 09:05:57 +03:00
Ville Brofeldt
93c7f5bb44
fix(annotations): pass force param to annotation request ( #14483 )
...
* fix(annotations): pass force param to annotation request
* use strtobool
* add util for parsing bools
2021-05-05 13:52:17 +03:00
simcha90
8ef572a412
refactor(native-filters): update dataMask and ExtraFormData schema ( #13983 )
...
* refactor: updates usage of `ownFilters` to `ownState`
* refactor: update dataMask (final)
* lint: fix lint
* refactor: revert feat
* fix: fix missed chart configuration
* add filter set migration
* apply new changes
* fix migration revision
* update migration
* fix jest mock
* js lint
* fix test types
* update tests and types
* remove append_form_data from tests
* fix findExistingFilterSet tests
* add migration test
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com >
2021-04-15 17:43:29 +03:00
Bruno Motta
1638e6e932
test: exploreUtils ( #13719 )
...
* Tests for exploreUtils
* removing eslint-disable
* applying factory
* Removing skip tests and code comments.
* Improving test name
* remove comments
* Improving "shouldUseLegacyApi" tests
* fixing typo
2021-04-06 21:35:34 -07:00