Commit Graph

4642 Commits

Author SHA1 Message Date
Kamil Gabryjelski 3663a33f14
fix(explore): Double divider if no permissions for adding reports (#19777) 2022-04-19 17:47:35 +02:00
Kamil Gabryjelski 6f4480a06c
feat(explore): Replace overlay with alert banner when chart controls change (#19696)
* Rename explore alert

* Rename refreshOverlayVisible to chartIsStale

* Implement banners

* Add tests

* Add clickable text to empty state

* Fix viz type switching

* styling changes

* Fixes after rebasing

* Code review fixes

* Fix bug

* Fix redundant refreshing
2022-04-19 14:57:06 +02:00
Kamil Gabryjelski 594523e895
feat(explore): Implement data panel redesign (#19751)
* feat(explore): Redesign of data panel

* Auto calculate chart panel height and width

* Add tests

* Fix e2e tests

* Increase collapsed data panel height
2022-04-19 10:10:40 +02:00
smileydev 34323f9b5f
fix(explore): make to show the null value as N/A in view result (#19603)
* fix(explore): make to show the null value as N/A in view result

* fix(explore): make to remove console

* fix(explore): make to remove console in Cell

* fix(explore): make to translate N/A
2022-04-18 19:26:15 -06:00
smileydev a2d34ec4b8
fix(import): Add the error alert on failed database import (#19673)
* fix(import): make to add the error alert

* fix(import): make to add licence

* fix(import): make to create ErrorAlert component and use errorMessage spelling
2022-04-18 17:43:24 -06:00
Diego Medina a05ff5e598
fix: alert/report created by filter inconsistency with table display (#19518)
* fix: alert/report created by filter inconsistency with table display

* Match column order to dashboard list
2022-04-18 17:41:07 -06:00
Phillip Kelley-Dotson 06ec88eb99
feat: add empty states to sqlab editor and select (#19598)
* feat: add empty states to sqlab editor and select

* add suggestions and test

* update type

* lint fix and add suggestions

* fix typo

* run lint

* remove unused code

* fix test

* remove redux for propagation and other suggestions

* add t

* lint

* fix text and remove code

* ts and fix t in p

* fix spelling

* remove unused prop

* add fn to prop change state

* remove unused code

* remove unused types

* update code and test

* fix lint

* fix ts

* update ts

* add type export and fix test

* Update superset-frontend/src/SqlLab/components/SqlEditorLeftBar/index.tsx

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

* Update superset-frontend/src/SqlLab/components/SqlEditorLeftBar/index.tsx

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

* Update superset-frontend/src/SqlLab/components/SqlEditorLeftBar/index.tsx

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

* Update superset-frontend/src/SqlLab/components/SqlEditorLeftBar/index.tsx

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

* remove handlerror and unused code

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-04-15 15:09:07 -07:00
Diego Medina 154f1ea8c9
fix: Dashboard Edit View Tab Headers Hidden when Dashboard Name is Long (#19472) 2022-04-15 12:58:32 -06:00
Diego Medina 8d4a52c9d0
fix(sql lab): add quotes when autocompleting table names with spaces in the editor (#19311) 2022-04-15 12:55:04 -06:00
Diego Medina bbe0af348b
fix(sql lab): Selecting edit on a query from query history doesn't update the SQL Editor properly (#19290) 2022-04-15 12:49:32 -06:00
Luis Casillas 56381f4ee8
fix: sql lab ctrl t behaved differently from clicking (#19420)
* initial approach

To have consistent behaviour when creating a new tab with ctrl+t

* consistent behaviour when creating tabs

* fixed bug and added tests

* updates to pass checks
2022-04-15 12:28:40 -06:00
Geido b8e595413f
fix: Redirect to full url on 401 (#19357)
* Redirect to full url

* Redirect to full url

* Update test
2022-04-15 20:15:30 +02:00
Kamil Gabryjelski b7759e6fd1
chore: Clean redundant dependency from useMemo dep array (#19732) 2022-04-15 14:56:34 +02:00
smileydev c320c295dc
fix(dnd&column): make to fix the blank state issue when only one column select (#19651) 2022-04-15 13:43:25 +02:00
Smart-Codi 94075983f8
feat: Remove legacy sql alchemy db connection link from G Sheet connection (#19450)
* feat: Remove legacy sql alchemy db connection link from G Sheet connection

* resolve comment
2022-04-14 14:34:15 -06:00
Smart-Codi ac2c66ccf6
fix: Line Chart Annotation Info Update (#19001)
* fix Line Chart Annotation Info Updage

* wrap annotation text with transation

* resolve comment
2022-04-14 10:46:32 -07:00
Evan Rusackas 34008f78c9
feat: Enabling source maps full time (#19710) 2022-04-14 09:08:11 -07:00
Michael S. Molina 7bc9123fe5
fix: Filter dependencies are not being applied in default values (#19698) 2022-04-14 12:58:34 -03:00
David Aaron Suddjian 4927685c30
feat: UI override registry (#19671)
* typed registry

* remove unintentional change

* lint

* fix
2022-04-14 08:44:26 -07:00
Yongjie Zhao 9425dd2cac
fix: drop the first level of MultiIndex (#19716) 2022-04-14 23:40:38 +08:00
Jesse Yang 32a9265cc0
fix(nav): infinite redirect and upload dataset nav permissions (#19708) 2022-04-13 23:29:56 -07:00
smileydev 68ed39bcd3
fix(alert & report): make to fix the issue when recreate report (#19419) 2022-04-13 11:02:33 -06:00
Smart-Codi 94e06c2b6a
fix: Reset sorting bar issue in Barchart (#19371)
* fix: Reset sorting bar issue in Barchart

* improving performance

* fix lint error
2022-04-13 11:00:15 -06:00
Diego Medina d4e7c65f6a
fix(sql lab): replace the output column in the query history table (#19370)
* fix(sql lab): replace the output column in the query history table

* improvements
2022-04-13 10:22:03 -06:00
Kamil Gabryjelski b81982d8f3
feat(explore): More explicit labels of adhoc filter operators (#19691) 2022-04-13 18:20:38 +02:00
Diego Medina 6d5d03e592
fix(sql lab): display the 'View Results' button consistently in the history tab on sync mode (#19362)
* fix(sql lab): display the 'View Results' button in the history tab when running sync queries

* pr comment
2022-04-13 10:20:32 -06:00
Kamil Gabryjelski c8304a2821
feat(explore): Redesign of Run/Save buttons (#19558)
* feat(explore): Move save button to header, run button to bottom of control panel

* Make the tabs sticky

* Add error icon to Data tab

* Show message when creating chart and all controls are filled correctly

* Add tests and storybook

* Fix tests

* Disable save button when control have errors

* Fix types

* Apply code review comments

* Replace styled with css

* Remove unused import
2022-04-13 16:58:39 +02:00
Diego Medina 32239b04aa
fix: improve the alerts & reports modal layout on small screens (#19294) 2022-04-13 08:45:38 -06:00
Diego Medina 26a0f05759
fix(sql lab): table selector should display all the selected tables (#19257)
* fix: table Selector should clear once selected

* Multi select

* Add tests

* refactor

* PR comments
2022-04-13 08:42:12 -06:00
Kamil Gabryjelski de9fb2109d
chore(explore): Change labels "Group by"/"Series" to "Dimensions" (#19647) 2022-04-13 15:16:03 +02:00
Ville Brofeldt 2ba484fe43
fix: login button does not render (#19685)
* fix: login button does not render

* add type guard
2022-04-13 16:04:04 +03:00
Stephen Liu 059cb4ec25
fix(plugin-chart-echarts): xAxis scale is not correct when setting quarter time grain (#19686) 2022-04-13 20:48:13 +08:00
Kamil Gabryjelski ee85466f2e
fix(dashboard): Fix BigNumber causing dashboard to crash when overflowing (#19688)
* fix(dashboard): fix(plugin-chart-echarts): Fix BigNumber causing dashboard to crash when overflowing

* Add tooltips for truncated titles

* Fix type
2022-04-13 14:22:46 +02:00
Kamil Gabryjelski 4a5dddf52d
fix(explore): Change copy of cross filters checkbox (#19646) 2022-04-13 13:19:02 +02:00
dependabot[bot] 6e8e29ce53
chore(deps): bump urijs from 1.19.8 to 1.19.11 in /superset-frontend (#19679)
Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.8 to 1.19.11.
- [Release notes](https://github.com/medialize/URI.js/releases)
- [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md)
- [Commits](https://github.com/medialize/URI.js/compare/v1.19.8...v1.19.11)

---
updated-dependencies:
- dependency-name: urijs
  dependency-type: direct:production
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-12 23:23:58 -06:00
Geido 59dda1fa05
fix: Navbar styles and Welcome page text (#19586)
* Enhance navbar styles

* Clean up style
2022-04-12 18:41:00 +03:00
Geido 6a3220f905
Remove TwoTone icons (#19666) 2022-04-12 17:33:12 +03:00
Geido 7b0b029318
chore: Remove wrong usage of font-size in ExploreViewContainer (#19614)
* Remove hacky usage of font-size

* Update font
2022-04-12 16:10:58 +03:00
Ville Brofeldt 87d47987b7
fix(sql-lab): do not replace undefined schema with empty object (#19664) 2022-04-12 15:13:03 +03:00
Diego Medina 955413539b
fix: Table Autosizing Has Unnecessary Scroll Bars (#19628) 2022-04-11 15:20:41 -06:00
smileydev d8b9e72682
make to change the getBreakPoints of polygon chart (#19573) 2022-04-11 15:20:20 -06:00
AAfghahi 4bf4d58423
fix: update Permissions for right nav (#19051)
* draft pr

* finished styling

* add filter

* added testing

* added tests

* added permissions tests

* Empty-Commit

* new test

* Update superset-frontend/src/views/components/MenuRight.tsx

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* revisions

* added to CRUD view

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2022-04-11 16:50:59 -04:00
Geido d693f4e970
Update font-sizes (#19593) 2022-04-11 16:46:06 +03:00
Geido 5d418b21a3
Remove font-size hacky usage (#19611) 2022-04-11 16:45:52 +03:00
Geido d1e17646e2
Remove hacky usage of font-size (#19615) 2022-04-11 16:45:25 +03:00
Geido 03a80d5d2f
chore: Update font-sizes in QueryPreviewModal (#19620)
* Remove hacky font-sizes

* Remove hacky font-size SavedQueryPreviewModal
2022-04-11 16:45:09 +03:00
Stephen Liu d49fd01ff3
feat(CRUD): add new empty state (#19310)
* feat(CRUD): add new empty state

* fix ci

* add svg license
2022-04-11 12:04:45 +02:00
Ville Brofeldt f21ba68a30
chore: clean up dynamic translation strings (#19641) 2022-04-11 13:02:20 +03:00
Stephen Liu a6bf041edd
feat(plugin-chart-echarts): add aggregate total for the Pie/Donuct chart (#19622) 2022-04-11 13:56:45 +08:00
Lyndsi Kay Williams d52e3867ac
feat: Move Database Import option into DB Connection modal (#19314)
* rebase

* more progress

* Fix unintended changes

* DB import goes to step 3

* debugging

* DB list refreshing properly

* import screens flowing properly

* Code cleanup

* Fixed back button on import flow

* Remove import db tooltip test

* Fix test

* Password field resets properly

* Changed import modal state dictators and removed unneeded comment

* Removed unneeded param pass and corrected modal spelling

* Fixed typos

* Changed file to fileList

* Clarified import footer comment

* Cleaned passwordNeededField and confirmOverwriteField state checks

* debugging

* Import state flow fixed

* Removed unneeded importModal check in unreachable area

* Fixed import db footer behavior when pressing back on step 2

* Import db button now at 14px

* Removed animation from import db button

* Fixed doble-loading successToast

* Fixed errored import behavior

* Updated import password check info box text

* Connect button disables while importing db is loading

* Connect button disables while overwrite confirmation is still needed

* Connect button disables while password confirmation is still needed

* Removed gray line under upload filename

* Hide trashcan icon on import filename

* Modal scroll behavior fixed for importing filename

* Changed errored to failed

* RTL testing for db import
2022-04-08 10:03:40 -07:00