Commit Graph

4952 Commits

Author SHA1 Message Date
Luis Casillas
1fa841ee29
Revert "fix(sql lab): display the 'View Results' button consistently in the history tab on sync mode (#19362)" (#19906)
This reverts commit 6d5d03e592.
2022-05-02 11:45:43 -06:00
dependabot[bot]
6bd025d8d2
chore(deps): bump react-virtualized-auto-sizer in /superset-frontend (#19916)
Bumps [react-virtualized-auto-sizer](https://github.com/bvaughn/react-virtualized-auto-sizer) from 1.0.2 to 1.0.6.
- [Release notes](https://github.com/bvaughn/react-virtualized-auto-sizer/releases)
- [Commits](https://github.com/bvaughn/react-virtualized-auto-sizer/commits)

---
updated-dependencies:
- dependency-name: react-virtualized-auto-sizer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-02 11:24:49 -06:00
smileydev
741033e87d
fix(column-header-tooltip): make that hide the tooltip when the cloum… (#18988)
* fix(column-header-tooltip): make that hide the tooltip when the cloumn header is turncated

* fix(column-header-tooltip): fix lint

* fix(column-header-tooltip): make to dynamic tooltip header in FilterTable

* fix(column-header-tooltip): make to fix the lint issue

* fix(column-header-tooltip): make to remove the tooltip option

* fix(column-header-tooltip): make to add test and storybook for dynamic tooltip

* fix(column-header-tooltip): make to fix lint
2022-05-02 10:11:27 -06:00
Daniel Vaz Gaspar
85b0ef8526
feat: deprecate old API on core superset fave_dashboards (#19754)
* feat: deprecate old API on core superset fave_dashboards

* fix js lint

* remove unused type
2022-05-02 16:24:48 +01:00
dependabot[bot]
b975eeee87
chore(deps-dev): bump eslint-plugin-prettier in /superset-frontend (#19894)
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.3.1 to 4.0.0.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v3.3.1...v4.0.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-29 16:20:53 -06:00
Hugh A. Miles II
8b15b68979
fix: Alpha should not be able to edit datasets that they don't own (#19854)
* fix api for checking owners

* fix styles for disabling

* fix styles for disabling

* fix lint

* fix lint

* add owners key

* plzz

* remove

* update test

* add tooltip

* add type

* fix test

* fix user reference

* lit

* fix test

* work
2022-04-29 14:21:05 -07:00
Smart-Codi
7cfd892bb9
fix: Set fixed maxWidth of the cron schedule modal (#19485)
* fix: Set fixed maxWidth of the cron schedule modal

* resolve comment

* resolve comment
2022-04-29 12:32:54 -06:00
Smart-Codi
c2999fdc22
fix: Chart download as image issue (#19885) 2022-04-29 12:23:54 -06:00
dependabot[bot]
9328053521
chore(deps-dev): bump @storybook/client-api in /superset-frontend (#19878)
Bumps [@storybook/client-api](https://github.com/storybookjs/storybook/tree/HEAD/lib/client-api) from 6.4.19 to 6.4.22.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.4.22/lib/client-api)

---
updated-dependencies:
- dependency-name: "@storybook/client-api"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 15:57:48 -06:00
smileydev
ea6753d27d
fix(allow-db-explore): make to check the allow virtual table explore option by default (#19883)
* fix(db & explore): make to check the allow-db-explore option by default

* fix(db-explore): make to remove console.log
2022-04-28 12:52:33 -07:00
Jinghuayao
ad1338fb47
test(native filter): refactor and add new test (#19821)
* refactor and add new test

* fix lint

* fix fail test

* fix front end error

* fix frontend error

* fix fail test for front end check

* add native filter helper

* more changes

* seperated test for different state

* seperated tests by initail state

* fix failure

* one more fix

* enable test
2022-04-28 09:41:22 -07:00
Stephen Liu
11562971fb
fix(plugin-chart-echarts): [feature parity] annotation line chart color not working (#19758) 2022-04-28 19:10:58 +03:00
Ville Brofeldt
d5ea537b0e
fix(plugin-chart-handlebars): fix overflow, debounce and control reset (#19879)
* fix(plugin-chart-handlebars): fix overflow

* add debounce, fix reset controls

* fix deps

* remove redundant code

* improve examples

* add last missing resetOnHides

* fix test

* use isPlainObject
2022-04-28 16:38:23 +03:00
Geido
1d50665da0
Remove font-size hacky usage (#19613) 2022-04-28 11:38:17 +02:00
Geido
0e68e42b7c
Remove hacky font-sizes (#19616) 2022-04-28 11:38:04 +02:00
Geido
ed1309e6bd
fix: Dates alignment in Table viz (#19668)
* Fix dates alignment

* Add package lock changes

* Update package-lock

* Clean up
2022-04-28 11:37:49 +02:00
Ville Brofeldt
3d2fec9604
chore: fix explore pills (#19866)
* chore: fix explore pills

* fix tests

* address comments

* add test and remove redundant div

* switch to dark text
2022-04-28 10:28:47 +03:00
Diego Medina
e4fca89217
fix: Cannot re-order metrics by drag and drop (#19876)
* fix: cannot-re-order-metrics-by-drag-and-drop

* add tests
2022-04-27 20:37:12 -06:00
smileydev
59ee029088
feature(filter): make to hide sort filter when time range (#19871) 2022-04-27 14:07:59 -06:00
smileydev
4a835a4299
fix(dashboard-css): make to load saved css template (#19840)
* fix(dashboard-css): make to load saved css template

* fix(dashboard-css): make to update state css with componentDidMount

* fix(dashobard-css): make to inject custom css after updateCss

* fix(dashboard-css): make to add RTL for custom css

* fix(dashboard-css): make to fix lint issue
2022-04-27 10:57:15 -06:00
Yongjie Zhao
f5e9f0eb3b
feat: add Advanced Analytics into mixed time series chart (#19851) 2022-04-27 23:36:19 +08:00
dependabot[bot]
795da71751
chore(deps): bump react-syntax-highlighter in /superset-frontend (#19864)
Bumps [react-syntax-highlighter](https://github.com/react-syntax-highlighter/react-syntax-highlighter) from 15.4.5 to 15.5.0.
- [Release notes](https://github.com/react-syntax-highlighter/react-syntax-highlighter/releases)
- [Changelog](https://github.com/react-syntax-highlighter/react-syntax-highlighter/blob/master/CHANGELOG.MD)
- [Commits](https://github.com/react-syntax-highlighter/react-syntax-highlighter/compare/v15.4.5...15.5.0)

---
updated-dependencies:
- dependency-name: react-syntax-highlighter
  dependency-type: direct:production
  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-04-27 08:19:34 -06:00
Stephen Liu
f9d28a1072
chore: add eslint custom plugin to prevent translation variables (#19828) 2022-04-27 17:44:13 +08:00
Erik Ritter
ad878b07e4
fix: Dashboard report creation error handling (#19859) 2022-04-26 21:52:58 -07:00
Erik Ritter
768e4b7a54
fix: Update eslint error message to reflect location of antd components (#19857) 2022-04-26 21:12:43 -07:00
Smart-Codi
60e06c1692
feat: Update ShortKey for stop query running in SqlLab editor (#19692)
* feat: Update shortkey for stop query running in sqllab editor

* resolve comment

* fix invalid import useMemo
2022-04-26 21:12:47 -06:00
smileydev
1d043e53d0
fix(db & connection): make to show/hide the password when only creating db connection (#19694)
* fix(db & connection): make to show/hide the password when only creating db connection

* fix(db & connection): make to fix unit test of Database Modal
2022-04-26 16:26:07 -06:00
Diego Medina
d65b77ec7d
fix: deck.gl GeoJsonLayer Autozoom & fill/stroke options (#19778)
* fix: deck.gl GeoJsonLayer Autozoom & fill/stroke options

* fix package.json

* fix lint
2022-04-26 16:25:40 -06:00
dependabot[bot]
dc0f09586f
chore(deps): bump react-split from 2.0.9 to 2.0.14 in /superset-frontend (#19845)
Bumps [react-split](https://github.com/nathancahill/split) from 2.0.9 to 2.0.14.
- [Release notes](https://github.com/nathancahill/split/releases)
- [Changelog](https://github.com/nathancahill/split/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nathancahill/split/commits)

---
updated-dependencies:
- dependency-name: react-split
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-26 14:20:38 -06:00
dependabot[bot]
528a9cd7c7
chore(deps): bump d3-svg-legend in /superset-frontend (#19846)
Bumps [d3-svg-legend](https://github.com/susielu/d3-legend) from 1.13.0 to 2.25.6.
- [Release notes](https://github.com/susielu/d3-legend/releases)
- [Commits](https://github.com/susielu/d3-legend/compare/v1.13.0...v2.25.6)

---
updated-dependencies:
- dependency-name: d3-svg-legend
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-26 14:20:19 -06:00
dependabot[bot]
5877470aee
chore(deps-dev): bump eslint-plugin-jsx-a11y in /superset-frontend (#19847)
Bumps [eslint-plugin-jsx-a11y](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y) from 6.4.1 to 6.5.1.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/compare/v6.4.1...v6.5.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsx-a11y
  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-04-26 14:19:40 -06:00
Diego Medina
7645eac31f
fix: Regression on Data and Alerts & Reports Headers (#19850) 2022-04-26 14:08:07 -06:00
Josh Soref
bebb10e495
chore(frontend-tests): Spelling (#19853)
* spelling: against

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: been

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: charts

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: clicking

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: columns

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: duplicate

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: especially

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: extensions

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: fields

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: filter

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: for

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: label

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: labeled

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: nativefilter

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: registry

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: render

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: resizable

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: response

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: successful

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: transform

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: unfortunately

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: until

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: virtual

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: wrapper

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-04-26 10:35:01 -07:00
Josh Soref
c32c505742
chore(docs): Spelling (#19675)
* spelling: adding

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: aggregate

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: avoid

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: blacklist

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: cached

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: discontinue

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: exhaustive

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: from

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: github

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: hybrid

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: implicit

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: interim

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: introduced

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: javascript

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: logstash

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: metadata

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: password

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: recommended

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: redshift

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: refactored

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: referencing

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: sqlite

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: the

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: thumbnails

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: undoes

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: very

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-04-26 13:17:15 -03:00
Yongjie Zhao
25e572a56e
fix: count(distinct column_name) in metrics (#19842) 2022-04-26 20:03:55 +08:00
Jeremy
e632b82395
feat: Adds plugin-chart-handlebars (#17903)
* adds: plugin chart handlebars

* adds: handlebars plugin to main presets

* update: npm install

* chore: lint

* adds: dateFormat handlebars helper

* deletes: unused props

* chore: linting plugin-chart-handlebars

* docs: chart-plugin-handlebars

* adds: moment to peer deps

* update: use error handling

* update: inline config, adds renderTrigger

* update: inline config, adds renderTrigger

* camelCase controls

* (plugins-chart-handlebars) adds: missing props

Adds missing propeties in test formData

* (plugin-chart-handlebars) fixes test

* (plugin-handlebars-chart) use numbers for size

* (feature-handlebars-chart) fix viz_type

* (plugin-handlebars-chart) revert

revert the viz_type change. it was in the wrong place.

* fix test and add license headers

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2022-04-26 14:34:28 +03:00
Ville Brofeldt
2dafff12ef
fix(explore): ignore temporary controls in altered pill (#19843) 2022-04-26 11:58:47 +03:00
dependabot[bot]
28742e5474
chore(deps-dev): bump babel-loader in /superset-frontend (#19829)
Bumps [babel-loader](https://github.com/babel/babel-loader) from 8.2.4 to 8.2.5.
- [Release notes](https://github.com/babel/babel-loader/releases)
- [Changelog](https://github.com/babel/babel-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel-loader/compare/v8.2.4...v8.2.5)

---
updated-dependencies:
- dependency-name: babel-loader
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-25 12:27:21 -06:00
dependabot[bot]
69aeff911b
chore(deps): bump react-hot-loader in /superset-frontend (#19830)
Bumps [react-hot-loader](https://github.com/gaearon/react-hot-loader) from 4.12.20 to 4.13.0.
- [Release notes](https://github.com/gaearon/react-hot-loader/releases)
- [Changelog](https://github.com/gaearon/react-hot-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gaearon/react-hot-loader/compare/v4.12.20...v4.13.0)

---
updated-dependencies:
- dependency-name: react-hot-loader
  dependency-type: direct:production
  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-04-25 12:26:59 -06:00
dependabot[bot]
523bd8b79c
chore(deps-dev): bump babel-loader in /superset-frontend (#19403)
Bumps [babel-loader](https://github.com/babel/babel-loader) from 8.2.2 to 8.2.4.
- [Release notes](https://github.com/babel/babel-loader/releases)
- [Changelog](https://github.com/babel/babel-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel-loader/compare/v8.2.2...v8.2.4)

---
updated-dependencies:
- dependency-name: babel-loader
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-24 22:53:52 -06:00
dependabot[bot]
fbedfa3838
chore(deps): bump moment from 2.29.1 to 2.29.2 in /superset-frontend (#19637)
Bumps [moment](https://github.com/moment/moment) from 2.29.1 to 2.29.2.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.1...2.29.2)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-24 22:53:26 -06:00
dependabot[bot]
f8f057d7be
chore(deps): bump async in /superset-frontend/cypress-base (#19681)
Bumps [async](https://github.com/caolan/async) from 3.2.0 to 3.2.3.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/master/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v3.2.0...v3.2.3)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-24 22:53:04 -06:00
Diego Medina
800ced5e25
fix(sql lab): when editing a saved query, the status is lost when switching tabs (#19448) 2022-04-22 15:23:30 -06:00
Diego Medina
3f0413b8cb
fix: Cypress tests reliability improvements (#19800) 2022-04-22 14:57:25 -06:00
dependabot[bot]
0cc2d71d1a
chore(deps): bump url-parse from 1.5.7 to 1.5.10 in /superset-frontend (#19020)
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>
2022-04-22 14:51:10 -06:00
dependabot[bot]
e98199d43d
chore(deps): bump @types/d3-time in /superset-frontend (#17978)
Bumps [@types/d3-time](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/d3-time) from 1.1.1 to 3.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/d3-time)

---
updated-dependencies:
- dependency-name: "@types/d3-time"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-22 14:50:43 -06:00
Phillip Kelley-Dotson
ad715429f9
chore: simplify error messaging in database modal (#19165)
* testing for dbconn modal error message

* remove consoles and error alert mapping

* lint fix

* update url message

* add modal fix

* update comments

* fix err msg bugs

* fix pylint

* fix line

* fix tests

* fix assertions
2022-04-21 12:44:21 -07:00
Kamil Gabryjelski
12bc30e2c7
Fix display of column config in table chart (#19806) 2022-04-21 19:08:04 +02:00
Yongjie Zhao
108a2a4eaf
fix: lost renameOperator in mixed timeseries chart (#19802) 2022-04-21 15:20:09 +08:00
smileydev
dfbaba97c6
fix(chart & explore): Show labels for SliderControl (#19765)
* fix(chart & explore): make to show label of slidercontrol

* fix(chart & explore): make to update SliderControl props

* fix(chart & explore): make to fix lint
2022-04-20 13:58:25 -06:00
Diego Medina
7f22edfd06
fix: remove & reimplement the tests for AlertReportCronScheduler component (#19288) 2022-04-20 13:51:09 -06:00
serenajiang
5e468f7a4c
fix(world-map): remove categorical color option (#19781) 2022-04-20 09:36:28 -07:00
Kamil Gabryjelski
fcc8080ff3
fix(plugin-chart-table): Resetting controls when switching query mode (#19792) 2022-04-20 17:25:31 +02:00
Stephen Liu
e3a54aa3c1
feat(explore): improve UI in the control panel (#19748)
* feat(explore): improve section header of control panel

* fix checkbox control color and radio button color
2022-04-20 15:06:33 +02:00
Yongjie Zhao
4f997cd9ac
chore: fix grammar error (#19740) 2022-04-20 21:02:14 +08:00
Yongjie Zhao
3c28cd4625
feat: add renameOperator (#19776) 2022-04-20 19:48:12 +08:00
Diego Medina
dfba9ea596
fix: SQL Lab UI Error: Objects are not valid as a React child (#19783) 2022-04-20 09:18:46 +03:00
Diego Medina
1c5d3b73df
fix: dashboard top level tabs edit (#19722) 2022-04-19 16:57:30 -06:00
Ville Brofeldt
e061955fd0
fix(dashboard): copy permalink to dashboard chart (#19772)
* fix(dashboard): copy permalink to dashboard chart

* lint

* address comments
2022-04-19 22:34:41 +03:00
Jesse Yang
4ba62cad95
chore(build): upgrade less-loader (#19703) 2022-04-19 09:18:16 -07:00
Kamil Gabryjelski
3663a33f14
fix(explore): Double divider if no permissions for adding reports (#19777) 2022-04-19 17:47:35 +02:00
Kamil Gabryjelski
6f4480a06c
feat(explore): Replace overlay with alert banner when chart controls change (#19696)
* Rename explore alert

* Rename refreshOverlayVisible to chartIsStale

* Implement banners

* Add tests

* Add clickable text to empty state

* Fix viz type switching

* styling changes

* Fixes after rebasing

* Code review fixes

* Fix bug

* Fix redundant refreshing
2022-04-19 14:57:06 +02:00
Kamil Gabryjelski
594523e895
feat(explore): Implement data panel redesign (#19751)
* feat(explore): Redesign of data panel

* Auto calculate chart panel height and width

* Add tests

* Fix e2e tests

* Increase collapsed data panel height
2022-04-19 10:10:40 +02:00
smileydev
34323f9b5f
fix(explore): make to show the null value as N/A in view result (#19603)
* fix(explore): make to show the null value as N/A in view result

* fix(explore): make to remove console

* fix(explore): make to remove console in Cell

* fix(explore): make to translate N/A
2022-04-18 19:26:15 -06:00
smileydev
a2d34ec4b8
fix(import): Add the error alert on failed database import (#19673)
* fix(import): make to add the error alert

* fix(import): make to add licence

* fix(import): make to create ErrorAlert component and use errorMessage spelling
2022-04-18 17:43:24 -06:00
Diego Medina
a05ff5e598
fix: alert/report created by filter inconsistency with table display (#19518)
* fix: alert/report created by filter inconsistency with table display

* Match column order to dashboard list
2022-04-18 17:41:07 -06:00
Phillip Kelley-Dotson
06ec88eb99
feat: add empty states to sqlab editor and select (#19598)
* feat: add empty states to sqlab editor and select

* add suggestions and test

* update type

* lint fix and add suggestions

* fix typo

* run lint

* remove unused code

* fix test

* remove redux for propagation and other suggestions

* add t

* lint

* fix text and remove code

* ts and fix t in p

* fix spelling

* remove unused prop

* add fn to prop change state

* remove unused code

* remove unused types

* update code and test

* fix lint

* fix ts

* update ts

* add type export and fix test

* Update superset-frontend/src/SqlLab/components/SqlEditorLeftBar/index.tsx

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

* Update superset-frontend/src/SqlLab/components/SqlEditorLeftBar/index.tsx

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

* Update superset-frontend/src/SqlLab/components/SqlEditorLeftBar/index.tsx

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

* Update superset-frontend/src/SqlLab/components/SqlEditorLeftBar/index.tsx

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

* remove handlerror and unused code

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-04-15 15:09:07 -07:00
Diego Medina
154f1ea8c9
fix: Dashboard Edit View Tab Headers Hidden when Dashboard Name is Long (#19472) 2022-04-15 12:58:32 -06:00
Diego Medina
8d4a52c9d0
fix(sql lab): add quotes when autocompleting table names with spaces in the editor (#19311) 2022-04-15 12:55:04 -06:00
Diego Medina
bbe0af348b
fix(sql lab): Selecting edit on a query from query history doesn't update the SQL Editor properly (#19290) 2022-04-15 12:49:32 -06:00
Luis Casillas
56381f4ee8
fix: sql lab ctrl t behaved differently from clicking (#19420)
* initial approach

To have consistent behaviour when creating a new tab with ctrl+t

* consistent behaviour when creating tabs

* fixed bug and added tests

* updates to pass checks
2022-04-15 12:28:40 -06:00
Geido
b8e595413f
fix: Redirect to full url on 401 (#19357)
* Redirect to full url

* Redirect to full url

* Update test
2022-04-15 20:15:30 +02:00
Kamil Gabryjelski
b7759e6fd1
chore: Clean redundant dependency from useMemo dep array (#19732) 2022-04-15 14:56:34 +02:00
smileydev
c320c295dc
fix(dnd&column): make to fix the blank state issue when only one column select (#19651) 2022-04-15 13:43:25 +02:00
Smart-Codi
94075983f8
feat: Remove legacy sql alchemy db connection link from G Sheet connection (#19450)
* feat: Remove legacy sql alchemy db connection link from G Sheet connection

* resolve comment
2022-04-14 14:34:15 -06:00
Smart-Codi
ac2c66ccf6
fix: Line Chart Annotation Info Update (#19001)
* fix Line Chart Annotation Info Updage

* wrap annotation text with transation

* resolve comment
2022-04-14 10:46:32 -07:00
Evan Rusackas
34008f78c9
feat: Enabling source maps full time (#19710) 2022-04-14 09:08:11 -07:00
Michael S. Molina
7bc9123fe5
fix: Filter dependencies are not being applied in default values (#19698) 2022-04-14 12:58:34 -03:00
David Aaron Suddjian
4927685c30
feat: UI override registry (#19671)
* typed registry

* remove unintentional change

* lint

* fix
2022-04-14 08:44:26 -07:00
Yongjie Zhao
9425dd2cac
fix: drop the first level of MultiIndex (#19716) 2022-04-14 23:40:38 +08:00
Jesse Yang
32a9265cc0
fix(nav): infinite redirect and upload dataset nav permissions (#19708) 2022-04-13 23:29:56 -07:00
smileydev
68ed39bcd3
fix(alert & report): make to fix the issue when recreate report (#19419) 2022-04-13 11:02:33 -06:00
Smart-Codi
94e06c2b6a
fix: Reset sorting bar issue in Barchart (#19371)
* fix: Reset sorting bar issue in Barchart

* improving performance

* fix lint error
2022-04-13 11:00:15 -06:00
Diego Medina
d4e7c65f6a
fix(sql lab): replace the output column in the query history table (#19370)
* fix(sql lab): replace the output column in the query history table

* improvements
2022-04-13 10:22:03 -06:00
Kamil Gabryjelski
b81982d8f3
feat(explore): More explicit labels of adhoc filter operators (#19691) 2022-04-13 18:20:38 +02:00
Diego Medina
6d5d03e592
fix(sql lab): display the 'View Results' button consistently in the history tab on sync mode (#19362)
* fix(sql lab): display the 'View Results' button in the history tab when running sync queries

* pr comment
2022-04-13 10:20:32 -06:00
Kamil Gabryjelski
c8304a2821
feat(explore): Redesign of Run/Save buttons (#19558)
* feat(explore): Move save button to header, run button to bottom of control panel

* Make the tabs sticky

* Add error icon to Data tab

* Show message when creating chart and all controls are filled correctly

* Add tests and storybook

* Fix tests

* Disable save button when control have errors

* Fix types

* Apply code review comments

* Replace styled with css

* Remove unused import
2022-04-13 16:58:39 +02:00
Diego Medina
32239b04aa
fix: improve the alerts & reports modal layout on small screens (#19294) 2022-04-13 08:45:38 -06:00
Diego Medina
26a0f05759
fix(sql lab): table selector should display all the selected tables (#19257)
* fix: table Selector should clear once selected

* Multi select

* Add tests

* refactor

* PR comments
2022-04-13 08:42:12 -06:00
Kamil Gabryjelski
de9fb2109d
chore(explore): Change labels "Group by"/"Series" to "Dimensions" (#19647) 2022-04-13 15:16:03 +02:00
Ville Brofeldt
2ba484fe43
fix: login button does not render (#19685)
* fix: login button does not render

* add type guard
2022-04-13 16:04:04 +03:00
Stephen Liu
059cb4ec25
fix(plugin-chart-echarts): xAxis scale is not correct when setting quarter time grain (#19686) 2022-04-13 20:48:13 +08:00
Kamil Gabryjelski
ee85466f2e
fix(dashboard): Fix BigNumber causing dashboard to crash when overflowing (#19688)
* fix(dashboard): fix(plugin-chart-echarts): Fix BigNumber causing dashboard to crash when overflowing

* Add tooltips for truncated titles

* Fix type
2022-04-13 14:22:46 +02:00
Kamil Gabryjelski
4a5dddf52d
fix(explore): Change copy of cross filters checkbox (#19646) 2022-04-13 13:19:02 +02:00
dependabot[bot]
6e8e29ce53
chore(deps): bump urijs from 1.19.8 to 1.19.11 in /superset-frontend (#19679)
Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.8 to 1.19.11.
- [Release notes](https://github.com/medialize/URI.js/releases)
- [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md)
- [Commits](https://github.com/medialize/URI.js/compare/v1.19.8...v1.19.11)

---
updated-dependencies:
- dependency-name: urijs
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-12 23:23:58 -06:00
Geido
59dda1fa05
fix: Navbar styles and Welcome page text (#19586)
* Enhance navbar styles

* Clean up style
2022-04-12 18:41:00 +03:00
Geido
6a3220f905
Remove TwoTone icons (#19666) 2022-04-12 17:33:12 +03:00
Geido
7b0b029318
chore: Remove wrong usage of font-size in ExploreViewContainer (#19614)
* Remove hacky usage of font-size

* Update font
2022-04-12 16:10:58 +03:00
Ville Brofeldt
87d47987b7
fix(sql-lab): do not replace undefined schema with empty object (#19664) 2022-04-12 15:13:03 +03:00
Diego Medina
955413539b
fix: Table Autosizing Has Unnecessary Scroll Bars (#19628) 2022-04-11 15:20:41 -06:00
smileydev
d8b9e72682
make to change the getBreakPoints of polygon chart (#19573) 2022-04-11 15:20:20 -06:00
AAfghahi
4bf4d58423
fix: update Permissions for right nav (#19051)
* draft pr

* finished styling

* add filter

* added testing

* added tests

* added permissions tests

* Empty-Commit

* new test

* Update superset-frontend/src/views/components/MenuRight.tsx

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* revisions

* added to CRUD view

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2022-04-11 16:50:59 -04:00
Geido
d693f4e970
Update font-sizes (#19593) 2022-04-11 16:46:06 +03:00
Geido
5d418b21a3
Remove font-size hacky usage (#19611) 2022-04-11 16:45:52 +03:00
Geido
d1e17646e2
Remove hacky usage of font-size (#19615) 2022-04-11 16:45:25 +03:00
Geido
03a80d5d2f
chore: Update font-sizes in QueryPreviewModal (#19620)
* Remove hacky font-sizes

* Remove hacky font-size SavedQueryPreviewModal
2022-04-11 16:45:09 +03:00
Stephen Liu
d49fd01ff3
feat(CRUD): add new empty state (#19310)
* feat(CRUD): add new empty state

* fix ci

* add svg license
2022-04-11 12:04:45 +02:00
Ville Brofeldt
f21ba68a30
chore: clean up dynamic translation strings (#19641) 2022-04-11 13:02:20 +03:00
Stephen Liu
a6bf041edd
feat(plugin-chart-echarts): add aggregate total for the Pie/Donuct chart (#19622) 2022-04-11 13:56:45 +08:00
Lyndsi Kay Williams
d52e3867ac
feat: Move Database Import option into DB Connection modal (#19314)
* rebase

* more progress

* Fix unintended changes

* DB import goes to step 3

* debugging

* DB list refreshing properly

* import screens flowing properly

* Code cleanup

* Fixed back button on import flow

* Remove import db tooltip test

* Fix test

* Password field resets properly

* Changed import modal state dictators and removed unneeded comment

* Removed unneeded param pass and corrected modal spelling

* Fixed typos

* Changed file to fileList

* Clarified import footer comment

* Cleaned passwordNeededField and confirmOverwriteField state checks

* debugging

* Import state flow fixed

* Removed unneeded importModal check in unreachable area

* Fixed import db footer behavior when pressing back on step 2

* Import db button now at 14px

* Removed animation from import db button

* Fixed doble-loading successToast

* Fixed errored import behavior

* Updated import password check info box text

* Connect button disables while importing db is loading

* Connect button disables while overwrite confirmation is still needed

* Connect button disables while password confirmation is still needed

* Removed gray line under upload filename

* Hide trashcan icon on import filename

* Modal scroll behavior fixed for importing filename

* Changed errored to failed

* RTL testing for db import
2022-04-08 10:03:40 -07:00
Ville Brofeldt
1ad82af058
fix(select): render when empty multiselect (#19612)
* fix(select): render when empty multiselect

* disable flaky test
2022-04-08 16:40:14 +03:00
Geido
16f193c813
Catch colors when theme top level (#19571) 2022-04-08 15:20:23 +03:00
Yongjie Zhao
761d5c4208
chore: cleanup as unknown conversion (#19587) 2022-04-08 17:32:29 +08:00
Daniel Vaz Gaspar
d6d2777ada
feat: deprecate old API and create new API for dashes created by me (#19434)
* feat: deprecate old API and create new API for dashes created by me

* add tests

* fix previous test

* fix test and lint

* fix sqlite test

* fix lint

* fix lint

* lint

* fix tests

* fix tests

* use dashboards get list instead

* clean unnecessary marshmallow schema

* Update superset/views/core.py

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>

* lint

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2022-04-08 09:05:22 +01:00
Phillip Kelley-Dotson
44e3103fc9
feat: add success toast to alerts and reports (#19482)
* feat: add success toast to alerts and reports

* remove console

* add suggestions
2022-04-07 18:45:35 -07:00
Michael S. Molina
d511e4fbc4
refactor: Removes the CSS files from the Horizon plugin (#19562)
* refactor: Removes the CSS files from the Horizon plugin

* Removes the CSS file

* Uses font-size from the theme
2022-04-07 18:47:41 -03:00
Michael S. Molina
f91f83d011
refactor: Removes the CSS files from the Paired T-Test plugin (#19563)
* refactor: Removes the CSS files from the Paired T Test plugin

* Adjusts some colors
2022-04-07 11:51:22 -03:00
Michael S. Molina
38fbca10e3
refactor: Removes the CSS files from the Parallel Coordinates plugin (#19539)
* refactor: Removes the CSS files from the Parallel Coordinates plugin

* Adds test

* Fixes indentation
2022-04-07 11:51:08 -03:00
Michael S. Molina
97850a80c8
refactor: Removes the CSS files from the Partition plugin (#19521)
* refactor: Removes the CSS files from the Partition plugin

* Fixes bullet

* Always use the color of the partitions
2022-04-07 11:50:51 -03:00
Michael S. Molina
06dee825a4
chore: Removes hard-coded colors from legacy-plugin-chart-sankey (#19493)
* chore: Removes hard-coded colors from legacy-plugin-chart-sankey

* Gets opacity from the theme
2022-04-07 11:50:31 -03:00
Geido
6d5771af34
chore: Remove FilterBox.less (#19462)
* Remove FilterBox less

* Fix test

* Add theme top level

* Use styledMount
2022-04-07 17:17:50 +03:00
Geido
e8f3e8a24e
chore: Remove crud.less from Datasource (#19438)
* Remove crud less

* Remove unused classname

* Remove unused import

* Add theme top level
2022-04-07 15:18:01 +03:00
Geido
e5bab00cb9
chore: Enhance ReactChord style with theme vars (#19517)
* Enhance style with theme vars

* Update superset-frontend/plugins/legacy-plugin-chart-chord/src/ReactChord.jsx

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-04-07 15:17:40 +03:00
Ville Brofeldt
db2135109a
fix(dataset): avoid crash if database missing (#19582) 2022-04-07 13:43:17 +03:00
Geido
73e93911ac
chore: Remove TimeTable.less (#19463)
* Remove TimeTable less

* Remove className

* Update superset-frontend/src/visualizations/TimeTable/TimeTable.jsx

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-04-06 18:43:25 +03:00
Smart-Codi
f6d550b7fc
fix: weight tooltip issue (#19397)
* fix: weight tooltip issue

* remove console
2022-04-06 09:28:24 -06:00
dependabot[bot]
f29d92867c
chore(deps): bump minimist in /superset-frontend/cypress-base (#19549)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-06 17:41:11 +03:00
Diego Medina
c6c9188a24
fix(sql lab): increase the size of the action icons in the history tab (#19313) 2022-04-06 08:21:07 -06:00
Stephen Liu
0e29871493
fix(explore): clean data when hidding control (#19039) 2022-04-06 20:25:32 +08:00
Yongjie Zhao
2daa071633
fix: big number with trendline can't calculate cumsum (#19542) 2022-04-06 19:23:01 +08:00
Michael S. Molina
c4baa826d5
refactor: Removes the CSS files from the Country Map plugin (#19538) 2022-04-06 07:39:16 -03:00
Michael S. Molina
356a03833b
chore: Removes hard-coded opacity and spacing from BigNumber (#19536) 2022-04-06 07:38:33 -03:00
Michael S. Molina
6fa99d6b07
refactor: Removes the CSS files from the Sankey Loop plugin (#19494)
* refactor: Removes the CSS files from the Sankey Loop plugin

* Gets opacity from the theme
2022-04-06 07:37:56 -03:00
Ville Brofeldt
2d81c4c79f
fix(sqllab): null database with backend persistence (#19548) 2022-04-06 12:32:41 +03:00
Geido
2de5e6fac4
chore: Remove Legacy Force Directed viz plugin (#19492)
* Add theme vars

* Remove plugin
2022-04-06 11:51:51 +03:00
Smart-Codi
156ac7dd79
fix: Error Message is cut off in alerts & reports log page (#19444) 2022-04-05 23:19:45 -06:00
Kamil Gabryjelski
bb96029c9d
fix(explore): Chart header icon paddings (#19534) 2022-04-06 06:50:16 +02:00
Diego Medina
c5b0dc3ea6
fix: native filter dropdown not attached to parent node (#19399) 2022-04-05 22:11:56 -06:00
Smart-Codi
e118b4d733
fix: Dashboard import holding issue (#19112)
* fix dashboard import holding issue

* resolve comment
2022-04-05 21:43:47 -06:00
Smart-Codi
a88fa8910d
fix: Clean up custom css when dashboard unmounted (#19342)
* clean up custom css when dashboard unmounted

* resolve comment
2022-04-05 15:20:31 -06:00
Diego Medina
634693b270
fix: Dynamic form to connect to Snowflake DB is not displaying authentication errors (#19491)
* fix: Dynamic form to connect to Snowflake DB is not displaying authentication errors

* pr comments
2022-04-05 13:11:33 -06:00
Geido
1521ab3b6f
chore(Explore): Change text when saving a chart in a new dashboard (#19467)
* Change text when new dashboard

* Test buttons behavior
2022-04-05 22:05:05 +03:00
Geido
a59718b094
Remove Control less (#19415) 2022-04-05 20:05:09 +03:00
Geido
e391a83947
Remove unused less (#19413) 2022-04-05 20:04:47 +03:00
Kamil Gabryjelski
03d3eaacaf
feat(explore): Move timer, row counter and cached pills to chart container (#19458)
* feat(explore): Move timer, row counter and cached pills to chart container

* Hide pills in standalone mode

* Take pills out of chart-container
2022-04-05 18:03:23 +02:00
Roman Pridybailo
cccec9a6ab
fix: Correct Ukraine map (#19528)
* Crimea

* Update ukraine.geojson

Co-authored-by: Roman Pridybailo <rp@vaix.ai>
2022-04-05 18:46:12 +03:00
Kamil Gabryjelski
602afbaa31
feat(explore): Move chart header to top of the page (#19529)
* Move chart header to top of the page

* Implement truncating and dynamic input

* fix typing

* Prevent cmd+z undoing changes when not in edit mode

* Fix tests, add missing types

* Show changed title in altered
2022-04-05 15:20:29 +02:00
Hugh A. Miles II
c2fae82fa6
fix key reference (#19519) 2022-04-04 14:19:46 -04:00
Michael S. Molina
82a653f64b
refactor: Removes the CSS files from the Treemap plugin (#19486) 2022-04-04 13:46:46 -03:00
Michael S. Molina
47308024a3
refactor: Removes the CSS files from the Sunburst plugin (#19488) 2022-04-04 13:46:34 -03:00
Geido
4b922873ae
Add theme color (#19490) 2022-04-04 17:19:54 +03:00
Geido
7914296d8a
chore: Remove FilterbaleTableStyles.less (#19442)
* Remove FilterbaleTablesStyles less

* Add theme top level
2022-04-04 17:11:22 +03:00
Geido
b601db7809
chore: Remove StyledQueryButton.less (#19441)
* Remove StyledQueryButton less

* Remove unused className
2022-04-04 17:10:20 +03:00
dudasaron
b8891acf4a
fix(dashboard list): do not show favorite star for anonymous users #18210 (#19409)
* fix: Only show favorite star on dashboard list if user is logged in #18210

* Fix linter errors
2022-04-04 10:38:44 +03:00
smileydev
5db36ec81c
fix(sqllab): make to hide the delete button of most recent query history (#19358) 2022-04-03 19:59:38 -06:00
Kamil Gabryjelski
60dcd651f4
feat(explore): SQL popover in datasource panel (#19308)
* feat(explore): SQL popover in datasource panel

* Fix acequire not defined

* Rebase and fix tests

* Disable highlighting gutter

* Use ace-build acequire instead of brace
2022-04-03 13:26:56 +02:00
Michael S. Molina
5fed10dae2
refactor: Removes the CSS files from the Rose plugin (#19473) 2022-04-01 13:13:43 -03:00
Michael S. Molina
7594a02d42
chore: Removes hard-coded colors from legacy-plugin-chart-world-map (#19466) 2022-04-01 13:13:33 -03:00
Michael S. Molina
8cd03181ac
refactor: Removes the CSS files from the DeckGL plugin (#19465) 2022-04-01 13:13:16 -03:00
Stephen Liu
90c9daea08
feat(color): support analogous colors to prevent color conflict (#19325)
* feat(color): support analogous colors

* fix test

* fix range

* add some comment
2022-04-01 18:42:30 +03:00
Geido
08aca83f6c
chore: Remove index.less from showSavedQuery (#19440)
* Remove index less

* Revert change
2022-04-01 17:57:36 +03:00
Kamil Gabryjelski
fc8cb22376
feat(dashboard): Implement empty states for empty tabs (#19408)
* feat(dashboard): Implement empty states in empty tabs

* Change button to in text link

* Add edit dashboard button to dashboard empty state

* Add tests

* Fix test
2022-04-01 15:23:00 +02:00
Ville Brofeldt
11bf0d09cb
chore(plugin-chart-echarts): upgrade echarts 5.3.2 (#19481) 2022-04-01 13:05:03 +03:00
Yongjie Zhao
d954c3df86
fix: can't sync temporal flag on virtual table (#19366) 2022-04-01 16:40:50 +08:00
Ville Brofeldt
d684ad073d
fix: request samples with default row limit (#19456)
* fix: request samples with default row limit

* lodashLint

* fix cypress test
2022-04-01 11:32:36 +03:00
Jinghuayao
2a75e4c3c3
test(native filter): add new test for dependent filter (#19392)
* add new test for dependent filter
2022-04-01 01:06:48 -07:00
Diego Medina
eab9388f7c
feat(sql lab): enable ACE editor search in SQL editors (#19328) 2022-03-31 16:05:00 -07:00
Kamil Gabryjelski
1a1322d3d9
feat(explore): Move chart actions into dropdown (#19446)
* feat(explore): Move chart actions to a dropdown menu

* Fix tests and add some new ones

* Add background color to embed code button

* Fix cypress tests

* Move copy permalink to actions menu

* Remove unused function

* Move share by email above embed code

* Fix test

* Fix test

* Fix test

* Fix test

* Fix test
2022-03-31 20:41:15 +02:00
Michael S. Molina
ac6b2f2d93
refactor: Removes the CSS files from the Heatmap plugin (#19417)
* refactor: Removes the CSS files from the Heatmap plugin

* Adds peer dependencies
2022-03-31 13:32:20 -03:00
Michael S. Molina
13467beb53
refactor: Removes the CSS files from the Calendar Heatmap plugin (#19436) 2022-03-31 13:31:20 -03:00
Michael S. Molina
31095a523d
chore: Removes plugin-chart-pivot-table hard-coded colors (#19439) 2022-03-31 13:30:36 -03:00
Michael S. Molina
47abad8673
chore: Removes hard-coded colors from legacy-preset-chart-nvd3 (#19443) 2022-03-31 13:29:54 -03:00
smileydev
6d89ffbcb7
fix(dashboard): make to show the correct owned objects (#19372)
* fix(dashboard): make to show the correct owned objects

* fix(dashboard): make to filter is reusable

* fix(homepage): make sure the type Array<Filters>

* fix(homepage): make to display dashboard correctly by owners
2022-03-31 17:10:21 +03:00
David Aaron Suddjian
8e29ec5a66
feat: Embedded dashboard configuration (#19364)
* embedded dashboard model

* embedded dashboard endpoints

* DRY up using the with_dashboard decorator elsewhere

* wip

* check feature flags and permissions

* wip

* sdk

* urls

* dao option for id column

* got it working

* Update superset/embedded/view.py

* use the curator check

* put back old endpoint, for now

* allow access by either embedded.uuid or dashboard.id

* keep the old endpoint around, for the time being

* openapi

* lint

* lint

* lint

* test stuff

* lint, test

* typo

* Update superset-frontend/src/embedded/index.tsx

* Update superset-frontend/src/embedded/index.tsx

* fix tests

* bump sdk
2022-03-30 12:34:05 -07:00
Michael S. Molina
193744842b
chore: Disables no literal colors for the theme configuration (#19437) 2022-03-30 11:57:21 -03:00
Kamil Gabryjelski
a076ae6d99
feat(explore): UI changes in dataset panel on Explore page (#19394)
* feat(explore): Implement new design for dataset panel

* Fixes

* Replace drag handle in dashboard builder

* Add missing types

* Type fix

* Fix tests

* Fix non-dnd version

* Fix test

* Replace margin with height
2022-03-29 21:11:08 +02:00
Michael S. Molina
816a2c3e1e
chore: Removes direct theme imports (#19368) 2022-03-29 10:15:07 -03:00
Beto Dealmeida
d304849b46
feat: disable edits on external assets (#19344)
* feat: disable edits on external assets

* Update tests
2022-03-28 16:32:57 -07:00
Evan Rusackas
b689ac2d11
chore: bump storybook to 6.4.19, migrating config, and linting storybook config (#19245)
* chore: bump storybook to 6.4.19 and reconfigure accordingly

* now linting the storybook directory, since it gets validated by CI

* linting 
2022-03-28 14:02:47 -03:00
Yongjie Zhao
a39dd4493e
feat: linear imputation in Resample (#19393) 2022-03-28 22:30:45 +08:00
Geido
6b9113a17b
chore: Eslint custom plugin to warn about hex and literal colors (#19239)
* wip

* Add eslint custom plugin

* Refactor

* Clean up

* Update superset-frontend/buildtools/eslint-plugin-theme-colors/index.js

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

* Refactor

* Update superset-frontend/buildtools/eslint-plugin-theme-colors/index.js

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

* Clean up

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-03-28 16:11:34 +03:00
Stephen Liu
6f5778273e
chore: add type checking in plugin test directory (#19387) 2022-03-28 10:20:06 +08:00
smileydev
5ae7e54999
fix(database): make to allow the expose db as default in sqlalchemy form db (#19337) 2022-03-25 15:47:14 -06:00
Ville Brofeldt
6141a9aa4a
chore: add support for npm8 (#19365) 2022-03-25 11:07:30 +02:00
Kamil Gabryjelski
45c28c8046
feat(explore): Dataset panel option tooltips (#19259)
* feat(explore): Add description to column/metric tooltips in dataset panel

* Fix tests

* Address code review comments
2022-03-25 07:55:11 +01:00
smileydev
446358642f
fix(explore-sqllab): make that Timestamp column keep the Is temporal flagged when overwriting (#19010) 2022-03-24 18:20:39 -06:00
Yongjie Zhao
e15573d445
fix: number format should editable when AA in time comparison (#19351) 2022-03-25 07:58:53 +08:00
smileydev
cb0357005e
fix(report-add): make to add error toast message when already attached report is added again into dashboard or chart (#19122)
* fix(report-add): make to add error toast message when already attached report is added again into dashboard or chart

* fix(export-add): make to setup the default error message

* fix(report-add): make to allow the errorMessage undefined in LabeledErrorBoundInput component
2022-03-24 17:18:34 -06:00
Smart-Codi
8947eb9680
fix: Remove gap from SQLLab results bottom (#19138)
* Remove gap from SQLLab results bottom

* resolve comment
2022-03-24 16:53:43 -06:00
Kasia
dc769a9a34
fix: Adaptive formatting spelling (#19359)
Co-authored-by: Kasia Zajac <kasiazajac@Kasias-MacBook-Pro-2.local>
2022-03-24 20:51:06 +01:00
Erik Ritter
2af2d00e85
fix: typo on doc string (#19346) 2022-03-24 09:15:56 +00:00
Michael S. Molina
65c204b288
fix: Null values on Explore filter (#19341) 2022-03-23 17:23:57 -04:00
Kamil Gabryjelski
a08f83bc60
fix(dashboard): Chart stuck in loading state when when datasets request and chart request fail (#19327) 2022-03-23 15:43:32 +01:00
smileydev
468c5ca29a
fix(explore): make to convert null to N/A in view results (#19316)
* fix(explore): make to convert null to N/A in view results

* fix(explore): make to null formatter move before timeFormatter
2022-03-23 08:02:52 -06:00
Diego Medina
9e58916d93
fix: regression on Select component when handling null values (#19326) 2022-03-23 10:31:38 -03:00
Stephen Liu
b0397beb8e
chore: add type checking in package tests directory (#19320) 2022-03-23 18:57:35 +08:00
Ville Brofeldt
b7ecb14230
fix(dashboard): fix default filter bar visibility + add docs (#18741)
* fix(dashboard): fix default filter tab visibility + add tests

* fix types

* lint

* rename docs + add double bang to length
2022-03-23 08:55:03 +02:00
Yongjie Zhao
375c03e084
feat(advanced analysis): support MultiIndex column in post processing stage (#19116) 2022-03-23 13:46:28 +08:00
Evan Rusackas
e45235e482
chore: fixing a pluralization typo (#19295) 2022-03-22 14:44:03 -06:00
Geido
d10a3d8bba
fix: Logo resizing on page load (#19307)
* fix resizing logo

* Refactor
2022-03-22 19:34:49 +02:00
Michael S. Molina
d3ce398448
fix: Don't allow duplicated tag values in the Select (#19283)
* fix: Don't allow duplicated tag values in the Select

* Addresses comments and adds test
2022-03-22 09:05:22 -03:00
Kamil Gabryjelski
a8a48af7fa
chore: Make font-weights themable, fix font faces (#19236)
* fix(fonts): Import all necessary font packages

* Make html tags themable

* Set bold font weight to 600, add medium font weight to theme

* Replace hard coded font weights with theme variables

* Change some font weight light elements to normal

* Fix tests

* Fix bug in pivot table

* Address code review comments
2022-03-22 09:36:15 +01:00
David Aaron Suddjian
35b8a72dae
Update ToastPresenter.tsx (#19296) 2022-03-22 10:10:43 +02:00
Diego Medina
4669b6ce11
fix: most Recently Selected Table Should Appear at the Top of the List on the Left Panel (#19258) 2022-03-21 15:58:23 -06:00
smileydev
29cba2b00c
fix(dashboard): make to show the correct owned objects (#19223)
* fix(dashboard): make to show the correct owned objects

* fix(dashboard): make to filter is reusable

* fix(homepage): make sure the type Array<Filters>
2022-03-21 15:51:10 -06:00
Diego Medina
54f1b35161
chore: add missing keys to components inside lists (#19161) 2022-03-21 15:47:48 -06:00
Phillip Kelley-Dotson
d771ddbb94
feat: allow uploads in crud view (#18953)
* feat: allow uploads in crud view

* fix merge conflict and fix ts

* fix import

* fix tests

* fix lint

* remove unused var

* fix underline flash and alignment

* fix offset

* fix icon alignment

* fix labels and css issues

* make drowdown primary all the time

* make global

* fix lables

* add upload perms to utils

* remove unused code

* add suggested changes

* update menuright
2022-03-21 13:01:36 -07:00
Geido
9ae51f7a48
chore: Remove logo forced width (#19049)
* Remove logo forced width

* improve styling

* improve paddings

* Update UPDATING.md

* Fixes a typo

* Add fixed height

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
Co-authored-by: Evan Rusackas <evan@preset.io>
2022-03-21 19:51:20 +02:00
David Aaron Suddjian
96a123f553
feat: SupersetClient config to override 401 behavior (#19144)
* wip

* feat: make 401 responses configurable in SupersetClient

* sort

* guest unauthorized handler

* add toast container to embedded app

* add option for toast presenter to go at the top

* remove confusing comms logging

* lint

* Update superset-frontend/src/embedded/index.tsx

* type correction
2022-03-21 10:19:21 -07:00
Stephen Liu
dc575080d7
feat: improve color consistency (save all labels) (#19038) 2022-03-21 15:20:04 +08:00
Ville Brofeldt
f341025d80
feat: add support for comments in adhoc clauses (#19248)
* feat: add support for comments in adhoc clauses

* sanitize remaining freeform clauses

* sanitize adhoc having in frontend

* address review comment
2022-03-18 15:08:06 -07:00
David Aaron Suddjian
97abc28a1f
chore!: remove ENABLE_REACT_CRUD_VIEWS feature flag (permanently enable) (#19231)
* remove ENABLE_REACT_CRUD_VIEWS feature flag

* docs

* deal with problematic tests

* empty test suite

* skip test

* test conditions changed

* removing the tests instead of skipping
2022-03-18 14:00:23 -07:00
Grace Guo
d41f9b23a4
chore(superset 2.0): remove front-end deprecated code (#19241) 2022-03-18 11:23:00 -07:00
smileydev
b888341090
fix(chart-crud): make to update Viz type Filter label to Chart type (#19140) 2022-03-18 11:57:34 -06:00
smileydev
e7355b9610
fix(explore comma): make that the comma can be added by removing it from token separators… (#18926)
* make that the comma can be added by removing it from token separators in select component.

* fix(explore comma): add the allowTokenSeperators props into Select

* fix(explore comma): make to allow to customize the token separators in Select.

* fix(explore comma): make to add the unit test and story book.

* fix(explore comma): make to fix the lint

* fix(explore comma): make to fix the spell  & add tokenSeparatprs props to PickedSelectProps

* Update Select.tsx

* fix(explore comma): make to run lint fix
2022-03-18 11:39:26 -03:00
Stephen Liu
10eb6c77a4
chore: use order_desc shared control consistently (#19172) 2022-03-18 21:28:47 +08:00
Jesse Yang
f6291545fb
chore: turn on SQLLAB_BACKEND_PERSISTENCE by default (#19107)
* chore: turn on SQLLAB_BACKEND_PERSISTENCE by default

* Rewrite SQL tabs test to make it more rerunnable
2022-03-17 21:51:47 -07:00
Diego Medina
19fcd03c89
fix: allow to select <NULL> in a native filter single mode (#19076)
* fix: allow to select <NULL> in a native filter single mode

* fix lint issue

* Update superset-frontend/src/components/Select/utils.ts

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

* fix

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-03-17 14:05:32 -03:00
smileydev
d099f5ed4a
fix(select): make to consider the case sensitive in case of d3 format selector (#19159) 2022-03-17 10:04:03 -07:00
Hugh A. Miles II
3230415e22
remove config (#19146) 2022-03-17 09:19:11 -07:00
Craig Rueda
4b34817b19
feat(ui): Adding manifest prefix config (#19141)
* Adding manifest prefix config

* Fixing broken tests

* Fixing import

* Adding prefix for remaining assets

* Changing static prefix strategy

* Fixing DST test

* Fixing up formatting

* Fixing up async_query_manager.py types
2022-03-17 08:58:48 -07:00
cccs-Dustin
02ef9ca4cd
feat(sqllab): Add a configuration option to disable data preview (#19104) 2022-03-17 15:22:57 +02:00
Diego Medina
cfb967f430
feat: scroll to bottom when adding a new native filter and the page is filled (#19053)
* feat: Scroll to bottom when adding a new native filter and the page is filled

* Add test
2022-03-16 20:47:15 -06:00
Diego Medina
0277ebc225
fix: Popovers in Explore not attached to the fields they are triggered by (#19139)
* fix: Popovers in Explore not attached to the fields they are triggered by

* fix

* PR comment

* remove unused import
2022-03-16 20:46:52 -06:00
Diego Medina
3b427b2029
fix: auto-complete of tables and names are not working in SQL lab (#19152) 2022-03-16 20:46:06 -06:00
Ville Brofeldt
b7a0559aaf
feat: add permalink to dashboard and explore (#19078)
* rename key_value to temporary_cache

* add migration

* create new key_value package

* add commands

* lots of new stuff

* fix schema reference

* remove redundant filter state from bootstrap data

* add missing license headers

* fix pylint

* fix dashboard permalink access

* use valid json mocks for filter state tests

* fix temporary cache tests

* add anchors to dashboard state

* lint

* fix util test

* fix url shortlink button tests

* remove legacy shortner

* remove unused imports

* fix js tests

* fix test

* add native filter state to anchor link

* add UPDATING.md section

* address comments

* address comments

* lint

* fix test

* add utils tests + other test stubs

* add key_value integration tests

* add filter box state to permalink state

* fully support persisting url parameters

* lint, add redirects and a few integration tests

* fix test + clean up trailing comma

* fix anchor bug

* change value to LargeBinary to support persisting binary values

* fix urlParams type and simplify urlencode

* lint

* add optional entry expiration

* fix incorrect chart id + add test
2022-03-17 01:15:52 +02:00
Hugh A. Miles II
fc8721800b
fix: Revert "refactor: converted QueryAutoRefresh to functional component … (#19226)
* Revert "refactor: converted QueryAutoRefresh to functional component (#18179)"

This reverts commit f497c1900e.

* lint
2022-03-16 15:57:35 -07:00
Jesse Yang
8d53db1db6
test: fix TimezoneSelector tests on daylight saving time (#19156) 2022-03-16 14:47:41 -07:00
Hugh A. Miles II
181ecf4509
fix: Logic for showing extension in Global Nav (#19158)
* fix logic for checking extensions

* add specific types

* fix lint
2022-03-16 14:39:08 -07:00
Lyndsi Kay Williams
bb618a47ff
fix(sqllab): Updated blank states for query results and query history (#19111)
* Empty states updated on result tab and query history tab

* Testing on query history blank state

* Testing on result tab with empty state

* Forgot to remove a comment

* Corrected empty state image size and centered with drag bar

* Centered blank states vertically
2022-03-16 14:09:19 -05:00
David Aaron Suddjian
3d66912d89
fix: clean up chart metadata config (#19143)
* fix: clean up chart metadata config

* missed a spot

* missed another spot

* fix failing time-specific test

* can't call translation functions here

* Revert "fix failing time-specific test"

This reverts commit 3eeb8ab9cc.

* skip problematic test

* extra import
2022-03-16 09:59:56 -07:00
smileydev
30c97ad5bf
fix(dashboard-css): make to stay custom css when reload (#19084)
* fix(dashboard-css): make to stay custome css when reload

* fix(dashboard-css): make to add injectCustomCSS into HeaderActionsDropdown.test.tsx
2022-03-15 23:10:55 -06:00
smileydev
8e7af79aa9
fix(dbs-dropdown): make to allow the search in supported db dropdown (#19125) 2022-03-15 23:09:56 -06:00
Diego Medina
74910f99d8
fix(dashboard): scrolling table viz overlaps next chart (#19121) 2022-03-15 23:01:21 -06:00
Jinghuayao
981f09b5db
test(native filter): add new native filter test (#19115)
* add new native filter test
2022-03-15 08:16:06 -07:00
David Aaron Suddjian
54b60ded8e
chore(embedded): refresh the guest token (#19132)
* refresh the guest token

* put back the date logic

* version

* fix time hijinks

* test

* Update superset-embedded-sdk/src/guestTokenRefresh.ts
2022-03-14 09:32:25 -07:00
Evan Rusackas
76b4a14d30
chore(config): Migrating ENABLE_JAVASCRIPT_CONTROLS from app config to a feature flag (#19113)
* first pass migrating config to ff

* nixing a console log from testing

* adding an entry to `UPDATING.md`

* linting 

* Adding ENABLE_JAVASCRIPT_CONTROLS to FEATURE_FLAGS.md

* no longer in need of state!

* Turning the flag back off

* linting... le sigh

* and more linting...
2022-03-14 08:54:02 -06:00
Hugh A. Miles II
c337491d0e
fix: Add perm for showing DBC-UI in Global Nav (#19023)
* add perm for global db add

* fix permissions

* missing roles params
2022-03-11 13:37:26 -08:00
Jesse Yang
ae13d8313b
feat(select): keep options order when in single mode (#19085) 2022-03-11 13:01:38 -08:00
Stephen Liu
7524e1e3c8
feat(viz-gallery): add 'feature' tag and fuzzy search weighting (#18662)
* feat(viz-gallery): add 'feature' tag and fuzzy search weighting

* add search weight

* Update superset-frontend/src/explore/components/controls/VizTypeControl/VizTypeGallery.tsx

Co-authored-by: Evan Rusackas <evan@preset.io>

* Update superset-frontend/src/explore/components/controls/VizTypeControl/VizTypeGallery.tsx

Co-authored-by: Evan Rusackas <evan@preset.io>

* Update superset-frontend/src/explore/components/controls/VizTypeControl/VizTypeGallery.tsx

Co-authored-by: Evan Rusackas <evan@preset.io>

* Update superset-frontend/src/explore/components/controls/VizTypeControl/VizTypeGallery.tsx

Co-authored-by: Evan Rusackas <evan@preset.io>

* some improvements

* take metadata out

* use chartLabel enum to unify

* add test chart

* fix cache

* Resolving TS Lint issue

* Appeasing the linter

* Removing one example implementation

* Removing another example label implementation

* Removing the third example label implementation

Co-authored-by: Evan Rusackas <evan@preset.io>
2022-03-11 01:49:10 -07:00
Jesse Yang
3a78165d13
refactor(TimezoneSelector): simplify override logics and tests (#19090) 2022-03-10 18:09:20 -08:00
smileydev
158396fb6c
fix(dashobard-edge-cutting): make to be not cut without Filter (#19080) 2022-03-10 16:15:51 -07:00
Kamil Gabryjelski
70081a698f
fix(dashboard): Empty states overflowing small chart containers (#19095)
* fix(dashboard): Empty states overflowing small chart containers

* Fix test
2022-03-10 15:54:07 +01:00
Kamil Gabryjelski
b8091e33a9
perf(dashboard): Send chart requests before native filter requests (#19077) 2022-03-10 13:37:02 +01:00
smileydev
c79ee56884
fix(plugin-chart-echarts): make to allow the custome of x & y axis title margin i… (#18947)
* fix(chartviz): make to allow the custome of x & y axis title margin in  chart

* fix(chartviz): add eslint radix error in chart.js

* fix(chartviz): change the transformProps in chart plugin & creat helper.

* fix(chartviz): lint fix & chart.js back

* fix(plugin-chart-echarts): make to allow the custom margin of X & y axis in BoxPlot & Mixedtimeseries charts

* fix(plugin-chart-echarts): make to change changeNumber to changeInteger

* fix(plugin-chart-echarts): make to add license & change file name
2022-03-10 12:59:07 +01:00
Smart-Codi
bc6aad0a88
fix: Show Totals error with sort and group by together (#19072) 2022-03-09 21:35:29 -07:00
Hugh A. Miles II
a21d8a0bf4
fix autocomplete (#19047) 2022-03-09 19:07:22 -08:00
Diego Medina
0e0beceac1
fix: Pivot Table Conditional Formatting Doesn't Show All Options (#19071)
* fix: Pivot Table Conditional Formatting Doesn't Show All Options

* PR comments

* PR comments
2022-03-09 15:04:04 -07:00
smileydev
62ad574c24
fix(allow-db-explore): make that the set the allow-db-explore option (#19030) 2022-03-09 14:59:57 -07:00
Kamil Gabryjelski
3c1fb944c1
perf(dashboard): Improve performance of complex dashboards (#19064)
* perf(dashboard): Improve performance of filter indicators

* Improve perf of cross filters

* Rename old function

* Fix undefined

* fix type

* fix tests

* fix undefined

* Address code review comments

* Address code review comments
2022-03-09 22:39:58 +01:00
smileydev
220c46131e
fix(altered-modal): make specified text fields wrap in table (#18822)
* fix(altered-modal): make all text fields wrap

* fix(altered-modal): limit the wrap text in particular column

* fix(altered-modal): make to update the unit test

* fix(altered-modal): make to fix the type of columnsForWrapText

* fix(alerted-modal): make to fix the type of columnsForWrapTest with string type
2022-03-09 12:43:16 -07:00
Diego Medina
fd757c4aa4
fix: enable find text browser functionality inside SQL Lab editor (#19061) 2022-03-09 12:27:10 -07:00
Diego Medina
bd76648e4e
fix: show the total row count in the SQL Lab Query History tab when limited by DISPLAY_MAX_ROW (#19054) 2022-03-09 12:19:18 -07:00
Geido
f53f86f796
Control sortby based on series limit (#18950) 2022-03-09 20:12:45 +02:00
Michael S. Molina
79a7a5d1b1
fix: Select clear and loading icons overlap (#19070) 2022-03-09 10:03:30 -03:00
Michael S. Molina
fd154f7ba6
fix: Dataset search when creating a chart (#19065) 2022-03-09 09:25:43 -03:00
Grace Guo
d539fc217a
fix(time-series table): display null values in time-series table and sortable (#19024)
* fix: display null values in time-series table and sortable

* add unit test

* fix unit test

* Add sortNumericValues with different nan treatment

Co-authored-by: Jesse Yang <jesse.yang@airbnb.com>
2022-03-08 17:03:49 -08:00
Phillip Kelley-Dotson
bb17decb06
fix: ensure validation for db modal for googlesheets (#19018)
* fix: ensure validation for db modal for googlesheets

* chain async function
2022-03-08 16:21:12 -08:00
Diego Medina
aa0ec717a2
Add previous line hotkey to SQL editor for macOS (#19052) 2022-03-08 14:26:36 -07:00
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