Commit Graph

11199 Commits

Author SHA1 Message Date
smileydev
891798b871 fix(dashobard-edge-cutting): make to be not cut without Filter (#19080)
(cherry picked from commit 158396fb6c)
2022-04-03 14:02:20 +03:00
Lily Kuang
cb5d814fd7 fix: cache key with guest token rls (#19110)
* add guest rls clause to cache key

* lint

* pylint

* add app back

(cherry picked from commit 27268169e4)
2022-04-03 14:02:19 +03:00
7vikpeculiar
7d0ee284fa Modified alerts and reports docs for clarity (#19091)
(cherry picked from commit a37a4ed35f)
2022-04-03 14:02:19 +03:00
Kamil Gabryjelski
89edf8a7a9 fix(dashboard): Empty states overflowing small chart containers (#19095)
* fix(dashboard): Empty states overflowing small chart containers

* Fix test

(cherry picked from commit 70081a698f)
2022-04-03 14:02:19 +03:00
Kamil Gabryjelski
088f6f75ff perf(dashboard): Send chart requests before native filter requests (#19077)
(cherry picked from commit b8091e33a9)
2022-04-03 14:02:19 +03:00
smileydev
d0c9df4d7b 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

(cherry picked from commit c79ee56884)
2022-04-03 14:02:19 +03:00
Ville Brofeldt
36561b7943 fix(dashboard): import handle missing excluded charts (#19088)
(cherry picked from commit 999c2c6826)
2022-04-03 14:02:18 +03:00
Smart-Codi
2193e17940 fix: Show Totals error with sort and group by together (#19072)
(cherry picked from commit bc6aad0a88)
2022-04-03 14:02:18 +03:00
Smart-Codi
dae9e7c020 fix database import error (#19037)
(cherry picked from commit e97cdba092)
2022-04-03 14:02:18 +03:00
Hugh A. Miles II
2c151f352e fix autocomplete (#19047)
(cherry picked from commit a21d8a0bf4)
2022-04-03 14:02:18 +03:00
Diego Medina
0aba34a807 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

(cherry picked from commit 0e0beceac1)
2022-04-03 14:02:18 +03:00
smileydev
67d7a7b115 fix(allow-db-explore): make that the set the allow-db-explore option (#19030)
(cherry picked from commit 62ad574c24)
2022-04-03 14:02:17 +03:00
Kamil Gabryjelski
cd2a958ce3 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

(cherry picked from commit 3c1fb944c1)
2022-04-03 14:02:17 +03:00
smileydev
4462cfeb0f 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

(cherry picked from commit 220c46131e)
2022-04-03 14:02:17 +03:00
Diego Medina
4c9785f3e3 fix: enable find text browser functionality inside SQL Lab editor (#19061)
(cherry picked from commit fd757c4aa4)
2022-04-03 14:02:17 +03:00
Diego Medina
005949f6b9 fix: show the total row count in the SQL Lab Query History tab when limited by DISPLAY_MAX_ROW (#19054)
(cherry picked from commit bd76648e4e)
2022-04-03 14:02:17 +03:00
Geido
4bff8fe95e Control sortby based on series limit (#18950)
(cherry picked from commit f53f86f796)
2022-04-03 14:02:16 +03:00
Michael S. Molina
3729df2653 fix: Select clear and loading icons overlap (#19070)
(cherry picked from commit 79a7a5d1b1)
2022-04-03 14:02:16 +03:00
Michael S. Molina
56b1144abd fix: Dataset search when creating a chart (#19065)
(cherry picked from commit fd154f7ba6)
2022-04-03 14:02:16 +03:00
Elizabeth Thompson
253f80ab6d chore: log multiple errors (#14064)
* log all errors from db create

* return unique set of errors

* sort set for exceptions list

* run black

(cherry picked from commit c143b37128)
2022-04-03 14:02:16 +03:00
Grace Guo
e97b123961 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>
(cherry picked from commit d539fc217a)
2022-04-03 14:02:16 +03:00
Phillip Kelley-Dotson
bc65cf4509 fix: ensure validation for db modal for googlesheets (#19018)
* fix: ensure validation for db modal for googlesheets

* chain async function

(cherry picked from commit bb17decb06)
2022-04-03 14:02:15 +03:00
Srini Kadamati
3ce4f051d5 docs: renamed yugabyte to yugabytedb (#19068)
* docs: renamed yugabyte to yugabytedb

* fixed redirect error

* pass that test!

(cherry picked from commit 7af26a0492)
2022-04-03 14:02:15 +03:00
Diego Medina
8bef059624 Add previous line hotkey to SQL editor for macOS (#19052)
(cherry picked from commit aa0ec717a2)
2022-04-03 14:02:15 +03:00
Thomas Desrosiers
4b8fc06e5f fix: Update time grain expressions for Spark >= 3.x (#18690)
* Fix the time grain expressions for Spark >= 2.3.0

Spark removed date format string 'u' in Spark 3.0. Switch to using date_trunc which has been around since 2.3

* Review: Pull out time_grain_expressoins into its own thing

(cherry picked from commit 03b2b06e90)
2022-04-03 14:02:15 +03:00
Phillip Kelley-Dotson
29b46d00f9 fix: remove unnecessary divider (#19048)
* fix: remove unnecessary divider

* remove console

(cherry picked from commit 4d96393faf)
2022-04-03 14:02:15 +03:00
Jesse Yang
032f560c2c feat(select): sort exact and startsWith match to first (#18856)
(cherry picked from commit c75f233109)
2022-04-03 14:02:14 +03:00
Michael S. Molina
219fa570b0 chore: Moves Chart to the components folder (#19029)
(cherry picked from commit 04a36d5c92)
2022-04-03 14:02:14 +03:00
chanyou0311
05f25d350c Install and use vm-browserify for sandboxedEval (#19059)
(cherry picked from commit 2cc5678dfc)
2022-04-03 14:02:14 +03:00
Alex Rothberg
1658a9f6b4 docs(building): link frontend asset instructions correctly (#19050)
(cherry picked from commit e89f0abf95)
2022-04-03 14:02:14 +03:00
Erik Ritter
379676e1f6 fix: improve cypress flakiness (#19044)
(cherry picked from commit 002bd6ed0a)
2022-04-03 14:02:13 +03:00
Ville Brofeldt
02d9825b11 chore(plugin-chart-echarts): bump echarts 5.3.1 (#19041)
(cherry picked from commit 1b7d056126)
2022-04-03 14:02:13 +03:00
pablo-guerra
45dc7b5984 chore: adding Dutch language translations (NL) (#18965)
* added NL translations

* added Dutch to config

* fixed end of line on .po file

Co-authored-by: pablo.guerra-at-026399402087 <pablo.guerra@026399402087>
(cherry picked from commit 44675037bd)
2022-04-03 14:02:13 +03:00
Michael S. Molina
4e78efcf07 chore: Moves CRUD components to the Datasource component (#19032)
* chore: Moves CRUD components to the Datasource component

* Fixes imports

* Fixes less import

(cherry picked from commit 71b8d31e77)
2022-04-03 14:02:13 +03:00
Stephen Liu
1eac8712a4 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.

(cherry picked from commit c32eaf47e5)
2022-04-03 14:02:12 +03:00
Duc Le Tu
9777e6d148 Update impala.mdx (#19040)
(cherry picked from commit b2ee13f6f8)
2022-04-03 14:02:12 +03:00
Karthikeyan Singaravelan
585b032a1a chore: Fix deprecated unittest aliases. (#19042)
(cherry picked from commit 864bafc655)
2022-04-03 14:02:12 +03:00
Hugh A. Miles II
fb5d77e404 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

(cherry picked from commit 8c52fe3476)
2022-04-03 14:02:12 +03:00
Michael S. Molina
6178f0515a refactor: Deletes the common/components folder (#18999)
(cherry picked from commit 329855170e)
2022-04-03 14:02:12 +03:00
Kamil Gabryjelski
8640814a92 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

(cherry picked from commit 9f834e8317)
2022-04-03 14:02:11 +03:00
cccs-Dustin
00a53dae73 fix(SQL Editor): names new query tabs correctly (#18951)
* Added in code changes that now properly increment the Untitled Query SQL Lab tab names. All that is left is to add tests to make sure that the function works correctly

* Updated the code so that it adds to the untitled_query_numbers variable only if the character after the string 'Untitled Query ' is a number. This prevents any issues when trying to get the maximum value in the list.

* Refactored part of the mapping code, to make it shorter and easier to read/understand

* Fixed issues in the code that were causing some of the CI tests to fail

* Made code changes based on comments within the PR. Also added a unit test to make sure that the newQueryEditor function in the TabbedSqlEditors component works as intended

* Fixed the failing cypress test in tabs.test.js

(cherry picked from commit 5a5ff99c37)
2022-04-03 14:02:11 +03:00
Michael S. Molina
ea534e2386 feat: Adds support to multiple dependencies to the native filters (#18793)
* chore(native-filters): Remove cascading popovers from filter bar

Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2022-04-03 14:00:26 +03:00
Phillip Kelley-Dotson
073be5d74f chore: change case for upload selection (#19021)
* chore: change case for upload selection

* fix label

(cherry picked from commit 299b5dc644)
2022-04-03 13:52:39 +03:00
Beto Dealmeida
8951e23ac6 fix: remove unneeded complexity in migration (#19022)
(cherry picked from commit 50bb86d666)
2022-04-03 13:52:39 +03:00
smileydev
3500b31551 fix(nested-tab-available): make the another tabs into one tabs available (#18877)
* fix(nested-tab-available): make the another tabs into one tabs available

* fix(netsted-tab): remove code of disable nested tab

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

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 6becd38e7f)
2022-04-03 13:52:39 +03:00
Jesse Yang
78e85aed02 feat: remove loading indicator when typing in select (#18799)
(cherry picked from commit 5a8eb09afb)
2022-04-03 13:52:39 +03:00
Beto Dealmeida
75afb3a7b6 feat: show user email in dashboard API (#19004)
* Feat: show user email in dashboard API

* Fix test

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

* lint

* clean up type

* use util

* fix integration test cache configs

* remove util from cache manager

* remove trailing comma

* fix more tests

* fix truthiness check

* fix tests and improve deprecation notice

* fix default cache threshold

* move debug check to cache_manager

* remove separate getter

* update docs

* remove default cache config

(cherry picked from commit a04f1d4c87)
2022-04-03 13:52:38 +03:00