Commit Graph

11802 Commits

Author SHA1 Message Date
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
Bogdan
b4df82591e Memoize the common_bootstrap_payload (#21018)
Try patch

Co-authored-by: Bogdan Kyryliuk <bogdankyryliuk@dropbox.com>
(cherry picked from commit 495a205dec)
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
Erik Cederstrand
e91222eb65 chore(deps): unpin holidays dependency version (#21091)
The blocking issue has been fixed upstream

Co-authored-by: Erik Cederstrand <erik@adamatics.com>
(cherry picked from commit d817a1dc87)
2022-09-14 11:38:23 -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
Yongjie Zhao
43b8f18a21 fix: getting default value in run-server.sh (#20736)
(cherry picked from commit 5990ea639e)
2022-09-14 11:38:21 -07:00
Multazim Deshmukh
5efee17def fix: make max-requests and max-requests-jitter adjustable (#20733)
Co-authored-by: Multazim Deshmukh <multazim.deshmukh@morningstar.com>
(cherry picked from commit 883241070f)
2022-09-14 11:38:21 -07:00
Beto Dealmeida
56137ebbe5 fix: logger message (#20714)
(cherry picked from commit c70d102b73)
2022-09-14 11:38:21 -07:00
Michael S. Molina
067495d954 Updates CHANGELOG.md 2.0.0 2.0.0rc2 2022-07-06 13:48:18 -03:00
Reese
bba486b08c fix: Allow dataset owners to explore their datasets (#20382)
* fix: Allow dataset owners to explore their datasets

* Re-order imports

* Give owners security manager permissions to their datasets

* Update test suite

* Add SqlaTable to is_owner types

* Add owners to datasource mock

* Fix VSCode import error

* Fix merge error
2022-07-06 11:43:19 -03:00
Daniel Vaz Gaspar
6e74f3e82c docs: fix link for Apache Superset source code (#20620)
(cherry picked from commit b39a3d8f78)
2022-07-06 11:40:43 -03:00
Daniel Vaz Gaspar
3e97c60c8d chore: bump FAB to 4.1.3 (#20621)
(cherry picked from commit 183871b002)
2022-07-06 11:40:43 -03:00
Rui Zhao
747b011bb7 fix(embedded): Retry when executing alert queries to avoid sending transient errors to users as alert failure notifications (#20419)
Co-authored-by: Rui Zhao <zhaorui@dropbox.com>
(cherry picked from commit 818962cc89)
2022-07-06 11:40:43 -03: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
yourssvk
9a26a211d4 fix: SQL Lab cancel query in Redshift database connection does not wo… (#16326)
* fix: SQL Lab cancel query in Redshift database connection does not work #16325

Co-authored-by: Venkata Krishnan Somasundaram <venkata_cred@Venkatas-MacBook-Pro.local>
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
(cherry picked from commit 90d486a643)
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
edbbf886af Updates CHANGELOG.md 2.0.0rc1 2022-06-29 09:27:48 -03:00
Michael S. Molina
80e2f1abe7 fix: Removes psycopg2 as a required dependency (#20543)
* fix: Removes psycopg2 as a required dependency

* Disables lint warning

(cherry picked from commit cb3cd41dcd)
2022-06-29 09:25:30 -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
Daniel Vaz Gaspar
63229dcf56 fix: bump FAB to 4.1.2 (#20483) 2022-06-28 14:22:12 -03:00
Multazim Deshmukh
92038db579 fix: correction from mmsql to mssql in setup.py (#20493)
Co-authored-by: Multazim Deshmukh <multazim.deshmukh@morningstar.com>
(cherry picked from commit 5a2abfab65)
2022-06-28 14:21:25 -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
Elizabeth Thompson
885bbdde95 remove autoflush for queries during dual write (#20460)
(cherry picked from commit 44f0b511dd)
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
Stephen Liu
bbca109ea3 fix(docs): prevent some symbols from being copied with (#20480)
(cherry picked from commit aa4068048a)
2022-06-28 14:19:23 -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
John Bodley
23061d6822 fix(migration): Ensure key_value LargeBinary is encoded as a MEDIUMBLOB as opposed to BLOB for MySQL (#20385)
* fix(migration): Ensure key_value LargeBinary is encoded as a MEDIUMBLOB as opposed to BLOB for MySQL

* Update 2022-06-14_15-28_e09b4ae78457_resize_key_value_blob.py

Co-authored-by: John Bodley <john.bodley@airbnb.com>
(cherry picked from commit f5cb23e0a3)
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
Michael S. Molina
ca0544a573 fix: Changes the return type of get_permissions to be JSON friendly (#20472)
* fix: Changes the return type of get_permissions to be JSON friendly

* Removes dangling comma

* Removes unused import

* Fixes typing errors

(cherry picked from commit a169b60712)
2022-06-28 14:19:23 -03:00
AAfghahi
d789f376b3 async queries limit bug (#20468)
(cherry picked from commit 2c16be42e1)
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
Beto Dealmeida
4728d8f49b fix: ensure column name in description is string (#20340)
* fix: ensure column name in description is string

* Add unit test

(cherry picked from commit f3b289d3c3)
2022-06-28 14:19:23 -03:00
Diego Medina
9e6a3e1a4e fix(viz): BigQuery time grain 'minute'/'second' throws an error (#20350)
(cherry picked from commit 5afeba34bd)
2022-06-28 14:19:22 -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
Yongjie Zhao
4e93690e19 fix: should raise exception when apply a categorical axis (#20451)
(cherry picked from commit 8bbbd6f03f)
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
Samira El Aabidi
59fbf2a202 feat(chart): Enable caching per user when user impersonation is enabled (#20114)
* add username to extra cache keys when impersonation is enabled.

* don't put effective_user in extra_cache_key

* get_impersonation_key method in engine_spec class  to construct an impersonation key

* pass datasource when creating query objects

* adding an impersonation key when construction cache key

* add feature flag to control caching per user

* revert changes

* make precommit and pylint happy

* pass a User instance

* remove unnecessary import

(cherry picked from commit 68af5980ea)
2022-06-23 09:12:14 -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
John Bodley
06592180ea [fbprophet] Fix frequencies (#20326)
(cherry picked from commit 8b0bee5e8b)
2022-06-23 09:12:14 -03:00
Simon Thelin
cb270034f3 fix(20428): Address-Presto/Trino-Poll-Issue-Refactor (#20434)
* fix(20428)-Address-Presto/Trino-Poll-Issue-Refacto
r

Update linter

* Update to only use BaseEngineSpec handle_cursor

* Fix CI

Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
(cherry picked from commit 8b7262fa90)
2022-06-23 09:12:14 -03:00