Craig Rueda
f91f9f5aae
feat(ui): Adding manifest prefix config ( #19141 )
...
* Adding manifest prefix config
* Fixing broken tests
* Fixing import
* Adding prefix for remaining assets
* Changing static prefix strategy
* Fixing DST test
* Fixing up formatting
* Fixing up async_query_manager.py types
2022-04-03 14:03:35 +03:00
cccs-Dustin
a1b9b2946d
feat(sqllab): Add a configuration option to disable data preview ( #19104 )
...
(cherry picked from commit 02ef9ca4cd )
2022-04-03 14:02:24 +03:00
Diego Medina
71338cab57
feat: scroll to bottom when adding a new native filter and the page is filled ( #19053 )
...
* feat: Scroll to bottom when adding a new native filter and the page is filled
* Add test
(cherry picked from commit cfb967f430 )
2022-04-03 14:02:24 +03:00
Diego Medina
28be2311a0
fix: Popovers in Explore not attached to the fields they are triggered by ( #19139 )
...
* fix: Popovers in Explore not attached to the fields they are triggered by
* fix
* PR comment
* remove unused import
(cherry picked from commit 0277ebc225 )
2022-04-03 14:02:24 +03:00
Diego Medina
ff277e0517
fix: auto-complete of tables and names are not working in SQL lab ( #19152 )
...
(cherry picked from commit 3b427b2029 )
2022-04-03 14:02:24 +03:00
Beto Dealmeida
7bc6e14151
chore: refactor import command ( #19216 )
...
(cherry picked from commit a4848a2f46 )
2022-04-03 14:02:24 +03:00
Ville Brofeldt
8c102174b8
feat: add permalink to dashboard and explore ( #19078 )
...
* rename key_value to temporary_cache
* add migration
* create new key_value package
* add commands
* lots of new stuff
* fix schema reference
* remove redundant filter state from bootstrap data
* add missing license headers
* fix pylint
* fix dashboard permalink access
* use valid json mocks for filter state tests
* fix temporary cache tests
* add anchors to dashboard state
* lint
* fix util test
* fix url shortlink button tests
* remove legacy shortner
* remove unused imports
* fix js tests
* fix test
* add native filter state to anchor link
* add UPDATING.md section
* address comments
* address comments
* lint
* fix test
* add utils tests + other test stubs
* add key_value integration tests
* add filter box state to permalink state
* fully support persisting url parameters
* lint, add redirects and a few integration tests
* fix test + clean up trailing comma
* fix anchor bug
* change value to LargeBinary to support persisting binary values
* fix urlParams type and simplify urlencode
* lint
* add optional entry expiration
* fix incorrect chart id + add test
(cherry picked from commit b7a0559aaf )
2022-04-03 14:02:23 +03:00
Beto Dealmeida
90f4d77422
feat: add export_related flag ( #19215 )
...
* feat: add export_related flag
* Fix lint
(cherry picked from commit d01fdad1d8 )
2022-04-03 14:02:23 +03:00
Hugh A. Miles II
2979ff26cc
fix: Revert "refactor: converted QueryAutoRefresh to functional component … ( #19226 )
...
* Revert "refactor: converted QueryAutoRefresh to functional component (#18179 )"
This reverts commit f497c1900e .
* lint
(cherry picked from commit fc8721800b )
2022-04-03 14:02:23 +03:00
Jesse Yang
a68b1fd686
test: fix TimezoneSelector tests on daylight saving time ( #19156 )
...
(cherry picked from commit 8d53db1db6 )
2022-04-03 14:02:23 +03:00
Hugh A. Miles II
ca0c12f2b3
fix: Logic for showing extension in Global Nav ( #19158 )
...
* fix logic for checking extensions
* add specific types
* fix lint
(cherry picked from commit 181ecf4509 )
2022-04-03 14:02:22 +03:00
Lyndsi Kay Williams
3f1074e6a3
fix(sqllab): Updated blank states for query results and query history ( #19111 )
...
* Empty states updated on result tab and query history tab
* Testing on query history blank state
* Testing on result tab with empty state
* Forgot to remove a comment
* Corrected empty state image size and centered with drag bar
* Centered blank states vertically
(cherry picked from commit bb618a47ff )
2022-04-03 14:02:22 +03:00
David Aaron Suddjian
337ea4f59d
fix: clean up chart metadata config ( #19143 )
...
* fix: clean up chart metadata config
* missed a spot
* missed another spot
* fix failing time-specific test
* can't call translation functions here
* Revert "fix failing time-specific test"
This reverts commit 3eeb8ab9cc .
* skip problematic test
* extra import
(cherry picked from commit 3d66912d89 )
2022-04-03 14:02:22 +03:00
smileydev
db8b6af7c7
fix(dashboard-css): make to stay custom css when reload ( #19084 )
...
* fix(dashboard-css): make to stay custome css when reload
* fix(dashboard-css): make to add injectCustomCSS into HeaderActionsDropdown.test.tsx
(cherry picked from commit 30c97ad5bf )
2022-04-03 14:02:22 +03:00
smileydev
a0138af7f8
fix(dbs-dropdown): make to allow the search in supported db dropdown ( #19125 )
...
(cherry picked from commit 8e7af79aa9 )
2022-04-03 14:02:22 +03:00
Diego Medina
ba57cb410e
fix(dashboard): scrolling table viz overlaps next chart ( #19121 )
...
(cherry picked from commit 74910f99d8 )
2022-04-03 14:02:21 +03:00
Jinghuayao
37162a923b
test(native filter): add new native filter test ( #19115 )
...
* add new native filter test
(cherry picked from commit 981f09b5db )
2022-04-03 14:02:21 +03:00
David Aaron Suddjian
0598e95b1b
chore(embedded): refresh the guest token ( #19132 )
...
* refresh the guest token
* put back the date logic
* version
* fix time hijinks
* test
* Update superset-embedded-sdk/src/guestTokenRefresh.ts
(cherry picked from commit 54b60ded8e )
2022-04-03 14:02:21 +03:00
Beto Dealmeida
2e6bd1590d
feat: helper functions for RLS ( #19055 )
...
* feat: helper functions for RLS
* Add function to inject RLS
* Add UNION tests
* Add tests for schema
* Add more tests; cleanup
* has_table_query via tree traversal
* Wrap existing predicate in parenthesis
* Clean up logic
* Improve table matching
(cherry picked from commit 8234395466 )
2022-04-03 14:02:21 +03:00
Hugh A. Miles II
20fd7a7cd5
fix: Add perm for showing DBC-UI in Global Nav ( #19023 )
...
* add perm for global db add
* fix permissions
* missing roles params
(cherry picked from commit c337491d0e )
2022-04-03 14:02:21 +03:00
Jesse Yang
fcca027b88
feat(select): keep options order when in single mode ( #19085 )
...
(cherry picked from commit ae13d8313b )
2022-04-03 14:02:20 +03:00
Lily Kuang
2b8b9b366a
feat(embedded): add optional dashboard ui configuration ( #19031 )
...
* feat: add optional dashboard ui configuration
* change all flags to boolean
* update README and lint
(cherry picked from commit 124cb0dc66 )
2022-04-03 14:02:20 +03:00
Stephen Liu
877ee42a1c
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 >
(cherry picked from commit 7524e1e3c8 )
2022-04-03 14:02:20 +03:00
Jesse Yang
a2fc96a9c3
refactor(TimezoneSelector): simplify override logics and tests ( #19090 )
...
(cherry picked from commit 3a78165d13 )
2022-04-03 14:02:20 +03:00
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