Commit Graph

11061 Commits

Author SHA1 Message Date
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
wiktor2200 4ab0786ab3
fix: bump Helm chart release version (#18751) 2022-02-16 07:15:51 -08: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
Grace Guo 59b811ac5b
fix: report list search by created_by (#18725) 2022-02-15 19:37:17 -08:00
Lily Kuang b2613f648c
feat(embedded): make guest token JWT audience callable or str (#18748)
* feat(embedded): make guest token JWT audience callable

* reset GUEST_TOKEN_JWT_AUDIENCE after test

* helper method for get audience
2022-02-15 17:47:32 -08: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
John Bodley 342c55bc18
Update UPDATING.md (#18664) 2022-02-15 08:35:05 -05: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
Lily Kuang e6ea197e9f
feat(embedded): aud claim and type for guest token (#18651)
* add aud claim and type for guest token

* update test

* lint

* make jwt audience configurable

* lint

* Apply suggestions from code review

Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>

* verify aud

* add tests for aud and type claim

Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>
2022-02-14 10:43:35 -08:00
Evan Rusackas 4001165f55
chore: updating link to newer viz plugin blog post (#18707)
* chore: updating link to newer viz plugin blog post

* adding official docs link as well.

* another teensy text tweak
2022-02-14 10:12:52 -07: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 8d6aff3e5d
refactor: decouple pandas postprocessing operator (#18710) 2022-02-14 16:44:26 +08:00
Yongjie Zhao ea12024d25
chore: remove config of temporary_superset_ui (#18708) 2022-02-14 16:12:43 +08:00
Ville Brofeldt 168899b9af
docs: add docs for viz plugin development (#18709) 2022-02-14 10:03:26 +02: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
Beto Dealmeida 40ab26d4f1
fix: unambiguous trino driver (#18683) 2022-02-11 17:40:20 -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
Adam Dobrawy 31d363716d
Add craig-rueda as owner of Helm Chart (#18621) 2022-02-11 16:48:19 +02: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
wiktor2200 33d1c96764
feat(Helm): Redis with password supported in helm charts and redis chart version updated (#18642)
* fix import_datasources documentation

* Redis with password supported in helm chart

* fix conditionals format and redisURL
2022-02-10 09:45:30 -08:00
Andrii Vakarev 4db70b5c18
feat(helm): allow to customize init image (#18649)
* feat(helm): allow to customize init image

* chore(helm): bump chart version to 0.5.8
2022-02-10 09:43:58 -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 9ca55a7c83
chore: Update Docusaurus links (#18581)
* Fix links

* Fix internal link refs

* Add contribution page redirect
2022-02-10 17:55:58 +02: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
Ville Brofeldt 12cddb7ade
chore(docs): add note about quote handling in filters (#18657) 2022-02-10 12:36:04 +02:00
Sujith Kumar S b8aef10098
fix(mssql): support cte in virtual tables (#18567)
* Fix for handling regular CTE queries with MSSQL,#8074

* Moved the get_cte_query function from mssql.py to base.py for using irrespetcive of dbengine

* Fix for handling regular CTE queries with MSSQL,#8074

* Moved the get_cte_query function from mssql.py to base.py for using irrespetcive of dbengine

* Unit test added for the db engine CTE SQL parsing.

Unit test added for the db engine CTE SQL parsing.  Removed additional spaces from the CTE parsing SQL generation.

* implement in sqla model

* lint + cleanup

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2022-02-10 10:28:05 +02:00