Phillip Kelley-Dotson
4d96393faf
fix: remove unnecessary divider ( #19048 )
...
* fix: remove unnecessary divider
* remove console
2022-03-08 09:49:48 -08:00
Jesse Yang
c75f233109
feat(select): sort exact and startsWith match to first ( #18856 )
2022-03-08 07:08:40 -08:00
Michael S. Molina
04a36d5c92
chore: Moves Chart to the components folder ( #19029 )
2022-03-08 08:57:29 -03:00
chanyou0311
2cc5678dfc
Install and use vm-browserify for sandboxedEval ( #19059 )
2022-03-08 13:27:41 +02:00
Erik Ritter
002bd6ed0a
fix: improve cypress flakiness ( #19044 )
2022-03-07 09:24:54 -08:00
Ville Brofeldt
1b7d056126
chore(plugin-chart-echarts): bump echarts 5.3.1 ( #19041 )
2022-03-07 14:29:16 +02:00
Michael S. Molina
71b8d31e77
chore: Moves CRUD components to the Datasource component ( #19032 )
...
* chore: Moves CRUD components to the Datasource component
* Fixes imports
* Fixes less import
2022-03-07 09:02:18 -03:00
Stephen Liu
c32eaf47e5
fix(big-number): Big Number with Trendline Chart is not working if Time Grain is set to Month ( #19043 )
...
* fix(big-number): Big Number with Trendline Chart is not working if Time Grain is set to Month
* use start frequency.
2022-03-07 11:29:34 +02:00
Hugh A. Miles II
8c52fe3476
feat: Allow users to bust cache in report dashboard + alerts charts + alert dashboards ( #18795 )
...
* wip
* add force cahce bypass option to alerts
* remove default for alerts to bypass cache
* save for now
* save for now
* fix
* commenting out for now
* fix linting
* remove link
* add back force id test
* add frontend test
* address
2022-03-04 12:30:40 -08:00
Michael S. Molina
329855170e
refactor: Deletes the common/components folder ( #18999 )
2022-03-04 14:19:14 -03:00
Kamil Gabryjelski
9f834e8317
fix(plugin-chart-echarts): Apply temporary filters to Query B in explore ( #18998 )
...
* fix(explore): Extra filters not applied to query b in mixed timeseries
* Add return type
* Apply review comment
* Fix non-dnd filters
2022-03-04 17:48:41 +01: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
Phillip Kelley-Dotson
299b5dc644
chore: change case for upload selection ( #19021 )
...
* chore: change case for upload selection
* fix label
2022-03-03 19:47:47 -08:00
smileydev
6fe2431676
fix(nested-tab-available): make the another tabs into one tabs available ( #18877 )
...
* fix(nested-tab-available): make the another tabs into one tabs available
* fix(netsted-tab): remove code of disable nested tab
2022-03-03 13:22:49 -07: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
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
Brian Nguyen
f497c1900e
refactor: converted QueryAutoRefresh to functional component ( #18179 )
...
* converted file to functional component
* refactor: convert class component to functional component
* refactor: convert class component to functional"
* Working on converting the shouldCheckForQueries test to RTL
* Working on converting first test to RTL
* Working on first test for queryAutoRefresh
* Finished Tests, pushing for review
* Cleaned up comments and console logs
Co-authored-by: Josue Lugaro <josuelugaro15@gmail.com>
2022-03-01 08:59:31 -08:00
Ville Brofeldt
834686a3d9
bump and harmonize urijs and xss ( #18922 )
2022-03-01 18:38:29 +02:00
Kamil Gabryjelski
ec746c2a10
chore(native-filters): Add unit tests for filter cards ( #18967 )
...
* chore(native-filters): Add unit tests for filter cards
* Fix test
2022-03-01 17:33:09 +01:00
smileydev
ca93d63bbb
fix(tooltip-not-dissapeared): make the tooltip disappear when mouse away ( #18892 )
...
* fix(tooltip-not-dissapeared): make the tooltip disappear when mouse away
* fix(tooltip-not-dissapeared): change css props instead of sytles props
2022-03-01 08:05:11 -07:00
smileydev
37752cea9b
fix(external-link): change the external link in creating chart dashboard ( #18982 )
2022-03-01 16:16:48 +02:00
Kamil Gabryjelski
2072225a86
fix(native-filters): Default value not shown in native filters ( #18963 )
...
* fix(native-filters): Default value not shown in native filters
* Reuse stringified datamask
2022-03-01 11:43:57 +01:00
Stephen Liu
c4e3c45b3c
fix(plugin-chart-echarts): fix customize margin ( #18958 )
2022-02-28 23:53:53 -07:00
Grace Guo
7e336d1230
fix: add/find owners from report/alert modal ( #18971 )
2022-02-28 15:15:15 -08:00
Geido
eafe0cfc6f
fix(Explore): Pivot table V2 sort by failure with D&D enabled ( #18835 )
...
* wip
* Add tests and clean up
* Clean up
* Remove unused import
2022-02-28 18:56:13 +02:00
Kamil Gabryjelski
c56dc8eace
feat(legacy-preset-chart-deckgl): Add ,.1f and ,.2f value formats to deckgl charts ( #18945 )
...
* Add ,.1f and ,.2f value formats to deckgl charts
* Remove duplicated code
2022-02-28 14:07:55 +01:00
AAfghahi
147dc5af71
fix(sql Lab tabs): Empty SQL Lab tabs ( #18817 )
...
* Empty SQL table message on zero tabs
* sql editor no editor tab bug fix
* Revert Error message
* empty state tab state
* added a unit test
* addressed reviews
* kasia feedback
Co-authored-by: Yahya Kayani <yahyakiani1@gmail.com>
2022-02-25 10:48:15 -08:00
Smart-Codi
79633ce673
fix: null schema issue in saved queries ( #18849 )
2022-02-25 16:07:46 +01:00
Michael S. Molina
fd4bd1edbc
chore: Moves components out of the commons folder ( #18931 )
...
* refactor: Moves components out of the commons folder
* Fixes tests
2022-02-25 10:17:32 -03:00
Stephen Liu
2cb3635256
fix(deck.gl): multiple layers map size is shrunk ( #18939 )
2022-02-25 18:26:49 +08:00
Stephen Liu
0b1bc5b5de
fix(native-filter): fix required filters of a dashboard won't load properly ( #18695 )
2022-02-25 17:13:36 +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
Smart-Codi
4923256b01
fix: Monospacing errors in dashboards & charts ( #18796 )
...
* fix: Monospacing errors in dashboards & charts
* removed unnecessary styling
2022-02-24 23:20:01 -07:00
Smart-Codi
0db49b1a7c
fix Metadata browser in SQL not render nicely in Safari ( #18855 )
2022-02-24 23:16:31 -07:00
Phillip Kelley-Dotson
8d38675cbc
chore: add intersect method from backend to fontend for upload extensions ( #18811 )
...
* chore: add intersect method from be to font end
* fix lint
* add suggestion
* fix python test
* run precommit
* fix pytlint
* update changes from masters
2022-02-24 17:42:55 -08:00
Erik Ritter
420a63f343
fix(sqllab): Un-render deselected tabs ( #18934 )
2022-02-24 13:01:02 -08:00
Hugh A. Miles II
209e3f4554
feat: DBC-UI Globally available across the app 🌎 ( #18722 )
...
* more data nav menu
* fix lint and fix nav css
* update test and remove icons
* Update superset-frontend/src/views/components/Menu.test.tsx
Co-authored-by: Hugh A. Miles II <hughmil3s@gmail.com>
* Apply suggestions from code review
* use backend app.link to show new nav changes
* fix lint
* update test
* usetheme and remove chaining
* add more suggestions
* fix lint
* working global db connection
* add allowed extensions to bootstrap and hard code links
* remove backend links
* fix test
* apply stashed gsheets
* fix check for google sheets
* setup gsheets
* add extensions to frontend conf
* fix test and add be changes
* remove package json changes
* test is python test passes
* update python test and reremove app links
* fix tslint issues
* fix other linting tools
* fix pylint
* fix test
* fix
* refactor
* fix lint
* working fixed test
* clean up test
* address concerns
* address concerns
* change to tenarary
Co-authored-by: Phillip Kelley-Dotson <pkelleydotson@yahoo.com>
2022-02-24 13:00:44 -08:00
Smart-Codi
c1ee75dd8e
fix: filter indicator pointing issue on popover ( #18853 )
2022-02-24 11:34:21 -07: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
David Aaron Suddjian
da3bc48803
feat: On window focus, redirect to login if the user has been logged out ( #18773 )
...
* /me api
* test it
* watch for window activation and check auth
* simplify
* more comment
* making ci happy
* mypy should ignore tests
2022-02-24 10:09:41 -08:00
Hugh A. Miles II
94e245d5eb
add force condition for exporting csv ( #18911 )
2022-02-24 09:24:33 -08:00
dependabot[bot]
db8f5087dc
chore(deps-dev): bump css-loader in /superset-frontend ( #17977 )
...
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 6.2.0 to 6.5.1.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases )
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v6.2.0...v6.5.1 )
---
updated-dependencies:
- dependency-name: css-loader
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-23 18:32:14 -07:00
Jesse Yang
cdd4fa58d0
fix(dashboard): incorrect chart error with slow dataset api request ( #18852 )
...
* fix(dashboard): incorrect chart error with slow datasource api request
* update comments
* Add key to styled loading component
2022-02-23 11:02:00 -08:00
Kamil Gabryjelski
0922c3ff2d
feat(native-filters): Implement filter cards ( #18874 )
...
* feat(native-filters): Filter cards first pass
* Add dependencies row and lots of improvements
* Display tooltip correctly
* Styling fix
* Remove accidentaly added changes
* Address comments
* Fix type
* Fixes
2022-02-23 16:59:40 +01:00
Erik Ritter
324601e0bb
fix: FilterBox date endpoints to use [inclusive, exclusive) ( #18857 )
2022-02-23 07:37:39 -08:00
Kamil Gabryjelski
e5c7478026
feat(native-filters): Don't scroll main window when scrolling filter bar ( #18876 )
2022-02-23 15:04:27 +01: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
Yongjie Zhao
4c16586067
fix(key-value): lost url_params after long-url feature ( #18846 )
2022-02-22 21:50:50 +08:00
Geido
a9a892945e
fix: Position of arrows in Table chart ( #18739 )
...
* Fix arrow position
* Improve position
* Add right position
* Improve styling
2022-02-22 15:42:05 +02:00
Evan Rusackas
7cad143ae6
chore: npm audit fix in cypress-base ( #18820 )
2022-02-22 09:22:40 +02:00
Geido
535634310b
Fix annotation cache ( #18788 )
2022-02-21 16:57:22 +02:00
Stephen Liu
c491829e99
chore: unify usages of nvd3 library ( #18828 )
2022-02-21 11:37:57 +01:00
smileydev
3c17c609c9
fix(altered-modal): displayed the metric value in altered modal correctly ( #18813 )
...
Co-authored-by: Evan Rusackas <evan@preset.io>
2022-02-20 16:27:46 -08:00
Srini Kadamati
e3129e8999
docs: add_db_logos ( #18818 )
...
* docs: added yugabytedb and teradata logos in all the right places
* docs: added yugabytedb and teradata logos in all the right places
2022-02-18 20:49:12 -05:00
smileydev
91236a5225
fix(sqllab): Removed the tooltip from CopyToClipboard button in sqllab ( #18749 )
...
* fix(15849): Removed the tooltip from CopyToClipboard button in sqllab
* chore(sqllab): added props for tooltip in CopyToClipboard component
* fix(sqllab): Added arg to storybook and refactor the component
* fix(sqllab): added a test case for hideTooltip
2022-02-18 16:22:21 -07:00
Yongjie Zhao
987740aa8d
fix: contribution operator meets nan value ( #18782 )
2022-02-18 23:28:28 +08:00
Xiang Fu
ea9a904725
Adding pinot logo to ReadMe ( #18798 )
2022-02-18 14:06:33 +08:00
dependabot[bot]
a0a01a1771
chore(deps): bump hosted-git-info in /superset-frontend ( #18805 )
...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info ) from 2.7.1 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases )
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md )
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.7.1...v2.8.9 )
---
updated-dependencies:
- dependency-name: hosted-git-info
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 22:48:10 -07:00
EugeneTorap
8dc2377680
refactor: migrate ExploreCtasResultsButton component to typescript ( #18142 )
...
* Move component to FC & tsx
* Refactoring
* Refactoring
* Refactoring
* Refactoring
* Refactoring
* Refactoring
* Refactoring
* Fix type issue
* Fix type issue
* Fix ResultSet type issue
* Refactoring RootState
2022-02-17 12:54:36 -08:00
smileydev
2d67d2f14e
fix(delete-modal): Changed the color of the help text with grayScale.dark1 in DeleteModal ( #18786 )
...
* fix(delete-modal): Changed the color of the help text with grayScale.dark1 in DeleteModal
* Update superset-frontend/src/components/DeleteModal/index.tsx
Co-authored-by: Evan Rusackas <evan@preset.io>
2022-02-17 11:45:04 -07: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
dependabot[bot]
f5f25ff433
chore(deps): bump y18n from 4.0.0 to 4.0.3 in /superset-frontend ( #18765 )
...
Bumps [y18n](https://github.com/yargs/y18n ) from 4.0.0 to 4.0.3.
- [Release notes](https://github.com/yargs/y18n/releases )
- [Changelog](https://github.com/yargs/y18n/blob/y18n-v4.0.3/CHANGELOG.md )
- [Commits](https://github.com/yargs/y18n/compare/v4.0.0...y18n-v4.0.3 )
---
updated-dependencies:
- dependency-name: y18n
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 18:06:27 +02:00
dependabot[bot]
dc45386562
chore(deps): bump ws from 5.2.2 to 5.2.3 in /superset-frontend ( #18769 )
...
Bumps [ws](https://github.com/websockets/ws ) from 5.2.2 to 5.2.3.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/5.2.2...5.2.3 )
---
updated-dependencies:
- dependency-name: ws
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 18:06:10 +02:00
dependabot[bot]
cd381879c0
chore(deps): bump shelljs from 0.8.4 to 0.8.5 in /superset-frontend ( #18767 )
...
Bumps [shelljs](https://github.com/shelljs/shelljs ) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/shelljs/shelljs/releases )
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5 )
---
updated-dependencies:
- dependency-name: shelljs
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:44:26 +02:00
dependabot[bot]
b3907e8416
chore(deps): bump follow-redirects in /superset-frontend ( #18764 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.3 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.3...v1.14.8 )
---
updated-dependencies:
- dependency-name: follow-redirects
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:44:08 +02:00
dependabot[bot]
9db6ed6ddd
chore(deps): bump path-parse from 1.0.6 to 1.0.7 in /superset-frontend ( #18772 )
...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases )
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7 )
---
updated-dependencies:
- dependency-name: path-parse
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-16 22:57:55 -07:00
dependabot[bot]
88cdc6530d
chore(deps-dev): bump node-fetch in /superset-frontend ( #18766 )
...
Bumps [node-fetch](https://github.com/node-fetch/node-fetch ) from 2.6.1 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases )
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7 )
---
updated-dependencies:
- dependency-name: node-fetch
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-16 20:27:19 -07:00
dependabot[bot]
a0e757bbf2
chore(deps): bump tmpl from 1.0.4 to 1.0.5 in /superset-frontend ( #18768 )
...
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl ) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases )
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5 )
---
updated-dependencies:
- dependency-name: tmpl
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-16 20:26:45 -07:00
dependabot[bot]
9ef0c9c780
chore(deps): bump dns-packet from 1.3.1 to 1.3.4 in /superset-frontend ( #18770 )
...
Bumps [dns-packet](https://github.com/mafintosh/dns-packet ) from 1.3.1 to 1.3.4.
- [Release notes](https://github.com/mafintosh/dns-packet/releases )
- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mafintosh/dns-packet/compare/v1.3.1...v1.3.4 )
---
updated-dependencies:
- dependency-name: dns-packet
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-16 20:26:28 -07:00
dependabot[bot]
dd79c5cde0
chore(deps): bump url-parse from 1.4.7 to 1.5.7 in /superset-frontend ( #18771 )
...
Bumps [url-parse](https://github.com/unshiftio/url-parse ) from 1.4.7 to 1.5.7.
- [Release notes](https://github.com/unshiftio/url-parse/releases )
- [Commits](https://github.com/unshiftio/url-parse/compare/1.4.7...1.5.7 )
---
updated-dependencies:
- dependency-name: url-parse
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-16 20:26:10 -07:00
Phillip Kelley-Dotson
2421d176a2
chore: move data nav menu to plus menu ( #18629 )
...
* more data nav menu
* fix lint and fix nav css
* update test and remove icons
* Update superset-frontend/src/views/components/Menu.test.tsx
Co-authored-by: Hugh A. Miles II <hughmil3s@gmail.com>
* Apply suggestions from code review
* use backend app.link to show new nav changes
* fix lint
* update test
* usetheme and remove chaining
* add more suggestions
* fix lint
* add allowed extensions to bootstrap and hard code links
* remove backend links
* fix test
* add extensions to frontend conf
* fix test and add be changes
* test is python test passes
* update python test and reremove app links
* fix ts and add t's
Co-authored-by: Hugh A. Miles II <hughmil3s@gmail.com>
2022-02-16 17:37:14 -08:00
Evan Rusackas
3cccc63d50
chore: bumping caniuse-lite from 1.0.30001257 to 1.0.30001312 ( #18705 )
2022-02-16 17:20:15 -07:00
Geido
db339534ca
fix(Dashboard): Fix blinking native filters on zoom ( #18717 )
...
* Fix blinking filters
* Improve css pointer
2022-02-16 17:12:51 -07:00
Yann Jouanique
4f12e27c28
Adding OAF countries ( #18745 )
2022-02-16 16:45:11 -07:00
Geido
cf8b57e80d
fix(Explore): Fix cache timeout field not being saved and unit tests ( #18738 )
...
* fix cache timeout
* Add unit tests
2022-02-16 16:55:52 +02:00
Corbin Robb
c8df84985c
fix(CRUD/listviews): Errors with rison and search strings using special characters ( #18056 )
...
* fix errors with rison and useQueryParams
* add test for encode/decode
* add rison link and make test case more readable
Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local>
2022-02-15 16:08:36 -06:00
David Aaron Suddjian
97a879ef27
chore: use switchboard as dependency for embedded sdk ( #18728 )
2022-02-15 11:53:58 -08:00
Adam Dobrawy
8b3e27d68b
refactor: migrate QueryAndSaveBtns to TypeScript and add stories ( #18121 )
...
* refactor: Migrate QueryAndSaveBtns to TS and stories
* fix: change typing notation in QueryAndSaveBtns
2022-02-15 17:04:48 +02:00
Geido
8027f5f0a6
fix: Only redirect to relative paths when authentication expires ( #18714 )
...
* Only redirect to relative paths
* Fix redirect test
2022-02-15 16:59:06 +02:00
maltoze
57c4d0f9a4
fix: passing url params in sqllab ( #15246 )
...
* fix: passing url params in sqllab
* avoid undefined serach and add test
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2022-02-15 13:18:04 +02:00
Corbin Robb
5bb406b296
fix(sqllab): fix query results sorting ( #18666 )
...
* add sorting for query results grid and add natural order sort
* modify tests for natural/original order state
* clean up setState
Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local>
2022-02-14 13:42:04 -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
Lyndsi Kay Williams
801091be03
Fixed dancing tooltip in databaselist action buttons ( #18686 )
2022-02-14 10:53:52 -08: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
Kamil Gabryjelski
c1205b5279
feat(explore): Implement metrics and columns popovers empty states ( #18681 )
...
* feat(explore): Implement empty states for column and metrics popovers
* Fix test
* Change copy
2022-02-14 15:26:56 +01:00
Kamil Gabryjelski
f8b3ece27b
feat(dashboard): Implement empty states for dashboard ( #18712 )
...
* feat(dashboard): Implement empty states for dashboard
* Add empty state to native filters
* Add missing license
* Remove redundant string types from EmptyState
2022-02-14 15:24:02 +01:00
Kamil Gabryjelski
42d97fb078
feat(explore): Implement data table empty states ( #18679 )
...
* feat(explore): Implement explore data table empty states
* Make empty state titles easier to translate
2022-02-14 13:06:31 +01:00
Yongjie Zhao
ea12024d25
chore: remove config of temporary_superset_ui ( #18708 )
2022-02-14 16:12:43 +08:00
Evan Rusackas
324a15d424
chore: removing temporary_superset_ui folder (no longer needed) ( #18706 )
2022-02-13 23:05:54 -07:00
David Aaron Suddjian
225015fd5a
feat: Introduce a library for embedded iframe <-> host communication ( #18652 )
...
* improved logging
* switchboard, and window size
* lint
* tsconfig
* fix path
* fix release script
* tests, debug mode, and error handling
* moar debug mode
* package lock
* formatting
* comment
* wording
* appease the coverage gods
* Async assertions must be awaited or returned
2022-02-11 20:29:23 -08:00
anoojkinaginlsn
09141d2a8f
fix(build): update webpack jsx paths ( #18685 )
2022-02-11 14:28:00 -08:00
Grace Guo
35684c54b3
fix: revert handle null values in time-series table ( #18684 )
2022-02-11 13:29:24 -08:00
Kamil Gabryjelski
a7d505db41
feat: Implement EmptyState components ( #18676 )
...
* feat: Implement EmptyState components
* Fix title in storybook
* Add licenses
* Add max widths
2022-02-11 17:43:09 +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
Hesoyam
d409d68e7f
refactor: migrate DeleteComponentButton to TypeScript ( #18136 )
...
* refactor: migrate DeleteComponentButton to TypeScript
* chore: fix typings
* chore: onDelete default value
* chore: removed props export
* chore: removed onDelete default value
* refactor: functional component
2022-02-11 16:12:19 +02:00
Meitong Qu
9f678e55b9
chore: migrate QueryTable component from jsx to tsx ( #17944 )
...
* chore: fix misspelling of button
* changed QuerySearch/index.jsx to index.tsx
* updated Query type at src/SqlLab/types.ts/Query and extended it into QueryTable
* updated defaultQueryLimit to be optional at ResultSetProps of superset-frontend/src/SqlLab/components/ResultSet/index.tsx
* moved statusAttributes into useMemo hook so that it will not make the dependencies of useMemo Hook change on every render and statusAttributes is only used within useMomo hook
* reset package-lock.json and package.json at frontend
* Acquired redux rootestate type for SqlLab, to be used at useSelector(state)
* updated query to be Query type and added a comment for q.status on line 178
* updated queryTable for typescript conversion
* updated actions type on QueryHistory and QuerySearch
* updated type for actions in SouthPane
* created type for SqlLab redux
Co-authored-by: David Woolner <davidwoolner@gmail.com>
Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com>
2022-02-11 06:54:42 -06:00
Holger Bruch
97d918b692
fix(deck.gl): update view state on property changes ( #17720 ) ( #17826 )
...
* Update viewstate on property changes
* Compare props via isEqual
2022-02-11 13:19:42 +02:00
Adam Dobrawy
7c69a1bc60
chore: improve React import reference consistency ( #18608 )
2022-02-10 21:03:16 -08:00
Hugh A. Miles II
78e20e21ab
feat: add prop to setDBEngine
in DatabaseModal ( #18653 )
...
* saving this now
* remove for testing
* added test
* remove this
* remove set
* remove log
* Update index.test.jsx
2022-02-10 16:12:52 -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
Geido
f565230d8d
fix(Explore): Force different color for same metrics in Mixed Time-Series ( #18603 )
...
* Force different color for same metrics
* Conform to chart labels suffix
* Simplify
2022-02-10 16:21:47 +02:00
Adam Dobrawy
bd0b9f25e4
refactor: migrate SliderControl to TypeScript & added story ( #18120 )
...
* refactor: migrate SliderControl to TypeScript & added story
* fix: Set default onChange in SliderControl
2022-02-10 14:21:48 +01:00
Stephen Liu
82129753b0
fix: dataset modal doesn't work in dev mode ( #18658 )
...
* fix: dataset modal in dev mode
* remove cache
* add comment
2022-02-10 15:17:16 +02:00
Emmanuel Bavoux
00eb6b1f57
feat: editable title xl certified badge ( #18626 )
...
* Add size to EditableTitle certified badge
* Lint EditableTitle file
Co-authored-by: Emmanuel Bavoux <emmanuel.bavoux@free2move.com>
2022-02-09 17:09:20 -08:00
Michael S. Molina
f03b4dbedb
feat: Improves key expiration handling in Explore ( #18624 )
...
* feat: Improves key expiration handling in Explore
* Sets use_slice_data equals true
* Shows toast when recovering
2022-02-09 13:20:21 -03:00
simcha90
bcad1acec2
feat: Dynamic dashboard component ( #17208 )
...
* fix:fix get permission function
* feat: dynamic loading of dashboard components
* fix: revert image
* fix: fix py
* fix: fix py
* fix: pass state to dynamic component
* lint: add typing
* lint: fix lint
* lint: fix lint
* refactor: re-run pipeline
* fix: fix CR notes
* fix: fix CR notes
* move types and interfaces to core
* reorder exports
* rename Scope and Target
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2022-02-09 17:44:40 +02:00
Kamil Gabryjelski
830f2e71d3
feat(explore): Allow using time formatter on temporal columns in data table ( #18569 )
...
* feat(explore): Allow using time formatter on temporal columns in data table
* Fix data table loading
* Return colnames and coltypes from results request
* Fix types
* Fix tests
* Fix copy button
* Fix df is none
* Fix test
* Address comments
* Move useTimeFormattedColumns out of useTableColumns
* Make reducer more readable
2022-02-09 10:29:11 +01:00
Hoàng Minh Quân
28e729b835
fix(histogram): display correct percentile value instead of formula ( #18084 )
...
Co-authored-by: quanhm <quanhm@vng.com.vn>
2022-02-08 20:30:20 -08:00
Christopher C Fleming
51f716f573
refactor(ExploreCtasResultsButton): convert to functional component ( #17939 )
...
* chore: fix misspelling of button
* Feat: Update ExploreCtasResultsButton to functional component
* Fix pull request
* Fix index.tsx
* Fix prettier issues and actions
* Streamline the onClick so it calls visualize directly
* Update MSP and MDP to arrow functions
* Test destructured props
* Fix props destructuring error
* Simplify with optional chaining on line 94 and clean up buildVizOptions
Co-authored-by: David Woolner <davidwoolner@gmail.com>
Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com>
2022-02-08 13:23:45 -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
9c08bc0ffc
fix: change database database selector ( #18609 )
...
* fix: change database selector
* fix lint
2022-02-08 12:22:20 -05:00
EugeneTorap
cdfcbbaf30
refactor: migrate ExploreResultsButton component to FC & tsx ( #18143 )
...
* Move ExploreResultsButton to FC & tsx
* Refactoring
* Refactoring
* Refactoring
* Refactoring
* Refactoring
* Refactoring
* Refactoring
* Fix test
2022-02-08 10:57:08 -05:00
Adam Dobrawy
fa8c81e1b1
chore: upgrade BoundsControl to TS ( #18200 )
...
* chore: upgrade BoundsControl to TS,FC, add storybook
* chore: improve React import reference consistency
2022-02-08 14:45:10 +02:00
Phillip Kelley-Dotson
4e2bdd49c4
chore: allow sqla docs to use supersettext ( #18585 )
...
* chore: allow sqla docs to use supersettext
* Update SqlAlchemyForm.tsx
2022-02-07 12:45:42 -08:00
EugeneTorap
85c8d0183b
refactor: remove redundant propTypes in ColumnElement ( #18144 )
...
* Remove redundant propTypes
* Refactoring
* Refactoring
2022-02-07 13:25:07 -05:00
Ville Brofeldt
cebff83d0c
fix(jest): add superset-frontend to testRegex ( #18601 )
2022-02-07 19:11:48 +02:00
Yongjie Zhao
aa21a963a6
feat: smart tooltip in datasourcepanel ( #18080 )
2022-02-07 22:48:23 +08:00
Phillip Kelley-Dotson
151d30bea4
fix: sqllab schema select error msg ( #18564 )
...
* fix: sqllab schema select error msg
* remove console logs
* fix lint
2022-02-04 10:21:18 -08:00
Kamil Gabryjelski
6cad7b1d05
chore(explore): make adhoc columns available without UX BETA ff ( #17921 )
...
* chore(explore): make adhoc columns available without UX BETA ff
* Remove redundant imports
2022-02-04 14:01:16 +01:00
Ville Brofeldt
8b0634c9ed
fix(listview): add nowrap to view mode container ( #18246 )
2022-02-04 07:42:10 +02:00
Grace Guo
a80efa609c
fix: new alert should have force_screenshot be true ( #18182 )
...
* fix: new alert should have force_screenshot be true
* fix comments
2022-02-02 17:00:05 -08:00
Kamil Gabryjelski
70969821de
feat(explore): Keep or reset chart config after datasource change ( #18215 )
...
* feat(explore): Keep or reset chart config after datasource change
* Update copy
* Remove useDispatch
* fix test
* Fix bugs
* Remove ts ignore
* Scroll top when datasource changes
* Fix crashing when switching viz type
2022-02-02 21:28:35 +01:00
Ville Brofeldt
2929bb1680
fix(plugin-chart-echarts): fix forecasts on verbose metrics ( #18252 )
...
* fix(plugin-chart-echarts): fix forecasts on verbose metrics
* oops! 🙊
* check for DTTM_ALIAS
2022-02-02 13:51:51 +02:00
Adam Dobrawy
341d85589c
refactor: upgrade ControlHeader to TSX & FC and add storybook ( #18188 )
...
* refactor: upgrade ControlHeader to TSX & FC and add storybook
* fix: Add story for error in ControlHeader
* apply review comments
2022-01-31 10:03:39 -08:00
Lyndsi Kay Williams
c40b337978
feat: Added success toasts for database, dataset, chart, dashboard, and query imports ( #18190 )
...
* Added imports toasts
* Removed generic import toast
* Remove addSuccessToast from props
* Added addSuccessToast back to prop type
* Made success toast strings translatable
2022-01-28 15:29:44 -06:00
Erik Ritter
7f3453f3ea
fix: Add mexico back to country map ( #18219 )
2022-01-28 13:04:53 -08: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
Josue Lugaro
a06e043d7f
refactor: sqleditorleftbar to typescript ( #17926 )
...
* Creating draft PR to address bug
* Still working on solving re rendering bug
* Cleaning up in preparation for push
* Starting conversion to TypeScript
* Working on conversion
* Continued working on typescript conversion, referenced other files for different types, still a rough version of final product
* Added type assertion to actions in props, and added types to some component functions
* Progress on typescript conversion
* Fixed typing issue on collapseStyles
* Fixed styling on div, child of StyledScrollbarContainer
* Attempting to address issues with the actions passed into the TableElement
* Resolved typescript warning on actions of the TableElement component
* Made changes suggested by Arash
* Tested the component without dbId, cleaned up lingering comments
* Made more changes suggested by Arash, removed offline from the SqlEditorLeftBarProps interface
* Made change suggested by Hugh
* Changed the expanded type from any to boolean
2022-01-28 12:07:32 -08:00
Ville Brofeldt
cec4677971
fix(plugin-chart-echarts): use verbose x-axis name when defined ( #18217 )
2022-01-28 16:45:57 +02:00
Kamil Gabryjelski
37430d4044
fix(explore): Pie chart label formatting when series is temporal ( #18216 )
2022-01-28 15:14:40 +01:00
Yongjie Zhao
ea2d6681dd
chore: move controlPanel into time_table ( #18160 )
2022-01-28 12:13:12 +08:00
Stephen Liu
7c937ca182
fix(native-filters): values is not sorted when setting sort option ( #18145 )
...
* fix(native-filters): values is not sorted when setting sort option
* fix: revert
* pass sortComparator
2022-01-27 19:15:53 -07:00
Geido
a4e93afdbf
Fix default value ( #18180 )
2022-01-27 17:40:32 +01:00
Yongjie Zhao
20b4ae1ef9
fix: null value and empty string in filter ( #18171 )
2022-01-27 22:58:06 +08:00
Ville Brofeldt
dbe0a8b519
chore: bump echarts to 5.3.0 ( #18162 )
...
* chore: bump echarts to 5.3.0
* change to official 5.3.0 and reintroduce bold effect
2022-01-27 11:26:00 +02:00
Stephen Liu
a2bad7551e
fix(dashboard): support input undo when editing chart title ( #18137 )
2022-01-27 14:53:46 +08:00
Hugh A. Miles II
e6bb0fc7ad
feat: Add toast for successful table or schema refreshes in Sqllab ( #18169 )
...
* save
* add use redux to test
* update test for db selector
* add condition for refresh only
2022-01-26 20:26:50 -05:00
Phillip Kelley-Dotson
ac564ea6b7
feat: add success message for database modal ( #18183 )
2022-01-26 15:52:15 -08:00
David Aaron Suddjian
4ad5ad045a
feat: embedded dashboard core ( #17530 )
...
* feat(dashboard): embedded dashboard UI configuration (#17175 ) (#17450 )
* setup embedded provider
* update ui configuration
* fix test
* feat: Guest token (for embedded dashboard auth) (#17517 )
* generate an embed token
* improve existing tests
* add some auth setup, and rename token
* fix the stuff for compatibility with external request loaders
* docs, standard jwt claims, tweaks
* black
* lint
* tests, and safer token decoding
* linting
* type annotation
* prettier
* add feature flag
* quiet pylint
* apparently typing is a problem again
* Make guest role name configurable
* fake being a non-anonymous user
* just one log entry
* customizable algo
* lint
* lint again
* 403 works now!
* get guest token from header instead of cookie
* Revert "403 works now!"
This reverts commit df2f49a6d4
.
* fix tests
* Revert "Revert "403 works now!""
This reverts commit 883dff38f1
.
* rename method
* correct import
* feat: entry for embedded dashboard (#17529 )
* create entry for embedded dashboard in webpack
* add cookies
* lint
* token message handshake
* guestTokenHeaderName
* use setupClient instead of calling configure
* rename the webpack chunk
* simplified handshake
* embedded entrypoint: render a proper app
* make the embedded page accept anonymous connections
* format
* lint
* fix test
# Conflicts:
# superset-frontend/src/embedded/index.tsx
# superset/views/core.py
* lint
* Update superset-frontend/src/embedded/index.tsx
Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>
* comment out origins checks
* move embedded for core to dashboard
* pylint
* isort
Co-authored-by: David Aaron Suddjian <aasuddjian@gmail.com>
Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>
* feat: Authorizing guest access to embedded dashboards (#17757 )
* helper methods and dashboard access
* guest token dashboard authz
* adjust csrf exempt list
* eums don't work that way
* Remove unnecessary import
* move row level security tests to their own file
* a bit of refactoring
* add guest token security tests
* refactor tests
* clean imports
* variable names can be too long apparently
* missing argument to get_user_roles
* don't redefine builtins
* remove unused imports
* fix test import
* default to global user when getting roles
* missing import
* mock it
* test get_user_roles
* infer g.user for ease of tests
* remove redundant check
* tests for guest user security manager fns
* use algo to get rid of warning messages
* tweaking access checks
* fix guest token security tests
* missing imports
* more tests
* more testing and also some small refactoring
* move validation out of parsing
* fix dashboard access check again
* add more test
Co-authored-by: Lily Kuang <lily@preset.io>
* feat: Row Level Security rules for guest tokens (#17836 )
* helper methods and dashboard access
* guest token dashboard authz
* adjust csrf exempt list
* eums don't work that way
* Remove unnecessary import
* move row level security tests to their own file
* a bit of refactoring
* add guest token security tests
* refactor tests
* clean imports
* variable names can be too long apparently
* missing argument to get_user_roles
* don't redefine builtins
* remove unused imports
* fix test import
* default to global user when getting roles
* missing import
* mock it
* test get_user_roles
* infer g.user for ease of tests
* remove redundant check
* tests for guest user security manager fns
* use algo to get rid of warning messages
* tweaking access checks
* fix guest token security tests
* missing imports
* more tests
* more testing and also some small refactoring
* move validation out of parsing
* fix dashboard access check again
* rls rules for guest tokens
* test guest token rls rules
* more flexible rls rules
* lint
* fix tests
* fix test
* defaults
* fix some tests
* fix some tests
* lint
Co-authored-by: Lily Kuang <lily@preset.io>
* SupersetClient guest token test
* Apply suggestions from code review
Co-authored-by: Lily Kuang <lily@preset.io>
Co-authored-by: Lily Kuang <lily@preset.io>
2022-01-25 16:41:32 -08:00
Lyndsi Kay Williams
2491b89f29
Columns tab name field no longer editable, calculated columns rows now vertically aligned ( #18164 )
2022-01-25 14:34:56 -06:00
Stephen Liu
7bb867407a
fix(textarea-control): ace editor input exception ( #18146 )
2022-01-25 16:57:12 +01:00
Kamil Gabryjelski
c77d24cda3
fix: undefined error when adding extra sequential color scheme ( #18152 )
2022-01-24 19:20:49 +01:00
Kamil Gabryjelski
e632193eb0
feat(explore): more toast feedback on user actions in Explore ( #18108 )
...
* feat(explore): add toasts feedback when user copies chart url
* Show toast message when updating chart properties
* Change toast type to success when saving chart
* Use success toast from props
* Fix tests
* Use withToasts instead of dispatch
* Use PropertiesModalProps instead of any
2022-01-24 11:42:24 +01:00
Kamil Gabryjelski
d9eef8ec2f
feat(dashboard): add toast feedback to dashboard actions ( #18114 )
2022-01-24 11:42:12 +01:00
Kamil Gabryjelski
9fa2812343
feat(annotation): add toast feedback to annotation templates ( #18116 )
2022-01-24 11:41:39 +01:00
jayakrishnankk
4b89ac7447
chore: migrating storybook jsx to typescript #18100 ( #18133 )
...
* Migrating storybook jsx to typescript #18100
* Migrating storybook jsx to typescript
Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com>
2022-01-24 14:32:18 +08:00
Hammad-Raza
0cec0c9a68
feat(country-map): added new countries in country-chart-map ( #18081 )
2022-01-22 12:05:20 +08:00
Ville Brofeldt
e9651ea52f
feat(plugin-chart-echarts): support non-timeseries x-axis ( #17917 )
...
* feat(plugin-chart-echarts): support non-timeseries x-axis
* fix tests
* change formula return type from Date to number
* add x_axis test coverage
* rename func and improve coverage
* add x-axis control to bar chart
* remove redundant console.log
* fix description
* make x-axis control mandatory
* 🙃
* fix x-axis formatter
* fix showValues
* fix implicit rDTTM_ALIAS references in postProcessing
* replace TIME_COLUMN with DTTM_ALIAS
* fix remaining implicit indexes
* fix: Disable filtering on wide result sets (#18021 )
* fix: handle null values in time-series table (#18039 )
* cleanup column_type_mappings (#17569 )
Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
* important change to MakeFile (#18037 )
* add missing is_timeseries to pivot op
Co-authored-by: Erik Ritter <erik.ritter@airbnb.com>
Co-authored-by: Grace Guo <grace.guo@airbnb.com>
Co-authored-by: Đặng Minh Dũng <dungdm93@live.com>
Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com>
2022-01-21 21:23:23 +02:00
Stephen Liu
b083b3421f
fix(explore): fix chart embed code modal glitch ( #17843 )
2022-01-21 09:11:33 -07:00
Adam Dobrawy
a5e805ef2a
refactor: migrate RowCountLabel to TypeScript & added story ( #18105 )
...
* enable superbook for explore component
* migrate RowCountLabel to TypeScript
* add storybook for RowCountLabel
2022-01-20 15:35:09 +01:00
Adam Dobrawy
c3a17a7228
Migrate Checkbox story to tsx - see #18100 ( #18101 )
...
Looks good!
2022-01-20 15:33:45 +01:00
Josue Lugaro
035638c958
refactor: sqleditorleftbar to functional ( #17807 )
...
* Working on converting sqleditorleftbar to functional component
* Creating draft PR to address bug
* Still working on solving re rendering bug
* infinite rerender fix
* Creating draft PR to address bug
* Cleaning up in preparation for push
* Made changes suggested by Elizabeth
* Fixed issues as per Lindsey's comment
Co-authored-by: Arash <arash.afghahi@gmail.com>
2022-01-19 15:06:28 -06:00
Stephen Liu
22896f2803
feat: add chart description in info tooltip ( #17207 )
...
* feat: add chart list description
* fix: text overflow
* fix: text-overflow with line-height
2022-01-19 21:24:17 +08:00
AAfghahi
88db2cc0ab
refactor(sql_lab): SQL Lab Persistent Saved State ( #17771 )
...
* a lot of console logs
* testing
* test
* added saved_query to remoteId
* created useEffect so that title properly changes in modal
* Update superset-frontend/src/SqlLab/actions/sqlLab.js
Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
2022-01-18 13:10:31 -05:00
Ville Brofeldt
5bfe2d47b0
fix(generator): add lockfile and fix styling issues ( #18073 )
...
* fix(generator): add lockfile and fix styling issues
* fix margins and remove redundant scroll
* update tutorial
2022-01-18 12:37:09 +02:00
Stephen Liu
3b64563f3f
fix(dashboard): scope of nativefilter not update ( #18048 )
2022-01-18 16:51:51 +08:00
Yongjie Zhao
0c7f7288d8
feat(advanced analytics): support groupby in resample ( #18045 )
2022-01-17 18:42:59 +08:00
Ville Brofeldt
8dea7f500b
fix(generator): more cleanup to plugin framework ( #18027 )
...
* fix(generator): more cleanup to plugin framework
* fix typo and package name
* add docs
* fix typo
* Update superset-frontend/webpack.config.js
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
* fix generator reference
* add steps to tutorial and fix package version
* refine docs/readme
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2022-01-17 10:23:35 +02:00
Ville Brofeldt
de8a1fa9c6
chore(plugin-chart-echarts): add types to controls ( #18059 )
2022-01-16 14:21:47 +02:00
Grace Guo
26dc600aff
fix: handle null values in time-series table ( #18039 )
2022-01-13 21:47:07 -08:00
Erik Ritter
343d3f8f7a
fix: Disable filtering on wide result sets ( #18021 )
2022-01-13 10:11:18 -08:00
Beto Dealmeida
51090c3f1b
feat: shorter timeout on test_connection ( #18001 )
...
* feat: shorter timeout on test_connection
* pip-compile-multi --no-upgrade
* Fix for SQLite
* Return 408
* Add test
2022-01-12 13:01:34 -08:00
Corbin Robb
6bd4dd257a
feat(timeseries-chart): add percentage threshold input control ( #17758 )
...
* feat(timeseries-chart): add percentage threshold control for stack series labels
* feat: move threshold vlues to an array
* add tests for showValue, onlyTotal, and percentThreshold
* feat: add another test
* revert ChartProps typesetting, fix misnamed variable on form data type, and other minor changes
* fix percentage threshold push equation
* fix percentage threshold push equation in tests
* change default on control to match form
* attempt fix form defaults import
Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local>
2022-01-12 14:46:27 -06:00
Erik Ritter
27000da2f8
fix: SQL Lab sorting of non-numbers ( #18006 )
2022-01-12 11:09:59 -08:00
AAfghahi
536ca1f62c
chore(DatasourceEditor): Create Datasource Legacy Editor Feature Flag ( #18003 )
...
* a lot of console logs
* adding new feature flag for datasource editor
2022-01-12 14:02:53 -05:00
Jesse Yang
f451081166
feat(chart): add Mexico to country map viz ( #18007 )
2022-01-12 08:41:12 -08:00
Yongjie Zhao
46715b295c
refactor: remove unused ts-jest ( #17996 )
2022-01-11 23:43:45 +08:00
Yongjie Zhao
d8d47ce054
chore: reenable lint for test files ( #17979 )
...
* chore: reenable lint for test files
* fix comments
2022-01-11 14:22:56 +08:00
Yongjie Zhao
e91b9a678f
refactor: move superset-ui dependencies to peerDependencies ( #17965 )
...
* chore: add commit message
* update learn
* update superset-ui-demo
* move superset-ui into peerDeps
* add --no-private argument in lerna version
* fix conflicts
* refresh lock file
2022-01-11 13:53:37 +08:00
Phillip Kelley-Dotson
3d829fc3c8
fix: dashboard reload crash ( #17992 )
...
* fix dashboard reload
* add more strict case
2022-01-10 18:34:28 -08:00
Lyndsi Kay Williams
f7add546ad
Fixed error handling in Report modal ( #17988 )
2022-01-10 17:01:08 -06:00
Phillip Kelley-Dotson
c139312bb3
fix: dashboard full screen layout ( #17985 )
...
* fix: full screen mode for dashboard
* remove console
2022-01-10 15:58:39 -07:00
Lyndsi Kay Williams
df69920a2e
Moved dataset editor lock to top of component ( #17930 )
2022-01-10 16:55:00 -06:00
Lyndsi Kay Williams
f6b9393999
Tooltip no longer dancing ( #17931 )
2022-01-10 16:54:38 -06:00
serenajiang
05d9cde203
feat: update time comparison choices (again) ( #17968 )
2022-01-10 10:08:15 -08:00
Erik Ritter
1e544ce531
fix: null dates in table chart ( #17974 )
2022-01-10 10:07:59 -08:00
Stephen Liu
bd9e1235a9
fix(dashboard): scope status of filter not update in dashboard metadata ( #17945 )
...
* fix(dashboard): scope status of filter not update in dashboard metadata
* fix save
2022-01-10 10:19:25 -07:00
Kamil Gabryjelski
35f4c33245
fix(native-filters): apply default value correctly when it's set ( #17982 )
2022-01-10 17:32:31 +01:00
Evan Rusackas
c0a769581f
chore: bump typescript to 4.5.4, and adjust storybook story. ( #17971 )
...
* chore: bump typescript to 4.5.4, and adjust storybook story to pass linting
* ugh... missed a space. Thanks, linter :)
* nixing erroneous package lock file
2022-01-09 21:01:59 -07:00
Evan Rusackas
fecb6d91c0
chore: fixing annoying warning about escaping in Emotion styling ( #17972 )
...
* chore: fixing annoying warning about escaping in Emotion styling
* linting ✨
2022-01-09 08:44:17 -07:00
Yongjie Zhao
cb97e37a92
refactor: import value name from root of superset-ui/core ( #17947 )
...
* chart
* index and number-format
* char-composition and color
* connection
* dimension and math-expression
* models
* query
* time-format
* residual modules
* change config of jest and eslint
config
* wip
update package.json
* fix lint
* WithLegend import from superset-ui/core
2022-01-08 09:16:24 +08:00
Phillip Kelley-Dotson
765c72a858
fix: update slug name ( #17961 )
...
* fix: fix update slug name
* Update superset-frontend/src/dashboard/components/nativeFilters/FilterBar/index.tsx
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-01-07 11:37:12 -08:00
dependabot[bot]
5bf9634c29
chore(deps): bump @storybook/addon-actions in /superset-frontend ( #17904 )
...
Bumps [@storybook/addon-actions](https://github.com/storybookjs/storybook/tree/HEAD/addons/actions ) from 6.3.12 to 6.4.9.
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v6.4.9/addons/actions )
---
updated-dependencies:
- dependency-name: "@storybook/addon-actions"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-07 11:54:13 -07: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
Michael S. Molina
bb7e979142
chore: Moves spec files to the src folder - iteration 9 ( #17901 )
2022-01-07 15:23:57 -03:00
Evan Rusackas
2098898b31
chore: Adding more viz category mappings for viz picker ( #17956 )
...
* Tagging two Bar charts
* tagging two more nvd3 bar charts
2022-01-07 08:12:33 -07: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
dependabot[bot]
3b5cee4d99
chore(deps): bump urijs from 1.19.6 to 1.19.7 in /superset-frontend ( #17962 )
...
Bumps [urijs](https://github.com/medialize/URI.js ) from 1.19.6 to 1.19.7.
- [Release notes](https://github.com/medialize/URI.js/releases )
- [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md )
- [Commits](https://github.com/medialize/URI.js/compare/v1.19.6...v1.19.7 )
---
updated-dependencies:
- dependency-name: urijs
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-07 10:11:10 +02:00
Erik Ritter
79b6dc251e
fix: package.json local file dependencies ( #17957 )
2022-01-07 13:44:27 +08: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
Yongjie Zhao
97a78d3301
refactor(storybok): upgrade to webpack5 in storybook of plugins ( #17909 )
...
* refactor: use webpack5 in plugins storybook
* remove ./src from packages.json
2022-01-05 10:39:33 +08:00
David Aaron Suddjian
de3d3973a2
fix: process color scheme configs correctly ( #17786 )
2022-01-04 15:27:10 -08:00
Yongjie Zhao
eff4d387de
fix(cypress): flake cypress test case ( #17918 )
2022-01-04 16:56:13 -03:00
Stephen Liu
07998fea68
fix(explore): simple tab content input problem ( #17872 )
2022-01-03 12:41:19 +08:00
Yongjie Zhao
52f5dcb58e
fix(deckgl): deckgl unable to load map ( #17851 )
...
* fix(deckgl): deckgl unable to load map
* add react-map-gl in peerDependencies
2021-12-23 13:32:30 +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
Yongjie Zhao
9840fbf49b
refactor(monorepo): update plugin dependencies ( #17837 )
...
* refactor(monorepo): use local dependencies in packages.json
* add prettier ignore
* update commit message
* fix release workflow
* refine release script
2021-12-22 16:26:12 +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
Kamil Gabryjelski
2c3f39f3f2
feat(plugin-chart-pivot-table): support series limit ( #17803 )
...
* feat(plugin-chart-pivot-table): support series limit
* Add a migration
* Use non-legacy series limit controls
* Add a todo comment
* Bug fix
2021-12-21 16:58:54 +01:00
Ville Brofeldt
19daf65b54
chore(generator-superset): migrate to monorepo ( #17829 )
...
* chore(generator-superset): migrate to monorepo
* add todo and remove webpack reference from template
* fix linting errors
* remove redundant test file
2021-12-21 11:44:21 +02: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
Yongjie Zhao
0a33fcf318
chore: add lerna version ( #17828 )
2021-12-20 23:06:51 +08:00
Yongjie Zhao
8fe2f5ffff
refactor(monorepo): migrate plugins release workflow ( #17827 )
2021-12-20 21:58:10 +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
Kamil Gabryjelski
a2d8b94c52
chore(plugin-chart-table): move adhoc filters control closer to the metrics ( #17797 )
2021-12-17 14:39:09 +01:00
Kamil Gabryjelski
b5dca4ebfe
chore(plugin-chart-pivot-table): swap order of Columns and Rows controls ( #17798 )
2021-12-17 14:32:49 +01:00
Kamil Gabryjelski
9c9edbe8bc
chore(plugin-chart-pivot-table): migrate react-pivottable into superset codebase ( #17769 )
...
* chore(plugin-chart-pivot-table): migrate react-pivottable into superset codebase
* Fix lint errors
* Use named export
* Clean up the code
2021-12-17 12:00:32 +01: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
Kamil Gabryjelski
82b47cacba
fix(plugin-chart-table): sort alphanumeric columns case insensitive ( #17765 )
2021-12-15 11:48:25 -07: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
Ville Brofeldt
6d97e89ad1
chore: bump react-resize-detector ( #17764 )
2021-12-15 17:14:54 +02: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
Yongjie Zhao
07bbe8448b
refactor(monorepo): change coverage of core to 100% ( #17698 )
2021-12-14 16:19:55 +08:00
Yahya Kayani
89d0d38ed0
fix(Mixed Timeseries Chart): Custom Metric Label ( #17649 )
...
* fix(Mixed Timeseries Chart): Custom Metric Label
* Fixed Formatting
* Fixed Type mismatch from queryFormData
* Reverted type change and used extracted datasource
* Type fix for mapping
2021-12-14 08:41:04 +02: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
Yongjie Zhao
04e3cfa607
refactor(monorepo): relocate deckgl to Superset ( #17596 )
2021-12-09 08:45:18 +08: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
Kamil Gabryjelski
e660ea2533
fix(legacy-plugin-chart-calendar): fix timestamp timezone in Calendar ( #17664 )
...
* fix(legacy-plugin-chart-calendar): fix timestamp timezone in Calendar
* Fix prop type
2021-12-07 14:29:12 +01:00
Yongjie Zhao
4306289bfc
refactor(monorepo): frontend code cleanup after monorepo ( #17639 )
...
* chore: frontend cleanup
* remove unused files
* remove stylelint
* arrange tsconfig
* updates
2021-12-04 10:55:04 +08: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
Kamil Gabryjelski
e8ce8733f7
chore(plugin-chart-pivot-table): Add more descriptive tooltips for sorting [ID-29] ( #17634 )
...
* chore(plugin-chart-pivot-table): Add more descriptive tooltips for sorting
* Update superset-frontend/plugins/plugin-chart-pivot-table/src/plugin/controlPanel.tsx
Co-authored-by: Evan Rusackas <evan@preset.io>
* Update superset-frontend/plugins/plugin-chart-pivot-table/src/plugin/controlPanel.tsx
Co-authored-by: Evan Rusackas <evan@preset.io>
Co-authored-by: Evan Rusackas <evan@preset.io>
2021-12-02 12:53:14 -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