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