Commit Graph

4443 Commits

Author SHA1 Message Date
Kamil Gabryjelski
f9c7405e0e
chore(explore): Set Drag&Drop feature flags to True by default (#19046)
* chore(explore): Set Drag&Drop feature flags to True by default

* fix tests
2022-03-08 18:50:51 +01:00
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