Commit Graph

11205 Commits

Author SHA1 Message Date
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
Lily Kuang
27268169e4 fix: cache key with guest token rls (#19110)
* add guest rls clause to cache key

* lint

* pylint

* add app back
2022-03-10 13:49:47 -08:00
7vikpeculiar
a37a4ed35f Modified alerts and reports docs for clarity (#19091) 2022-03-10 10:39:15 -05: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
Ville Brofeldt
999c2c6826 fix(dashboard): import handle missing excluded charts (#19088) 2022-03-10 12:59:29 +02:00
Smart-Codi
bc6aad0a88 fix: Show Totals error with sort and group by together (#19072) 2022-03-09 21:35:29 -07:00
Smart-Codi
e97cdba092 fix database import error (#19037) 2022-03-09 21:23:13 -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
Elizabeth Thompson
c143b37128 chore: log multiple errors (#14064)
* log all errors from db create

* return unique set of errors

* sort set for exceptions list

* run black
2022-03-08 17:31:19 -08: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
Srini Kadamati
7af26a0492 docs: renamed yugabyte to yugabytedb (#19068)
* docs: renamed yugabyte to yugabytedb

* fixed redirect error

* pass that test!
2022-03-08 17:29:22 -05:00
Diego Medina
aa0ec717a2 Add previous line hotkey to SQL editor for macOS (#19052) 2022-03-08 14:26:36 -07:00
Thomas Desrosiers
03b2b06e90 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
2022-03-08 13:21:13 -08: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
Alex Rothberg
e89f0abf95 docs(building): link frontend asset instructions correctly (#19050) 2022-03-07 12:39:39 -08: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
pablo-guerra
44675037bd 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>
2022-03-07 14:27:05 +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
Duc Le Tu
b2ee13f6f8 Update impala.mdx (#19040) 2022-03-07 09:45:44 +02:00
Karthikeyan Singaravelan
864bafc655 chore: Fix deprecated unittest aliases. (#19042) 2022-03-07 09:38:19 +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
Beto Dealmeida
50bb86d666 fix: remove unneeded complexity in migration (#19022) 2022-03-03 16:56:38 -08:00
AAfghahi
77063cc814 updating.md (#19016) 2022-03-03 16:25:48 -05: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