smileydev
e7355b9610
fix(explore comma): make that the comma can be added by removing it from token separators… ( #18926 )
...
* make that the comma can be added by removing it from token separators in select component.
* fix(explore comma): add the allowTokenSeperators props into Select
* fix(explore comma): make to allow to customize the token separators in Select.
* fix(explore comma): make to add the unit test and story book.
* fix(explore comma): make to fix the lint
* fix(explore comma): make to fix the spell & add tokenSeparatprs props to PickedSelectProps
* Update Select.tsx
* fix(explore comma): make to run lint fix
2022-03-18 11:39:26 -03:00
Venu Vardhan Reddy Tekula
2a89da2ef1
docs: fix broken links in the documentation ( #19235 )
2022-03-18 09:42:14 -04:00
Stephen Liu
10eb6c77a4
chore: use order_desc shared control consistently ( #19172 )
2022-03-18 21:28:47 +08:00
Yongjie Zhao
b5e9fad11a
fix: adhoc column in legacy chart ( #19234 )
2022-03-18 14:05:30 +08:00
Jesse Yang
f6291545fb
chore: turn on SQLLAB_BACKEND_PERSISTENCE by default ( #19107 )
...
* chore: turn on SQLLAB_BACKEND_PERSISTENCE by default
* Rewrite SQL tabs test to make it more rerunnable
2022-03-17 21:51:47 -07:00
Diego Medina
aa5c80bda6
fix(sql lab): deleting the last saved query or the last executed from history ( #19225 )
...
* fix: fix issue when deleting the last saved query or the last executed query
* merge migration
2022-03-17 15:01:18 -06:00
Beto Dealmeida
51061f0d67
feat: import/export assets commands ( #19217 )
...
* feat: import/export assets commands
* Add overwrite test
* Fix tests
2022-03-17 10:51:17 -07:00
Jesse Yang
92cd0a18e6
chore: upgrade mypy ( #19227 )
2022-03-17 10:35:53 -07:00
AAfghahi
c345029fbc
chore!: turn on Versioned Export in config.py ( #19142 )
...
* turning off versioned export
* deleted two tests that required version export false
* added tests
* test suggestions
2022-03-17 13:32:50 -04:00
Kamil Gabryjelski
6593a727f2
chore: Update UPDATING.md with info about flipping dnd feature flag ( #19108 )
2022-03-17 11:19:29 -06:00
Diego Medina
19fcd03c89
fix: allow to select <NULL> in a native filter single mode ( #19076 )
...
* fix: allow to select <NULL> in a native filter single mode
* fix lint issue
* Update superset-frontend/src/components/Select/utils.ts
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* fix
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-03-17 14:05:32 -03:00
smileydev
d099f5ed4a
fix(select): make to consider the case sensitive in case of d3 format selector ( #19159 )
2022-03-17 10:04:03 -07:00
Hugh A. Miles II
3230415e22
remove config ( #19146 )
2022-03-17 09:19:11 -07:00
Craig Rueda
4b34817b19
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-03-17 08:58:48 -07:00
cccs-Dustin
02ef9ca4cd
feat(sqllab): Add a configuration option to disable data preview ( #19104 )
2022-03-17 15:22:57 +02:00
Diego Medina
cfb967f430
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
2022-03-16 20:47:15 -06:00
Diego Medina
0277ebc225
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
2022-03-16 20:46:52 -06:00
Diego Medina
3b427b2029
fix: auto-complete of tables and names are not working in SQL lab ( #19152 )
2022-03-16 20:46:06 -06:00
Yongjie Zhao
e4c9a0d8ae
fix: time filter should be [start, end) ( #19166 )
2022-03-17 10:02:50 +08:00
Beto Dealmeida
a4848a2f46
chore: refactor import command ( #19216 )
2022-03-16 18:01:31 -07:00
Ville Brofeldt
b7a0559aaf
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
2022-03-17 01:15:52 +02:00
Beto Dealmeida
d01fdad1d8
feat: add export_related flag ( #19215 )
...
* feat: add export_related flag
* Fix lint
2022-03-16 16:03:06 -07:00
Hugh A. Miles II
fc8721800b
fix: Revert "refactor: converted QueryAutoRefresh to functional component … ( #19226 )
...
* Revert "refactor: converted QueryAutoRefresh to functional component (#18179 )"
This reverts commit f497c1900e
.
* lint
2022-03-16 15:57:35 -07:00
Jesse Yang
8d53db1db6
test: fix TimezoneSelector tests on daylight saving time ( #19156 )
2022-03-16 14:47:41 -07:00
Hugh A. Miles II
181ecf4509
fix: Logic for showing extension in Global Nav ( #19158 )
...
* fix logic for checking extensions
* add specific types
* fix lint
2022-03-16 14:39:08 -07:00
Lyndsi Kay Williams
bb618a47ff
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
2022-03-16 14:09:19 -05:00
David Aaron Suddjian
3d66912d89
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
2022-03-16 09:59:56 -07:00
smileydev
30c97ad5bf
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
2022-03-15 23:10:55 -06:00
smileydev
8e7af79aa9
fix(dbs-dropdown): make to allow the search in supported db dropdown ( #19125 )
2022-03-15 23:09:56 -06:00
Diego Medina
74910f99d8
fix(dashboard): scrolling table viz overlaps next chart ( #19121 )
2022-03-15 23:01:21 -06:00
Jinghuayao
981f09b5db
test(native filter): add new native filter test ( #19115 )
...
* add new native filter test
2022-03-15 08:16:06 -07:00
John Bodley
e3e03d202d
chore: Deprecate Python 3.7 ( #19017 )
...
* chore: Deprecate Python 3.7 and add support for Python 3.10
* Update local-backend.mdx
* Update UPDATING.md
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-03-15 06:29:18 +13:00
David Aaron Suddjian
54b60ded8e
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
2022-03-14 09:32:25 -07:00
Evan Rusackas
76b4a14d30
chore(config): Migrating ENABLE_JAVASCRIPT_CONTROLS
from app config to a feature flag ( #19113 )
...
* first pass migrating config to ff
* nixing a console log from testing
* adding an entry to `UPDATING.md`
* linting ✨
* Adding ENABLE_JAVASCRIPT_CONTROLS to FEATURE_FLAGS.md
* no longer in need of state!
* Turning the flag back off
* linting... le sigh
* and more linting...
2022-03-14 08:54:02 -06:00
Beto Dealmeida
8234395466
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
2022-03-11 14:47:11 -08:00
Hugh A. Miles II
c337491d0e
fix: Add perm for showing DBC-UI in Global Nav ( #19023 )
...
* add perm for global db add
* fix permissions
* missing roles params
2022-03-11 13:37:26 -08:00
Jesse Yang
ae13d8313b
feat(select): keep options order when in single mode ( #19085 )
2022-03-11 13:01:38 -08:00
Lily Kuang
124cb0dc66
feat(embedded): add optional dashboard ui configuration ( #19031 )
...
* feat: add optional dashboard ui configuration
* change all flags to boolean
* update README and lint
2022-03-11 12:37:47 -08:00
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