Stephen Liu
dc575080d7
feat: improve color consistency (save all labels) ( #19038 )
2022-03-21 15:20:04 +08:00
David Aaron Suddjian
97abc28a1f
chore!: remove ENABLE_REACT_CRUD_VIEWS feature flag (permanently enable) ( #19231 )
...
* remove ENABLE_REACT_CRUD_VIEWS feature flag
* docs
* deal with problematic tests
* empty test suite
* skip test
* test conditions changed
* removing the tests instead of skipping
2022-03-18 14:00:23 -07:00
Grace Guo
d41f9b23a4
chore(superset 2.0): remove front-end deprecated code ( #19241 )
2022-03-18 11:23:00 -07:00
smileydev
b888341090
fix(chart-crud): make to update Viz type Filter label to Chart type ( #19140 )
2022-03-18 11:57:34 -06:00
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
Stephen Liu
10eb6c77a4
chore: use order_desc shared control consistently ( #19172 )
2022-03-18 21:28:47 +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
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
Hugh A. Miles II
3230415e22
remove config ( #19146 )
2022-03-17 09:19:11 -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
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
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
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
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
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
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
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
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
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
Diego Medina
aa0ec717a2
Add previous line hotkey to SQL editor for macOS ( #19052 )
2022-03-08 14:26:36 -07: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
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
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
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