Commit Graph

11469 Commits

Author SHA1 Message Date
Phillip Kelley-Dotson ad715429f9
chore: simplify error messaging in database modal (#19165)
* testing for dbconn modal error message

* remove consoles and error alert mapping

* lint fix

* update url message

* add modal fix

* update comments

* fix err msg bugs

* fix pylint

* fix line

* fix tests

* fix assertions
2022-04-21 12:44:21 -07:00
Jesse Yang fa680369ea
fix(SIP-68): handle empty table name during migration (#19793) 2022-04-21 10:49:25 -07:00
Kamil Gabryjelski 12bc30e2c7
Fix display of column config in table chart (#19806) 2022-04-21 19:08:04 +02:00
Daniel Vaz Gaspar 3db4a1cb80
chore: bump postgres from 10 to 14 (#19790)
* chore: bump postgres from 10 to 14

* update helm chart

* adding docs

* fix docs

* Update docs/docs/installation/configuring-superset.mdx

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>

* Update docs/docs/installation/configuring-superset.mdx

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>

* improve docs

* improve docs

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2022-04-21 10:16:00 +01:00
Yongjie Zhao 108a2a4eaf
fix: lost renameOperator in mixed timeseries chart (#19802) 2022-04-21 15:20:09 +08:00
John Bodley 1dabebb015
chore: Update UPDATING.md (#19480)
* Update UPDATING.md

* Update UPDATING.md
2022-04-21 10:34:28 +12:00
Kenny Kwan 1b55778427
fix(sql_lab): Add custom timestamp type for literal casting for presto timestamps (#13082)
* Add custom timestamp type for literal casting for presto timestamps

* Remove typo in comment

* Use process_bind_params as in sqla docs

* Uncommit local superset config

* Add DATE literal casting

* Fix lint errors and change var name

* Get rid of col_type and whitespace

* Fix linting

* Fix arg type

* Fix isort lint error

* ran black and isort locally..

* accidentally removed EOF

* Dont need eof

* Use newer string formatting style from comments

Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>

* Trigger notification

* Trigger notification

Co-authored-by: Kenny Kwan <kennykwan@salesforce.com>
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2022-04-21 10:01:24 +12:00
David Aaron Suddjian c763baf09e
add missing init files (#19797) 2022-04-20 14:26:38 -07:00
Diego Medina 4513cc4758
fix: trap SQLAlchemy common exceptions & throw 422 error instead (#19672) 2022-04-20 15:03:02 -06:00
smileydev dfbaba97c6
fix(chart & explore): Show labels for `SliderControl` (#19765)
* fix(chart & explore): make to show label of slidercontrol

* fix(chart & explore): make to update SliderControl props

* fix(chart & explore): make to fix lint
2022-04-20 13:58:25 -06:00
Diego Medina 7f22edfd06
fix: remove & reimplement the tests for AlertReportCronScheduler component (#19288) 2022-04-20 13:51:09 -06:00
serenajiang 5e468f7a4c
fix(world-map): remove categorical color option (#19781) 2022-04-20 09:36:28 -07:00
Kamil Gabryjelski fcc8080ff3
fix(plugin-chart-table): Resetting controls when switching query mode (#19792) 2022-04-20 17:25:31 +02:00
Cemre Mengu 9c20299039
fix(migrations): sl_columns is_temporal mapping (#19786) 2022-04-20 07:31:40 -07:00
Stephen Liu e3a54aa3c1
feat(explore): improve UI in the control panel (#19748)
* feat(explore): improve section header of control panel

* fix checkbox control color and radio button color
2022-04-20 15:06:33 +02:00
Yongjie Zhao 4f997cd9ac
chore: fix grammar error (#19740) 2022-04-20 21:02:14 +08:00
Yongjie Zhao 3c28cd4625
feat: add renameOperator (#19776) 2022-04-20 19:48:12 +08:00
Daniel Vaz Gaspar f06db796b5
fix: small cleanup for created by me dashboards API (#19755) 2022-04-20 12:11:38 +01:00
Todd Papaioannou 22a92ed722
Remove broken link to gallery (#19784) 2022-04-20 10:04:20 +03:00
Cedric Gampert 5134c63ae2
fix: dashboard standalone class not added when parameter set (#16619)
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2022-04-20 10:03:59 +03:00
Diego Medina dfba9ea596
fix: SQL Lab UI Error: Objects are not valid as a React child (#19783) 2022-04-20 09:18:46 +03:00
Jesse Yang 231716cb50
perf: refactor SIP-68 db migrations with INSERT SELECT FROM (#19421) 2022-04-19 18:58:18 -07:00
Diego Medina 1c5d3b73df
fix: dashboard top level tabs edit (#19722) 2022-04-19 16:57:30 -06:00
Ville Brofeldt e061955fd0
fix(dashboard): copy permalink to dashboard chart (#19772)
* fix(dashboard): copy permalink to dashboard chart

* lint

* address comments
2022-04-19 22:34:41 +03:00
Hugh A. Miles II a6f46013d9
feat: 10/15/30 min grain to Pinot (#19724)
* add new grains to pinot

* update test
2022-04-19 11:16:48 -07:00
Hugh A. Miles II 7e92340c70
fix: Fix migration for removing time_range_endpoints 3 (#19767)
* fix migration

* so dumb

* update test

* add code change

* retest
2022-04-19 09:49:50 -07:00
Jesse Yang 4ba62cad95
chore(build): upgrade less-loader (#19703) 2022-04-19 09:18:16 -07:00
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
Ville Brofeldt cf5145918b
fix(permalink): remove memoize on get salt func (#19749) 2022-04-18 14:26:21 +03:00
AAfghahi 57157c8b15
fix: remove expose (#19700)
* bumping shillelagh

* remove expose
2022-04-16 22:02:23 -07:00
David Aaron Suddjian ae70212df3
fix: deactivate embedding on a dashboard (#19626)
* fix tests

* commit it properly

* unnecessary commit, correct type in docstring

* unused import
2022-04-15 16:15:27 -07: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
Michael S. Molina 82c47f32a0
chore: Updates the Select codeowners (#19736) 2022-04-15 14:37:52 -03:00
Hugh A. Miles II 86642025ba
fix: Removetime_range_endpoints from query context object pt 2 (#19728) 2022-04-15 13:17:05 -04:00
Kamil Gabryjelski b7759e6fd1
chore: Clean redundant dependency from useMemo dep array (#19732) 2022-04-15 14:56:34 +02:00
Cemre Mengu ce77d55396
docs(install): ubuntu default-libmysqlclient-dev (#19715)
add `default-libmysqlclient-dev` to required OS dependencies for ubuntu
2022-04-15 14:51:32 +03: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
AAfghahi 158852d074
bumping shillelagh (#19726) 2022-04-14 16:02:02 -04: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