Commit Graph

4399 Commits

Author SHA1 Message Date
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