Michael S. Molina
bb7e979142
chore: Moves spec files to the src folder - iteration 9 ( #17901 )
2022-01-07 15:23:57 -03:00
Stephen Liu
2ae29c9281
fix(Select): options will be overwritten due to seState ( #17951 )
2022-01-07 08:09:25 -07:00
Michael S. Molina
e6ef7da758
chore: Moves spec files to the src folder - iteration 8 ( #17899 )
...
* chore: Moves spec files to the src folder - iteration 8
* Fixes tests
2022-01-07 09:25:45 -03:00
Michael S. Molina
aa91662ec8
chore: Moves the Menu to views/components folder ( #17897 )
...
* chore: Moves the Menu to views/components folder
* Fixes imports
2022-01-07 09:25:31 -03:00
Michael S. Molina
53d8d383cc
chore: Moves the hooks folder to the src folder ( #17896 )
2022-01-07 09:25:06 -03:00
Hugh A. Miles II
9e69940171
feat: Update query states to use spinner vs. progress bar ( #17804 )
...
* lit
* remove reference for progress bar
* update to loading
* update switch out spinner for loading when progress hits 100
* update test
2022-01-05 10:43:42 -08: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
David Aaron Suddjian
de3d3973a2
fix: process color scheme configs correctly ( #17786 )
2022-01-04 15:27:10 -08:00
Stephen Liu
07998fea68
fix(explore): simple tab content input problem ( #17872 )
2022-01-03 12:41:19 +08:00
Beto Dealmeida
9baeafec93
feat: configure force_screenshot ( #17855 )
...
* Update existing tests
* Add backend test
* feat: add force option to report screenshots
* Add tests
* Rebase fixes
* Do not force screenshot on dashboard alerts
* feat: bypass cache on screenshots for alerts
* Update existing tests
* Add tests
* feat: configure force_screenshot
2021-12-22 13:46:00 -08:00
Beto Dealmeida
2cd8054358
feat: add force option to report screenshots ( #17853 )
...
* Update existing tests
* Add backend test
* feat: add force option to report screenshots
* Add tests
* Rebase fixes
* Do not force screenshot on dashboard alerts
2021-12-22 12:16:04 -08:00
Lyndsi Kay Williams
d2ed1b72dc
chore: Help user to find the input fields in the dataset editor ( #17824 )
...
* Updated fields in Metrics and Calculated Columns tabs inside dataset editor, deleted label in expanded Metrics tab
* Fix tests
* Vertically aligned rows in columns tab
2021-12-22 12:21:37 -06: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
Stephen Liu
ec48dd5c40
fix(dashboard): update native filter info in metadata is not updated ( #17842 )
2021-12-22 08:47:27 +02: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
Stephen Liu
d5768ab649
fix(explore): make SORT-Descending visible if Sort-by has value ( #17726 )
2021-12-21 15:27:21 +08:00
Erik Ritter
5b0aa27f2b
feat: Persist SQL Lab autocomplete setting across tabs and visits ( #17708 )
2021-12-20 15:53:48 -08:00
Erik Ritter
6edc183c5f
chore: Refactor localstorage into typesafe version ( #17832 )
2021-12-20 13:58:59 -08:00
Holger Bruch
61a6aa0f97
Map schemes json to SequentialScheme ( #17813 )
2021-12-20 09:38:24 +02:00
Srini Kadamati
53e2fa6f57
chore: updated screenshots in README.md and added recent events ( #17650 )
...
* chore: updated screenshots in readme.md and added recent events
* chore: updated pinot superset connection instructions
* fixed outdated slack link
* addressed all outstanding feedback!
* updated package lock
* reverted package.json to master
* Update README.md
Co-authored-by: Evan Rusackas <evan@preset.io>
Co-authored-by: Evan Rusackas <evan@preset.io>
2021-12-17 11:43:46 -05:00
Grace Guo
c5af7a48df
fix: [alert] allow decimal for alert threshold value ( #17751 )
...
* fix: [alert] add tooltip message for alert threshold value
* support decimal value for alert condition threshold
* add integration test
2021-12-16 22:51:23 -08:00
Ville Brofeldt
961766e833
fix(filter-sets): 404 on dashboard load ( #17777 )
2021-12-16 11:27:46 +02:00
Geido
274fb37a91
fix: Remove positions from json_metadata ( #17766 )
...
* Remove positions from json_metadata
* Update superset-frontend/src/dashboard/components/PropertiesModal/index.tsx
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
* Indent
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2021-12-15 11:32:31 -07: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
Stephen Liu
142b5bc506
fix: local warning in the frontend development ( #17727 )
2021-12-15 09:52:42 +02:00
Beto Dealmeida
2a6e5e5e5c
fix: import DB errors ( #17748 )
2021-12-14 18:32:57 -08:00
Beto Dealmeida
63d9693f21
feat: add main datetime column to dataset editor ( #17739 )
...
* feat: add main dttm col to dataset editor
* Add tests
2021-12-14 14:47:08 -08:00
Geido
4b969710e4
Rename CertifiedIcon to CertifiedBadge ( #17715 )
2021-12-10 11:45:53 -07:00
Kamil Gabryjelski
b5b6ceb1b3
fix(explore): don't apply time range filter to Samples table ( #17711 )
2021-12-10 11:40:11 -07:00
Geido
8de93871d7
Fix flacky header ( #17690 )
2021-12-10 18:25:40 +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
Stephen Liu
bdc4e7a322
fix(explore): deck.gl Multiple chart broken ( #17703 )
2021-12-09 20:03:02 +02: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
Corbin Robb
f476ba23a2
fix(select): select component sort functionality on certain options ( #17638 )
...
* fix: Select component sort function sorting by label instead of value on numbers
* fix: change select component default sorting to sort by the initial index rather than a property like value or label
* fix: select sorting add sortOptions to select components using sortByProperty
* fix: change select component back, add order to options coming in from SelectControl
* fix: select component options intitial sort bug
* fix: add test cases for select fix
Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local>
2021-12-09 11:40:25 -05:00
Geido
aad2abe7f0
Fix undefined error ( #17692 )
2021-12-08 13:30:41 -07:00
Geido
46cdc77ae6
fix: Redirect on 401 ( #17597 )
...
* Redirect on 401
* Bump FAB
* Format
* Update Cypress save test
* Revert Cypress change
* Bump FAB 3.4.1rc2
* Update test
* Update return statement
* Update api test
* Update datasets api test
* Update datasets api 401s to 403s
* Add typeguard
* Use Promise.resolve
* Update callApiAndParseWithhTimeout test
* Disable parseResponse test
* Try catch
* Handle npm 8 issues
2021-12-08 13:14:30 -07:00
Ville Brofeldt
c4b04952d0
feat: customize recent activity access ( #17589 )
...
* feat: customize recent activity access
* address comments
* fix and add tests
* add alert assertion and UPDATING.md entry
* replace .get_id() with .id
* fix updating comment
* update config name
2021-12-08 11:30:23 +02:00
Lyndsi Kay Williams
05752e3fe8
fix(sqllab): Floating numbers not sorting correctly in result column ( #17573 )
...
* Floating nums now sorting correctly with parseFloatingNums function
* Floating numbers AND strings now sorting correctly, +locale comparison
* Added NULL handling back to sort function
* Moved parseFloatingNums outside of sortResults
* Removed localeCompare and added testing
* Add equality check back to sort function
* Added floatValue nit
2021-12-03 16:31:46 -08:00
Kamil Gabryjelski
07e8837093
feat(explore): export csv data pivoted for Pivot Table [ID-9] ( #17512 )
...
* feat(explore): export csv data pivoted for Pivot Table
* Implement dropdown with download csv options
* Change label to "Original"
* Add tests
* Add form data to query context
* Add form data to query context generator
* Explicitly make form_data optional
2021-12-03 12:42:28 +01:00
Jesse Yang
73e7928c4b
chore(superset-ui): clean up legacy-plugin-chart-time-table ( #17626 )
2021-12-02 17:14:10 -08:00
Stephen Liu
b5d13d72f2
fix(dataset): modal sql editor error ( #17612 )
...
* fix(dataset): model sql editor
* add tests
2021-12-02 13:02:19 -07:00
Hugh A. Miles II
d9e9c3a3de
refactor: Add AutoSizer to react-virtualized Grid
( #17606 )
...
* remove styles from renderCell
* remove styling on grid
2021-12-02 12:47:47 -05: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
Matt Houston
54b56fe12f
feat: Add single select and inverse selection to numeric range ( #16722 ) ( #17372 )
...
* feat: add single select and inverse selection to numeric range (#16722 )
* Ignore invalid eslint errors regarding conditionally called hooks.
* Add license header to new file.
* Flipped the numerical range values for the minimum slider so that the highlighted range value accurately reflects the applied filter.
* Resolved linting errors
* Remove unnecessary important flag from css
2021-12-01 15:28:11 -08: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
Daman Arora
c6ba9bf9db
chore: migrate EstimateQueryCostButton component from jsx to tsx ( #17603 )
...
* migrate EstimateQueryCostButton component from jsx to tsx
* re-format spaces using prettier
* Update superset-frontend/src/SqlLab/components/EstimateQueryCostButton/index.tsx
Co-authored-by: Erik Ritter <erik.ritter@airbnb.com>
* remove extra onClick and make disabled prop optional
* restore & rename event handler onClick to onClickHandler
Co-authored-by: Erik Ritter <erik.ritter@airbnb.com>
2021-12-01 09:28:52 -08:00
Phillip Kelley-Dotson
4e76637252
initial fix ( #17547 )
2021-11-30 08:24:18 -08:00
Daman Arora
bfba4f1689
chore: migrate Fieldset component from jsx to tsx ( #17474 )
...
* migrate Fieldset component from jsx to tsx
* update type check for fieldKey
* remove unused css class called fieldset
2021-11-29 14:17:54 -08:00
Michael S. Molina
a959e6df45
fix: Visualizations don't load when using keyboard shortcuts ( #17542 )
2021-11-29 09:14:21 -03: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