Commit Graph

4642 Commits

Author SHA1 Message Date
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