Commit Graph

4878 Commits

Author SHA1 Message Date
Michael S. Molina
fdded99ba8 feat: Disables HTML rendering in Toast by default (#21853)
(cherry picked from commit 47b1e0ca9d)
2022-11-02 14:34:18 -07:00
dependabot[bot]
f76755e72b chore(deps): bump moment from 2.29.2 to 2.29.4 in /superset-frontend (#20644)
Bumps [moment](https://github.com/moment/moment) from 2.29.2 to 2.29.4.
- [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.2...2.29.4)

---
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-10-20 09:17:28 -07:00
Elizabeth Thompson
42c9eacaeb fix test 2022-10-19 14:15:16 -07:00
Elizabeth Thompson
2fbda195e8 xit cypress test 2022-10-18 14:17:48 -07:00
Stephen Liu
cea8e4daf2 fix(dashboard): dashboard doesn't load properly if it has tabs (#21576)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-10-18 14:02:58 -07:00
Mayur
930148dec6 fix(dashboard): show correct roles for dashboard access dropdown (#21549) 2022-10-18 14:00:56 -07:00
Rui Zhao
b1c9adb52b fix(report): Fix permission check for set up email report on charts/dashboards. Fixes #21559 (#21561)
Co-authored-by: Rui Zhao <zhaorui@dropbox.com>
(cherry picked from commit 7f971b4103)
2022-10-18 13:55:41 -07:00
Yongjie Zhao
9e907be7a8 fix: annotation broken (#20651)
* fix: annotation broken

* fix UT

* add annotation data to mixed timeseries chart

(cherry picked from commit 7f918a4ec0)
2022-10-18 13:55:37 -07:00
Elizabeth Thompson
61b64492a2 bump package-lock version 2022-10-06 15:45:55 -07:00
AAfghahi
548311c424 linting issues 2022-10-06 14:45:06 -04:00
aehanno
511cafa790 fix: Add locale for DatePicker component (#20063)
Co-authored-by: Kevin Dethelot <kevin.dethelot@kosmos.fr>
Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com>
2022-10-06 14:45:06 -04:00
Daniel Vaz Gaspar
dd919bc176 fix: disallow users from viewing other user's profile on config (#21302) 2022-10-06 14:45:06 -04:00
MichaelHintz
440ab64c53 fix(sqllab): Fix cursor alignment in SQL lab editor by avoiding Lucida Console font on Windows (#21380)
(cherry picked from commit 3098e657e5)
2022-10-06 14:45:06 -04:00
JUST.in DO IT
08052a7db3 fix(plugin-chart-echarts): missing value format in mixed timeseries (#21044) 2022-10-06 14:45:06 -04:00
Ville Brofeldt
db661ec17f fix(plugin-chart-echarts): show zero value in tooltip (#21296)
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
(cherry picked from commit 1aeb8fd6b7)
2022-10-06 14:45:05 -04:00
Kamil Gabryjelski
7f8d6b3400 fix(explore): Time column label not formatted when GENERIC_X_AXES enabled (#21294)
(cherry picked from commit c3a00d43d0)
2022-10-06 14:45:05 -04:00
Stephen Liu
32736680da fix(database-list): hidden upload file button if no permission (#21216)
(cherry picked from commit 0c43190e04)
2022-09-14 11:38:27 -07:00
JUST.in DO IT
9337dec038 fix(sqllab): missing zero values while copy-to-clipboard (#21153)
(cherry picked from commit 4e23d62d4f)
2022-09-14 11:38:26 -07:00
stevetracvc
05d7c3d74d fix(native filters): groupby filter issue (#21084)
(cherry picked from commit d79b0bfc74)
2022-09-14 11:38:25 -07:00
Stephen Liu
c3e04d7ebf fix(plugin-chart-handlebars): order by control not work (#21005)
(cherry picked from commit e70699fb43)
2022-09-14 11:38:25 -07:00
EugeneTorap
47c3cd10bd fix(dashboard): Fix scroll behaviour in DashboardBuilderSidepane (#20969)
(cherry picked from commit 6f3a555e58)
2022-09-14 11:38:24 -07:00
Stephen Liu
884e2f1ca7 fix(plugin-chart-echarts): gauge chart enhancements and fixes (#21007)
* fix(plugin-chart-echarts): gauge chart enhancements and fixes

* fix lint

(cherry picked from commit b303d1e156)
2022-09-14 11:38:24 -07:00
JUST.in DO IT
2db82d578c fix(plugin-chart-echarts): invalid total label location for negative values in stacked bar chart (#21032)
(cherry picked from commit a8ba544e60)
2022-09-14 11:38:23 -07:00
Kamil Gabryjelski
346c035690 fix: Explore scrolled down when navigating from dashboard (#20962)
(cherry picked from commit e4fc5564ce)
2022-09-14 11:38:22 -07:00
Antonio Rivero Martinez
6a5b12ec8c Big Number Viz: (#20946)
- When the value is zero we still render the percent change and suffix if present

(cherry picked from commit aa53c10312)
2022-09-14 11:38:22 -07:00
Diego Medina
8c2ca2d8d8 Temporal X Axis values are not properly displayed if the time column has a custom label defined (#20819)
(cherry picked from commit 51869f32ac)
2022-09-14 11:38:21 -07:00
Evan Rusackas
dc71454416 fix: Respecting max/min opacities, and adding tests. (#20555)
* Respecting max/min opacities, and adding tests.

* revising tests

* Adding missing test case for maximum coverage :)

* removing unnecessary logic and test

* adding another unit test for (hopefully) full coverage.

* no more ternary operator

* New approach with Math.min  - take THAT codecov.

* one more stab at making codecov happy... ignoring the file next.

* lint fixes

(cherry picked from commit ac8e502228)
2022-07-06 11:38:33 -03:00
Evan Rusackas
4dcc805dee Revert "feat(plugin-chart-echarts): Support stacking negative and positive values (#20408)" (#20571)
This reverts commit c959d92dd1.

(cherry picked from commit f5f8ddec3e)
2022-07-06 11:38:33 -03:00
Stephen Liu
3b5513be36 fix(database-modal): forms in database modal will be effected by external form values (#20487)
(cherry picked from commit 932e304ffb)
2022-07-06 11:38:33 -03:00
Stephen Liu
4b2397f0c7 fix(big-number): big number gets cut off on a Dashboard (#20488)
(cherry picked from commit 24a53c38c6)
2022-07-06 11:38:32 -03:00
Diego Medina
eedcefc64a fix: Unable to download the Dashboard as image in case there's an image added through Markdown (#20362)
* fix: Unable to download the Dashboard as image in case there's an image added through Markdown

* licence

(cherry picked from commit c5d3678a31)
2022-07-06 11:38:32 -03:00
Alex Lauderbaugh
eba63b4add Updated copy in chart drop down to "View as table" (#20486)
(cherry picked from commit 93fbfe9d28)
2022-07-06 11:38:32 -03:00
Michael S. Molina
b5a4c06d82 Updates CHANGELOG.md, UPDATING.md and package.json 2022-06-28 15:55:58 -03:00
smileydev
789f99341b fix(db): Show the only db install guide when the db is already installed and error is existed while importing file. (#20442)
* fix(db): make to show the db error msg when db installed and error is exist

* fix(db): make to replace dbinstall str into showDbInstallInstructions

(cherry picked from commit 23e62d3782)
2022-06-28 14:22:22 -03:00
Yongjie Zhao
b8d9208b6e feat(standardized form data): keep all columns and metrics (#20377)
(cherry picked from commit bbbe102887)
2022-06-28 14:21:25 -03:00
John Bodley
25a6f02cd6 fix: Re-add filter-box time granularity/column (#20485)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
(cherry picked from commit 661ab35bd0)
2022-06-28 14:21:25 -03:00
stevetracvc
bcc23bbacd fix: issue with sorting by multiple columns in a table (#19920)
Recent commit to sort alphanumeric columns via case insensitive
comparison broke the multi-column sort option. React-table only sorts
by the second (or third...) column if the first column matches.
Since the alphanumeric sort only returned -1 or 1, it never would move
to the subsequent columns when the earlier column values matched.

(cherry picked from commit a45d011e74)
2022-06-28 14:19:23 -03:00
Diego Medina
40a9257311 fix: alert & reports active toggle optimistic update (#20402)
(cherry picked from commit 4dc30441b7)
2022-06-28 14:19:23 -03:00
smileydev
3d850426ff fix(home): Show home page tabs as pills instead of links (#20257)
* fix(home): make to update the css style of links

* fix(home): make to fix lint issue

* fix(home): make to remove underline when tab is active

* fix(homes): make to fix the issue of tab

* fix(home): make to move styles to a tag

(cherry picked from commit a833674a8d)
2022-06-28 14:19:23 -03:00
smileydev
2d551faaf4 fix(chart & table): make to prevent dates from wrapping (#20384)
(cherry picked from commit 1ae935379f)
2022-06-28 14:19:22 -03:00
Yongjie Zhao
f58ad259ac fix: suppress translation warning in jest (#20404)
(cherry picked from commit 9fad26fa19)
2022-06-28 14:19:22 -03:00
Diego Medina
d1ac6e5db4 fix: table viz sort icon bottom aligned (#20447)
(cherry picked from commit 93774d1860)
2022-06-28 14:19:22 -03:00
Sam Firke
4841e8fb9c style(typo): occured -> occurred (#20116)
* Occured -> Occurred

* Occured -> Occurred

* Occured -> Occurred

* Occured - > Occurred

* Update FallbackComponent.tsx

* Update FallbackComponent.tsx

Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
(cherry picked from commit b7eb235440)
2022-06-23 09:12:14 -03:00
Diego Medina
7e48de484a fix(dashboard): new created chart did not have high lighted effect when using the permalink of chart share in dashboard (#20411)
(cherry picked from commit c2f01a676c)
2022-06-23 09:12:14 -03:00
Lily Kuang
a08499d88d fix(embedded): CSV download for chart (#20261)
* move postForm to superset client

* lint

* fix lint

* fix type

* update tests

* add tests

* add test for form submit

* add test for request form

* lint

* fix test

* fix tests

* more tests

* more tests

* test

* lint

* more test for postForm

* lint

* Update superset-frontend/packages/superset-ui-core/test/connection/SupersetClientClass.test.ts

Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>

* update tests

* remove useless test

* make test cover happy

* make test cover happy

* make test cover happy

* make codecov happy

* make codecov happy

Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>
(cherry picked from commit ab9f72f1a1)
2022-06-23 09:12:14 -03:00
jiAng
bd721cd86c fix(cosmetic): cannot find m-r-10 class in superset.less (#20276)
* fix(cosmetic): cannot find m-r-10 class in superset.less

* fix: remove .m-r-10 class and use emotion instead

* Update superset-frontend/src/components/Datasource/CollectionTable.tsx

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

* Update superset-frontend/src/components/Datasource/DatasourceEditor.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>
(cherry picked from commit f6f93aad37)
2022-06-23 09:12:14 -03:00
Stephen Liu
67c853790d fix: rm eslint-plugin-translation-vars engine requirement (#20420)
(cherry picked from commit fa7f144a68)
2022-06-23 09:12:14 -03:00
Stephen Liu
3b3c3be9b2 fix(bar-chart-v2): remove marker from bar chart V2 (#20409)
(cherry picked from commit b32288fddf)
2022-06-23 09:12:13 -03:00
Smart-Codi
78c577b515 adding extra metrics after chart configuration (#20410)
(cherry picked from commit a8a6b732e9)
2022-06-23 09:12:13 -03:00
Kamil Gabryjelski
ce9807941b feat(plugin-chart-echarts): Support stacking negative and positive values (#20408)
(cherry picked from commit c959d92dd1)
2022-06-16 09:03:57 -03:00