Commit Graph

11109 Commits

Author SHA1 Message Date
cccs-Dustin
00a53dae73 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

(cherry picked from commit 5a5ff99c37)
2022-04-03 14:02:11 +03:00
Michael S. Molina
ea534e2386 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-04-03 14:00:26 +03:00
Phillip Kelley-Dotson
073be5d74f chore: change case for upload selection (#19021)
* chore: change case for upload selection

* fix label

(cherry picked from commit 299b5dc644)
2022-04-03 13:52:39 +03:00
Beto Dealmeida
8951e23ac6 fix: remove unneeded complexity in migration (#19022)
(cherry picked from commit 50bb86d666)
2022-04-03 13:52:39 +03:00
smileydev
3500b31551 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

(cherry picked from commit 6fe2431676)
2022-04-03 13:52:39 +03:00
dependabot[bot]
fcf98ec889 chore(deps): bump url-parse from 1.5.7 to 1.5.10 in /docs (#19019)
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.7 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.7...1.5.10)

---
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>
(cherry picked from commit 6becd38e7f)
2022-04-03 13:52:39 +03:00
Jesse Yang
78e85aed02 feat: remove loading indicator when typing in select (#18799)
(cherry picked from commit 5a8eb09afb)
2022-04-03 13:52:39 +03:00
Beto Dealmeida
75afb3a7b6 feat: show user email in dashboard API (#19004)
* Feat: show user email in dashboard API

* Fix test

(cherry picked from commit be88cb9ba0)
2022-04-03 13:52:38 +03:00
John Bodley
3b2b6674f6 fix(sqllab): Replace stringified 'null' schema column values with NULL (#18992)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
(cherry picked from commit 19eb73b316)
2022-04-03 13:52:38 +03:00
Ville Brofeldt
5a8cd3477b chore(cache): default to SimpleCache in debug mode (#18976)
* chore(cache): default to SimpleCache in debug mode

* lint

* clean up type

* use util

* fix integration test cache configs

* remove util from cache manager

* remove trailing comma

* fix more tests

* fix truthiness check

* fix tests and improve deprecation notice

* fix default cache threshold

* move debug check to cache_manager

* remove separate getter

* update docs

* remove default cache config

(cherry picked from commit a04f1d4c87)
2022-04-03 13:52:38 +03:00
Ville Brofeldt
6d2b583fee fix(chart): deprecate persisting url_params (#18960)
* fix(chart): deprecate peristing url_params

* remove duplicated backend logic

* use omitBy

* simplify omit

(cherry picked from commit bd63a1bd98)
2022-04-03 13:52:38 +03:00
Craig Rueda
3c90220cf6 fix(packages): Fixing users packages (#18973)
* Fixing users packages

* Linting me() fn

* Fixing tests / moving packages

* Fixing imports

(cherry picked from commit 5fc7adb55b)
2022-04-03 13:52:38 +03:00
Srini Kadamati
e8cf9446a6 docs: renamed yugabytedb to yugabyte as per request by Yugabyte team (#18983)
Co-authored-by: Srinivasa Kadamati <srinik@Srinivasas-MacBook-Air.local>
(cherry picked from commit 563cce1e29)
2022-04-03 13:52:37 +03:00
Brian Nguyen
4a91f76798 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>
(cherry picked from commit f497c1900e)
2022-04-03 13:52:37 +03:00
Ville Brofeldt
603f43bd95 bump and harmonize urijs and xss (#18922)
(cherry picked from commit 834686a3d9)
2022-04-03 13:52:37 +03:00
Kamil Gabryjelski
8bfb2f854e chore(native-filters): Add unit tests for filter cards (#18967)
* chore(native-filters): Add unit tests for filter cards

* Fix test

(cherry picked from commit ec746c2a10)
2022-04-03 13:52:37 +03:00
smileydev
178736ad27 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

(cherry picked from commit ca93d63bbb)
2022-04-03 13:52:37 +03:00
smileydev
fe0f1de64b fix(external-link): change the external link in creating chart dashboard (#18982)
(cherry picked from commit 37752cea9b)
2022-04-03 13:52:36 +03:00
Kamil Gabryjelski
f7b72d9486 fix(native-filters): Default value not shown in native filters (#18963)
* fix(native-filters): Default value not shown in native filters

* Reuse stringified datamask

(cherry picked from commit 2072225a86)
2022-04-03 13:52:36 +03:00
Stephen Liu
1f4ff51322 fix(plugin-chart-echarts): fix customize margin (#18958)
(cherry picked from commit c4e3c45b3c)
2022-04-03 13:52:36 +03:00
Grace Guo
928309841c fix: add/find owners from report/alert modal (#18971)
(cherry picked from commit 7e336d1230)
2022-04-03 13:52:36 +03:00
John Bodley
10d382de56 chore(security): Remove obsolete FAB metric_access permission (#16860)
* Update manager.py

* Update manager.py

* Update manager.py

* Update manager.py

(cherry picked from commit 85f0715644)
2022-04-03 13:52:36 +03:00
serenajiang
46015e2c66 feat(TimeTableViz): sort by first metric (#18896)
(cherry picked from commit 760dab9abd)
2022-04-03 13:52:36 +03:00
Geido
da64e7966f fix(Explore): Pivot table V2 sort by failure with D&D enabled (#18835)
* wip

* Add tests and clean up

* Clean up

* Remove unused import

(cherry picked from commit eafe0cfc6f)
2022-04-03 13:52:35 +03:00
Kamil Gabryjelski
335a90a5ac 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

(cherry picked from commit c56dc8eace)
2022-04-03 13:52:35 +03:00
GaryNg
ee3b3aea5d docs: fix sql templating typos (#18955)
(cherry picked from commit 4775d3900f)
2022-04-03 13:52:35 +03:00
Ville Brofeldt
268ce0ae8b fix(dataset): handle missing database in migration (#18948)
(cherry picked from commit 2baceddbf1)
2022-04-03 13:52:35 +03:00
AAfghahi
9375ebfbff 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>
(cherry picked from commit 147dc5af71)
2022-04-03 13:52:35 +03:00
John Bodley
5b465c2ff1 fix: bump Helm chart release version (#18751) (#18758)
Co-authored-by: wiktor2200 <wiktor2200@users.noreply.github.com>
(cherry picked from commit 099421770c)
2022-04-03 13:52:35 +03:00
Smart-Codi
a76ae2edb6 fix: null schema issue in saved queries (#18849)
(cherry picked from commit 79633ce673)
2022-04-03 13:52:34 +03:00
Michael S. Molina
419ca75412 chore: Moves components out of the commons folder (#18931)
* refactor: Moves components out of the commons folder

* Fixes tests

(cherry picked from commit fd4bd1edbc)
2022-04-03 13:52:34 +03:00
Stephen Liu
2fc2e275d4 fix(deck.gl): multiple layers map size is shrunk (#18939)
(cherry picked from commit 2cb3635256)
2022-04-03 13:52:34 +03:00
Stephen Liu
ce61dbc2bc fix(native-filter): fix required filters of a dashboard won't load properly (#18695)
(cherry picked from commit 0b1bc5b5de)
2022-04-03 13:52:34 +03:00
Jinghuayao
77c8987bbe test(Native Filter): User can create parent filters using "Filter is hierarchical (#18915)
* add new native test for parent filter

(cherry picked from commit 2bd8d3b349)
2022-04-03 13:52:33 +03:00
Smart-Codi
b78bced141 fix: Monospacing errors in dashboards & charts (#18796)
* fix: Monospacing errors in dashboards & charts

* removed unnecessary styling

(cherry picked from commit 4923256b01)
2022-04-03 13:52:33 +03:00
Smart-Codi
4167cfa30e fix Metadata browser in SQL not render nicely in Safari (#18855)
(cherry picked from commit 0db49b1a7c)
2022-04-03 13:52:33 +03:00
Phillip Kelley-Dotson
e20788c0e1 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

(cherry picked from commit 8d38675cbc)
2022-04-03 13:52:33 +03: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
Beto Dealmeida
822dd6de5d chore: update UPDATING re: SIP-68 (#18935) 2022-02-24 11:34:34 -08:00
Beto Dealmeida
00c99c91ec feat: new dataset/table/column models (#17543)
* feat: new models for SIP-68

* feat: new dataset models DB migration

* Add shadow write (WIP)

* Physical dataset shadow write (WIP)

* Virtual dataset shadow write (WIP)

* Update migration to populate models

* Cascade delete columns

* after_delete

* Update hook

* Add metric test

* Do not rename tables

* Small fixes

* Fix migration

* Fix tests

* Fix more tests

* Even more tests

* Addressing comments (WIP)

* Fix migration

* Rebase and update head

* Fix unit tests

* Add external management cols

* Small fixes
2022-02-24 11:02:01 -08:00
michael-hoffman-26
9fd18e98ac refactor(ImportModelsCommand): clean code, extract logic into methods (#18866)
Co-authored-by: michael_hoffman <michael.hoffman@nielsen.com>
2022-02-24 20:50:55 +02: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
Ville Brofeldt
5752372dd2 refactor(docs): clean up deploy of static files (#18923) 2022-02-24 14:01:26 +02:00
Ville Brofeldt
16380906d1 fix(docs): add missing static files to build (#18920) 2022-02-24 13:17:50 +02:00
Ville Brofeldt
a378a1f572 docs: remove old viz plugin docs (#18914) 2022-02-24 11:54:22 +02: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