Artem Shumeiko
c839d0daf5
chore: Localization of superset pt. 2 ( #22772 )
2023-01-30 09:20:43 -07:00
Geido
9ed2326a20
feat: Move cross filters to Dashboard ( #22785 )
2023-01-25 18:01:06 +01:00
Kamil Gabryjelski
399f6e3ddc
feat(dashboard): Display a loading spinner while dashboard is being saved ( #22588 )
2023-01-10 16:48:51 +01:00
JUST.in DO IT
ef6b9a97d5
feat(dashboard): confirm overwrite to prevent unintended changes ( #21819 )
2022-11-08 13:06:19 -08:00
Kamil Gabryjelski
68e8b00cde
feat(dashboard): Support changing filter bar location ( #22004 )
2022-11-03 16:50:34 +02:00
Stephen Liu
7a7181a244
feat(color): color consistency enhancements ( #21507 )
2022-10-17 17:01:20 +08:00
Geido
6b0c3032b2
chore: Update color scheme when deleted or changed ( #20589 )
...
* 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
* Fallback to default color scheme
* Fix dashboard id autofill
* Fix lint
* Fix test
* Fix hydrate action
* Update dashboard colors
* Add color scheme domain
* Add check for default scheme
* Make me pretty
* Clean up
* Nit
* Clean up
* Pretty
* Fix missing sequential
* Lint
* Enhance test
* Lint
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2022-07-25 18:50:49 -04:00
Michael S. Molina
3311128c5e
fix: Reverts #20749 and #20645 ( #20796 )
...
* Revert "fix: Error when saving datasource from Explore (#20749 )"
This reverts commit 92f3621c75 .
* Revert "refactor: Unify shared datasources reducers and actions (#20645 )"
This reverts commit 2a705406e1 .
2022-07-20 17:03:19 -03:00
Michael S. Molina
2a705406e1
refactor: Unify shared datasources reducers and actions ( #20645 )
...
* refactor: Unify shared datasources reducers and actions
* Removes column_types
* Adjusts hydrateExplore
* Revert "Removes column_types"
This reverts commit 096bbf78267545c0bb75a43892d752fca50cf00d.
* Fixes test
2022-07-13 13:03:36 -03:00
Cody Leff
edb1383bf8
chore(dashboard): Resolve form_data vs. formData in dashboard redux state
2022-06-30 18:49:18 +08:00
Sam Firke
b7eb235440
style(typo): occured -> occurred ( #20116 )
...
* Occured -> Occurred
* Occured -> Occurred
* Occured -> Occurred
* Occured - > Occurred
* Update FallbackComponent.tsx
* Update FallbackComponent.tsx
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2022-06-20 08:49:45 -07:00
Kamil Gabryjelski
a08f83bc60
fix(dashboard): Chart stuck in loading state when when datasets request and chart request fail ( #19327 )
2022-03-23 15:43:32 +01:00
Stephen Liu
dc575080d7
feat: improve color consistency (save all labels) ( #19038 )
2022-03-21 15:20:04 +08:00
Kamil Gabryjelski
b8091e33a9
perf(dashboard): Send chart requests before native filter requests ( #19077 )
2022-03-10 13:37:02 +01:00
Michael S. Molina
04a36d5c92
chore: Moves Chart to the components folder ( #19029 )
2022-03-08 08:57:29 -03:00
Stephen Liu
ec48dd5c40
fix(dashboard): update native filter info in metadata is not updated ( #17842 )
2021-12-22 08:47:27 +02: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
Holger Bruch
6604a6ab28
chore(translations): Add missing i18n ( #17525 )
...
* Add *.ts to babel.cfg
* Add missing i18n calls
* Update pot file
* Fix lint issues and review comment
* Incorparate review feedback
* Fix missing or non-extractable i18n calls
* Update pot file
* Fix syntax error in CommonParameters.tsx
* Fix introduced issues
2021-11-27 14:50:33 +02:00
Ville Brofeldt
5d1c9078ad
chore(translations): fix translation literals ( #17501 )
...
* chore(translations): fix translation literals
* fix table name types and translations
* fix lint
* join concat'd messages
2021-11-23 10:06:09 +02:00
Kamil Gabryjelski
45908ff104
fix(dashboard): Race condition when setting activeTabs with nested tabs ( #17007 )
...
* fix(dashboard): Race condition when setting activeTabs with nested tabs
* Remove activeTabs prop from Tabs
2021-10-07 14:23:26 +02:00
Michael S. Molina
9b17e86b44
chore: Moves messageToasts to the components folder ( #14431 )
...
* chore: Moves messageToasts to the components folder
* Rebases
2021-09-22 07:44:54 -03:00
Geido
1297fd9169
fix(dashboard): Refresh Native Filters when Dashboard refreshes ( #15890 )
...
* Implement onRefresh action
* Update tests
* Clean up
* Fix type
* Add effect dependency
2021-07-26 17:27:08 -06:00
Yaozong Liu
81633e99ae
refactor(dashboard): [chart-maximize-mode]put chart full-size state in redux ( #15384 )
...
* refactor(dashboard): [chart-maximize-mode]put full-size status to redux
* fix: ci
2021-07-02 13:11:00 +03:00
Kamil Gabryjelski
51f0d4fd98
feat(native-filters): Hide filters which don't affect any visible charts ( #15063 )
...
* feat(native-filters): Hide filters which don't affect any visible charts
* Fix lint errors
* Add comments
* Code review fix
* Fix tests
* Refactor logic in FilterControls
2021-06-11 13:41:08 +02:00
Kamil Gabryjelski
405f95b6af
feat(dashboard/native-filters): Hide filters out of scope of current tab ( #14933 )
...
* Optimize finding charts and tabs in scope
* Put filters out of scope in Collapse
* Use lastFocusedTabId instead of directPathToChild
* Fix tests
* Fix cypress test
* Uncomment e2e test
2021-06-02 20:38:18 +02:00
simcha90
d6bd160250
fix: fix bug when remove chart not removing it's related cross filter data ( #14081 )
2021-04-12 10:54:31 +03:00
Ville Brofeldt
ecfcaea803
fix(dashboard): missing parents in directPathToFilter ( #13691 )
2021-03-18 19:43:41 +02:00
Rob DiCiuccio
4d329071a1
feat(SIP-39): Async query support for charts ( #11499 )
...
* Generate JWT in Flask app
* Refactor chart data API query logic, add JWT validation and async worker
* Add redis stream implementation, refactoring
* Add chart data cache endpoint, refactor QueryContext caching
* Typing, linting, refactoring
* pytest fixes and openapi schema update
* Enforce caching be configured for async query init
* Async query processing for explore_json endpoint
* Add /api/v1/async_event endpoint
* Async frontend for dashboards [WIP]
* Chart async error message support, refactoring
* Abstract asyncEvent middleware
* Async chart loading for Explore
* Pylint fixes
* asyncEvent middleware -> TypeScript, JS linting
* Chart data API: enforce forced_cache, add tests
* Add tests for explore_json endpoints
* Add test for chart data cache enpoint (no login)
* Consolidate set_and_log_cache and add STORE_CACHE_KEYS_IN_METADATA_DB flag
* Add tests for tasks/async_queries and address PR comments
* Bypass non-JSON result formats for async queries
* Add tests for redux middleware
* Remove debug statement
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
* Skip force_cached if no queryObj
* SunburstViz: don't modify self.form_data
* Fix failing annotation test
* Resolve merge/lint issues
* Reduce polling delay
* Fix new getClientErrorObject reference
* Fix flakey unit tests
* /api/v1/async_event: increment redis stream ID, add tests
* PR feedback: refactoring, configuration
* Fixup: remove debugging
* Fix typescript errors due to redux upgrade
* Update UPDATING.md
* Fix failing py tests
* asyncEvent_spec.js -> asyncEvent_spec.ts
* Refactor flakey Python 3.7 mock assertions
* Fix another shared state issue in Py tests
* Use 'sub' claim in JWT for user_id
* Refactor async middleware config
* Fixup: restore FeatureFlag boolean type
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2020-12-10 20:21:56 -08:00
Grace Guo
b9284d3a3c
fix(dashboard): use server-side lastModifiedTime for co-edit check ( #11614 )
...
* fix: [dashboard][co-edit] Round client-side lastModifiedTime
* another try: server-side returns last_updated_time in save_dash response
2020-11-09 13:30:40 -08:00
Jesse Yang
6ab03feed8
chore: clean up mountedTab ( #11569 )
2020-11-08 21:09:27 -08:00
David Aaron Suddjian
18658f45be
feat(dashboards): Filter status indicators ( #10936 )
...
* Initial commit of new filters badge.
* refactor applied/rejected filters code
* finished filter indicators
* filter badge tested
* unnecessary imports
* formatting and types
* fixes
* license
* code quality tweaks
* state management for showing focused filter scope
* clean up filter key extraction code
* remove unnecessary styles
* temp css to demonstrate highlighting
* fix focused filter logic
* no more color badges
* new toys for highlighting dash components (#11144 )
* tweak style for the filter chart when filter is focused
* style: Filters p0 css2 (#11151 )
* nixing background tweak
* src paths
* another quick theme color
* src paths, adjusting pill icon color, changing icons, showing applied/busted counts
* linting stuff
* fixing and tweaking tests
* show filter indicator when filters are not active
* chart title bar cleanup
* open the right panel when popover opens
* unused import
* fix EditableTitle tests
* margin on dashboard header
* show the chart dropdown menu
* fix blur filter breaking dropdowns
* style tweak - no pointer events when irrelevant charts are blurred
* fix box shadow on filter highlight
* it's an array
* attempt fixing e2e
* style: filters p0 icon churn (#11215 )
* new filters icon
* icon styling
* bigger icons in list views
* better sizing of table actions and favStars
* more icon sizing...
* fixing more button size jankiness
* linting
* Filters performance (#11255 )
* fixing time filter "ok" button
* making unset filter menu collapsible
* sort alphabetically
* fix highlighting when removing items
* try a flex layout (for browser render perf)
* more specific transitioning
* temp: comment out some code as a test
* temp: comment out more code
* temp: remove possibly expensive computations from ChartHolder
* Revert "temp: comment out some code as a test"
This reverts commit 309b880e90f5b1d582ecaec6a866b91abc354094.
* Revert "temp: comment out more code"
This reverts commit 64c88b2cba7ed995c08bcf258e93a45161b1c0c9.
* Revert "temp: remove possibly expensive computations from ChartHolder"
This reverts commit 37ce0214f0007386e35f113805a8a9abd291152a.
* experiment: upgrade react-select to v3
* Revert "experiment: upgrade react-select to v3"
This reverts commit c3972ba486a9e4888ca943ce93d1db47db514140.
* fix the damn problem
* remove code used for testing purposes
* awful hack to avoid adding a class to a container
* approaching infinity... and not beyond!
* fix ref forwarding
* add theme to tests as necessary
* fix(extra-filters): add logic for identifying applied extra filters (#11325 )
* fix: use dashboard id for stable cache key (#11293 )
* fix: button translations missing (#11187 )
* button translations missing
* blank space before text
* feat: update time_compare description and choices (#11294 )
* feat: update time_compare description and choices
* Update sections.jsx
* fix(extra-filters): add logic for identifying applied extra filters
* lint
Co-authored-by: Jesse Yang <jesse.yang@airbnb.com>
Co-authored-by: rubenSastre <ruben.sastre@decathlon.com>
Co-authored-by: Erik Ritter <erik.ritter@airbnb.com>
* address design feedback
* slight tweak to panel logic, keep panels open that user has opened
* rearrange code to be more graceful
* fix: bump superset-ui/core (#11385 )
* use is_dttm instead of is_temporal
* types, names
* only show unset filter panel if there are unset filters
* fix highlighting the filter control
* fix filterbox layout
* translations
* fix cypress
* actually add the test attribute
* Update superset-frontend/src/dashboard/components/DashboardBuilder.jsx
Co-authored-by: Evan Rusackas <evan@preset.io>
* Update superset-frontend/src/dashboard/components/DashboardBuilder.jsx
Co-authored-by: Evan Rusackas <evan@preset.io>
* formatting
* add link comment to hack
* Update superset-frontend/src/dashboard/components/gridComponents/ChartHolder.jsx
Co-authored-by: Evan Rusackas <evan@preset.io>
* stop importing lodash
* Update superset-frontend/src/dashboard/components/gridComponents/ChartHolder.jsx
Co-authored-by: Evan Rusackas <evan@preset.io>
* Update superset-frontend/src/dashboard/components/FiltersBadge/Styles.tsx
Co-authored-by: Evan Rusackas <evan@preset.io>
* Update superset-frontend/src/dashboard/components/FiltersBadge/Styles.tsx
Co-authored-by: Evan Rusackas <evan@preset.io>
* Update superset-frontend/src/dashboard/components/FiltersBadge/Styles.tsx
Co-authored-by: Evan Rusackas <evan@preset.io>
* Update superset-frontend/src/dashboard/components/FiltersBadge/Styles.tsx
Co-authored-by: Evan Rusackas <evan@preset.io>
* skip broken test
* Update superset-frontend/src/dashboard/components/FiltersBadge/Styles.tsx
Co-authored-by: Evan Rusackas <evan@preset.io>
* Update superset-frontend/src/dashboard/components/FiltersBadge/Styles.tsx
Co-authored-by: Evan Rusackas <evan@preset.io>
* adjust colors of titles
* linting
* no indicators when chart is loading
* support all time fields
* fix lock file
Co-authored-by: Natalie Ruhe <natalie@preset.io>
Co-authored-by: Evan Rusackas <evan@preset.io>
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
Co-authored-by: Jesse Yang <jesse.yang@airbnb.com>
Co-authored-by: rubenSastre <ruben.sastre@decathlon.com>
Co-authored-by: Erik Ritter <erik.ritter@airbnb.com>
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2020-10-28 15:46:24 -07:00
Kamil Gabryjelski
7f1012360a
Re-enable no-useless-path-segments rule ( #10860 )
2020-09-14 10:38:18 -07:00
Jesse Yang
9a59bdda48
refactor: merge/upgrade superset-ui packages ( #10790 )
...
* refactor: merge/upgrade superset-ui packages
* Fix flaky big number test
* Fix Flaky AdhocFilters test
2020-09-09 13:18:55 -07:00
Jesse Yang
a37b635674
fix(dashboard): add animation state to fix tab switch re-renders ( #10475 )
2020-08-11 00:57:50 -07:00
Maxime Beauchemin
ece91928a9
style: use tabs in dashboard edit pane ( #10394 )
...
* style: use tabs in dashboard edit pane
* fix tests
* more hackin'
* getting ready to rip cell measurer
* working
* pogress
* Fix cards
* done
* fix jest
* fix cy
2020-08-05 18:53:53 -07:00
Grace Guo
8bc30da621
[log] Add dashboard_id param to explore_json request ( #9243 )
...
* [log] Add dashboard_id param to explore_json request
* fix cypress test
2020-03-08 19:51:08 -07:00
David Aaron Suddjian
2913063924
SIP-32: Moving frontend code to the base of the repo ( #9098 )
...
* move assets out, get webpack dev working
* update docs to reference superset-frontend
* draw the rest of the owl
* fix docs
* fix webpack script
* rats
* correct docs
* fix tox dox
2020-02-09 17:53:56 -08:00