Lily Kuang
3f5d5cc0aa
fix: remove duplicated params and cache_timeout from list_columns; add viz_type to list_columns ( #10643 )
2020-08-19 11:59:16 -07:00
Evan Rusackas
d0953874f2
chore: splitting button stories into separate stories ( #10631 )
...
* splitting button stories into separate stories
* lint
2020-08-18 22:47:27 -07:00
Grace Guo
3bc79191c4
refactor: remove slice level label_colors from dashboard init load ( #10603 )
2020-08-18 18:10:06 -07:00
Lily Kuang
a3ac5061fe
feat: card view bulk select ( #10607 )
2020-08-18 18:04:36 -07:00
Evan Rusackas
ec7874ff98
style: Label styling/storybook touchups ( #10627 )
...
* colors corrected, hover/cursory only change if there's an onClick
* adding info label, breaking gallery out to its own story
* linting
* fixing bad class name
* now with fading!
* now supporting additional (non-bootstrap) label styles
* adding new secondary/primary labels to gallery
* fixing map key react warning
* using the new secondary label in the ChartList view
* linting
* fixing TS issue
2020-08-18 15:42:00 -07:00
Evan Rusackas
844b471509
fix: removing unsupported modal sizes ( #10625 )
...
* fix: removing unsupported modal sizes
* linting!
* NOT specifying bsSize seems to have the same effect as (unsupported) "medium"
* supporting 'large' and 'small' over 'lg' and 'sm'
2020-08-18 14:33:39 -07:00
Ville Brofeldt
ca5dc4256f
feat(datasource): remove deleted columns and update column type on metadata refresh ( #10619 )
...
* fix: remove missing columns on metadata refresh
* add tests
* lint and simplify
* lint
* reduce locals
* fix label style
2020-08-18 21:47:13 +03:00
Cory Zue
4ee524736d
improve documentation for country maps ( #10621 )
2020-08-18 09:36:35 -07:00
Maxime Beauchemin
0d3caf08e5
chore: npm audit fix as of 2020-08-15 ( #10613 )
...
* chore: npm audit fix as of 2020-08-15
* --force
* fixing copy-webpack-plugin
* lint
* resolve conflicts
2020-08-17 15:27:01 -07:00
Daniel Vaz Gaspar
692266f4f5
feat: dataset REST API for distinct values ( #10595 )
...
* feat: dataset REST API for distinct values
* add tests and fix lint
* fix mypy, and tests
* fix docs
* fix test
* lint
* fix test
2020-08-17 15:46:59 +01:00
Evan Rusackas
f868580f64
chore: bump react-redux to 5.1.2, whittling console noise ( #10602 )
...
* chore: bump react-redux to 5.1.2
* fixing spy, and thus the breaking test.
* relabeling tests to UNSAFE_componentWillReceiveProps because why not.
2020-08-16 21:29:08 -07:00
Evan Rusackas
ed9b6dbf2b
fixing console error about bad html attribute ( #10604 )
2020-08-16 20:21:21 -07:00
Evan Rusackas
08211953b2
chore: migrate console logs to logging service ( #10608 )
2020-08-16 20:20:47 -07:00
Grace Guo
ca9ca99510
refactor: [migration] convert iframe chart into dashboard markdown component ( #10590 )
...
* refactor: [migration] convert iframe chart into dashboard markdown component
* remove 3 viz_types
* fix comments
2020-08-16 14:43:30 -07:00
Lily Kuang
03a62f15d8
feat: sort card view by Alphabetical, Recently Modified, and Least Recently Modified ( #10601 )
2020-08-14 15:07:37 -07:00
Ville Brofeldt
acb00f509c
fix(chart-data-api): assert referenced columns are present in datasource ( #10451 )
...
* fix(chart-data-api): assert requested columns are present in datasource
* add filter tests
* add column_names to AnnotationDatasource
* add assertion for simple metrics
* lint
2020-08-14 20:58:24 +03:00
Ville Brofeldt
6c09b938fe
docs: update CHANGELOG.md and UPDATING.md for 0.37.0 ( #10600 )
2020-08-14 18:56:50 +03:00
Daniel Vaz Gaspar
4dd1d1df5e
fix(thumbnails): missing field, logging and new config var ( #10562 )
...
* fix(thumbnails): missing field, logging and new config var
* deprecate EMAIL_REPORTS_WEBDRIVER
* fix after merge and conflicts
* fix tests
* black
2020-08-14 14:12:44 +01:00
ʈᵃᵢ
db88cec431
feat: SIP-34 card/grid views for dashboards and charts ( #10526 )
2020-08-13 14:46:56 -07:00
Evan Rusackas
a3fd2b420e
fix: More tweaks needed after adding Doctype tag ( #10504 )
...
* fixing last-of-type specificity
* Simplifying/consolidating styles
* fixing filterbox in explore
* linting
* adding some px to font sizes
* fixing in-dash overflow
* removing px for one special fontsize case
* simplifying, addressing comments
2020-08-13 11:50:14 -07:00
Ville Brofeldt
c0ebd7f434
fix: show error if rolling window returns empty df ( #10572 )
...
* fix: show error if rolling window returns empty df
* add test
2020-08-13 20:51:03 +03:00
Daniel Vaz Gaspar
11da6ee812
fix: dataset delete and perm delete ( #10578 )
2020-08-13 10:18:13 +01:00
Erik Ritter
bd88e12b8b
feat: add extra column to tables and sql_metrics ( #10592 )
2020-08-12 15:27:29 -07:00
Craig Rueda
2aaa4d92d9
chore: Migrating reports to AuthWebdriverProxy ( #10567 )
...
* Migrating reports to AuthWebdriverProxy
* Extracting out webdriver proxy / Adding thumbnail tests to CI
* Adding license
* Adding license again
* Empty commit
* Adding thumbnail tests to CI
* Switching thumbnail test to Postgres
* Linting
* Adding mypy:ignore / removing thumbnail tests from CI
* Putting ignore statement back
* Updating docs
* First cut at authprovider
* First cut at authprovider mostly working - still needs more tests
* Auth provider tests added
* Linting
* Linting again...
* Linting again...
* Busting CI cache
* Reverting workflow change
* Fixing dataclasses
* Reverting back to master
* linting?
* Reverting installation.rst
* Reverting package-lock.json
* Addressing feedback
* Blacking
* Lazy logging strings
* UPDATING.md note
2020-08-12 13:28:41 -07:00
John Bodley
8fb304d665
docs: Update engine installation ( #10509 )
...
* Update installation.rst
* Update installation.rst
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2020-08-12 09:58:42 -07:00
Ville Brofeldt
85c0cad816
fix: add None checking to cast_to_num ( #10584 )
...
* fix: add None checking to cast_to_num
* fix doctest
2020-08-12 19:58:14 +03:00
Erik Ritter
a8197976fe
fix: error message modal overflow ( #10580 )
2020-08-11 17:20:39 -07:00
Erik Ritter
a45f28ed2c
Update .asf.yaml ( #10581 )
2020-08-11 13:17:25 -07:00
Jesse Yang
1b111b677e
feat(table-viz): translation and metric column header align right ( #10549 )
2020-08-11 12:56:32 -07:00
Stuart Hu
890b3ca489
fix: add translate for dropdown menu ( #10573 )
...
* fix: translate dropdown menu
Signed-off-by: Stuart Hu <shijiehu@improbable.io>
* Apply suggestions from code review
Co-authored-by: iriswonderland13 <69527796+iriswonderland13@users.noreply.github.com>
Co-authored-by: Erik Ritter <erik.ritter@airbnb.com>
Co-authored-by: iriswonderland13 <69527796+iriswonderland13@users.noreply.github.com>
2020-08-11 12:26:49 -07:00
Jason Davis
c0bb86d0d6
feat: slack integration for SQL-based alerts ( #10566 )
...
* add slack functionality
* deleted unused variable
* updated test
* black
* fix rebase
* added nits
* added slack no screenshot integration
* isort
* added namedtuple for screenshot
* added test
* fix precommit
Co-authored-by: Jason Davis <@dropbox.com>
2020-08-11 11:15:31 -07:00
Daniel Vaz Gaspar
b7650b9f57
fix: disable false positive error ( #10576 )
2020-08-11 18:20:57 +01:00
David Aaron Suddjian
83af9d12f8
fix(sqllab): Handle long table names in SQL Lab ( #10518 )
...
* widen the autocomplete menu for table names
* display the full table name in a tooltip
* license
* Update superset-frontend/src/SqlLab/components/AceEditorWrapper/index.tsx
Co-authored-by: Evan Rusackas <evan@preset.io>
* src importing
* move autocomplete width css to main.less
* use html title attribute instead of tooltip
Co-authored-by: Evan Rusackas <evan@preset.io>
2020-08-11 09:50:46 -07:00
Jesse Yang
a37b635674
fix(dashboard): add animation state to fix tab switch re-renders ( #10475 )
2020-08-11 00:57:50 -07:00
Maxime Beauchemin
613dd12fbf
fix: misaligned LimitControl buttons and port jsx->tsx ( #10529 )
...
* fix: misaligned LimitControl buttons and port jsx->tsx
* addressed comments
2020-08-10 15:35:39 -07:00
Bogdan
0071d374da
chore: move load examples to the fixture ( #10545 )
...
* Move load examples to the fixture
* Update tests/celery_tests.py
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
* Address feedback
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2020-08-10 13:20:19 -07:00
Hossein Torabi
8190dcb61f
fix drill installation ( #10558 )
2020-08-10 11:39:46 -07:00
Bogdan
101e5b670b
chore: clean up csv tests ( #10556 )
...
* Clean up csv tests
* Update tests/base_tests.py
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
* Update tests/base_tests.py
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
* import optional
* Fix mypy error
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2020-08-10 11:22:38 -07:00
Jason Davis
8b9292ed05
fix: add retry to SQL-based alerting celery task ( #10542 )
...
* added retry and minimized sqlalchemy object lives
* pylint
* added try catch
* adjusted naming
* added scoped session
* update tests for dbsession
* added requested changes
* nit todo
Co-authored-by: Jason Davis <@dropbox.com>
2020-08-10 10:20:43 -07:00
John Bodley
5e944e5730
fix: Resolves #10535 ( #10536 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2020-08-10 09:59:34 -07:00
Craig Rueda
5a908d4513
fix: Updating Dockerfile to work with updated python requirements. ( #10550 )
...
* Updating Dockerfile to work with updated python requirements.
* Adding a Docker build step to CI workflow
* Trying docker build-push
* Linting Dockerfile-dev
* Switching to dev dockerfile
2020-08-08 18:56:20 -07:00
Bogdan
fb051e9a51
Removing trailing space and fix CI ( #10557 )
...
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
2020-08-08 12:33:03 -07:00
David Aaron Suddjian
7f84927504
fix(dashboard): changing the chart title, except not ( #10527 )
...
* changing slice names in dashboard should not change chart title
* comprehensions > loops
2020-08-07 18:06:58 -07:00
kxu
3b0676f991
docs: add additional project tags ( #10553 )
...
Add additional project tags to improve project discoverability in GitHub
2020-08-07 15:55:53 -07:00
Jesse Yang
b6c6b6800a
fix: table viz query mode switch not working ( #10552 )
2020-08-07 14:15:03 -07:00
Erik Ritter
4765f8b10d
fix: embedded chart height ( #10551 )
2020-08-07 13:53:18 -07:00
Tanmay Laud
a6fa02aaec
chore: Migrate Timer component from jsx to tsx ( #10455 )
...
* migrated LanguagePicker.jsx to tsx
* Migrated Menu.jsx to tsx
* migrated MenuObject.jsx to tsx
* migrated NewMenu.jsx to tsx
* Migrated UserMenu.jsx to tsx
* removed unnecessary export from UserMenu
* added language definition in LanguagePicker
* removed unnecessary exports from Menu.tsx
* used typeof guard for childs
* changed LanguageProps to Languages
* removed unnecessary type casting
* fixed linting errors
* migrated Checkbox to tsx
* Migrated Timer component to tsx
* fixed linting errors
* fixed test cases
* removed unused import in timer spec
* reverting changes
* renamed and then modified Timer
* changes for review comments
* fixed incorrect clear
* using stopTimer in stopwatch
* fixed lint issues
* added explicit timer cleanup
* fixed lint issue
* fixed memory leak
* renamed Timer
* added changes after git mv
2020-08-07 09:30:17 -07:00
kxu
90c9417b16
docs: Update and refresh homepage of superset.apache.org ( #10477 )
...
* Update and refresh Index
Update and refresh index with additional links to community resources, new links to `Databases' section directly to parts of the tutorial that talk about that database, connect, align Superset topline features with same language as in GitHub
* Added link to Superset users
* Update with relative links
* Add link to docs repo
Add link to docs repo on the homepage to encourage easy access for community contribution.
* Update index.rst
2020-08-07 09:28:14 -07:00
Ville Brofeldt
08358d623b
fix: handle query exceptions gracefully ( #10548 )
...
* fix: handle query exceptions gracefully
* add more recasts
* add test
* disable test for presto
* switch to SQLA error
2020-08-07 17:37:40 +03:00
Jesse Yang
ea0db0d195
bugfix: table chart query mode initial value ( #10544 )
2020-08-07 02:25:48 -07:00