John Bodley
8581bda2f1
chore: Fix indentation issue ( #10690 )
2020-08-26 20:09:09 -07:00
Ville Brofeldt
4251b4e294
feat(row-level-security): add hook for customizing form dropdowns ( #10683 )
2020-08-26 11:55:35 +03:00
henryyeh
a6101f72c9
fix: only call signal if executing on the main thread ( #10677 )
2020-08-25 16:57:58 -07:00
John Bodley
502f4db6f9
feature: Adding extra_filters to warm_up_cache ( #10675 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2020-08-25 15:19:34 -07:00
ʈᵃᵢ
fe574fdaa7
fix(sqllab): log exceptions caused by the user as debug and not error ( #10676 )
2020-08-25 14:35:50 -07:00
Ville Brofeldt
9461f9c1e0
fix(db_engine_specs): improve Presto column type matching ( #10658 )
...
* fix: improve Presto column type matching
* add optional callback to type map and add tests
* lint
* change private to public
2020-08-24 22:42:07 +03:00
Ville Brofeldt
0177c2f591
fix(db_engine_specs): mysql longtext type should not be numeric ( #10661 )
2020-08-24 21:24:43 +03:00
Will Barrett
52d7671204
Remove incorrect comment ( #10652 )
2020-08-24 10:40:36 -07:00
auxten
0f44d3edf2
Fix add chart page frontend i18n issue ( #9321 )
2020-08-22 21:04:18 +03:00
ʈᵃᵢ
45fee60b62
fix: remove FAB rendered menu in favor of react based one ( #10401 )
2020-08-21 17:19:00 -07:00
Maxime Beauchemin
82dda473b1
fix: dedup groupby in viz.py while preserving order ( #10633 )
2020-08-21 08:02:02 +03:00
ʈᵃᵢ
7301a363c1
feat: setup react page with submenu for datasources listview ( #10642 )
2020-08-20 11:42:17 -07:00
Erik Ritter
38da552a57
feat: add certification to metrics ( #10630 )
2020-08-19 20:45:33 -07:00
Ville Brofeldt
5136c5c16e
feat(viz-plugins): add date formatting to pivot-table ( #10637 )
...
* feat: make pivot table dates formattable
* Bump npm packages
2020-08-19 23:55:59 +03:00
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
Grace Guo
3bc79191c4
refactor: remove slice level label_colors from dashboard init load ( #10603 )
2020-08-18 18:10:06 -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
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
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
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
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
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
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
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
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
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
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
Ville Brofeldt
363abfa1a5
fix: remove unnecessary exception when exploring non-legacy viz plugins ( #10538 )
...
* fix: remove unnecessary exception when exploring non-legacy viz plugins
* lint
2020-08-07 08:41:39 +03:00
Ville Brofeldt
96b9ba3364
ci: bump pre-commit py36 to py37 ( #10541 )
...
* ci: bump pre-commit py36 to py37
* add 3rd party for py37
* lint
* yet more lint
2020-08-07 06:54:22 +03:00
Erik Ritter
fd2d1c58c5
Revert "chore: Cleanup database sessions ( #10427 )" ( #10537 )
...
This reverts commit 7645fc85c3
.
2020-08-06 15:33:48 -07:00
Erik Ritter
2055ecc1ba
feat: refactor error components and add database issue code ( #10473 )
...
* feat: refactor error components and add database issue code
* Apply suggestions from code review
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2020-08-06 13:22:24 -07:00
Bogdan
62b873e3da
feat: welcome presto to the suite of tested databases ( #10498 )
...
* Add presto to the CI
Sample test data
Datetime conversion
Sample test data
Fix tests
* TODO to switch to timestamps
* Address feedback
* Update requirements
* Add TODOs
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
2020-08-06 12:07:22 -07:00
Daniel Vaz Gaspar
749581d534
fix(log): don't log exceptions on test connection ( #10522 )
...
* fix(log): don't log exceptions on test connection
* fix lint
2020-08-06 07:58:22 +01:00
Maxime Beauchemin
ece91928a9
style: use tabs in dashboard edit pane ( #10394 )
...
* style: use tabs in dashboard edit pane
* fix tests
* more hackin'
* getting ready to rip cell measurer
* working
* pogress
* Fix cards
* done
* fix jest
* fix cy
2020-08-05 18:53:53 -07:00
Natalie Ruhe
51a88cb19b
feat: Add antd to the codebase ( #10508 )
2020-08-05 13:50:30 -07:00
Evan Rusackas
3d74c3ce56
feat: storybook for Icon component ( #10515 )
...
* storybook for Icon component
* fixing webpack aliases
* linting ✨
* Icons are now in a nice little grid.
* lint
* EOF fix for alert.txt. Ugh.
2020-08-04 22:39:14 -07:00
John Bodley
cda764fd4b
chore: Adding pip-compile-multi et al. ( #10499 )
...
* chore: Adding pip-compile-multi et al
* Specify requirements.txt path for fossa
* [ci] Fixing CI
Co-authored-by: John Bodley <john.bodley@airbnb.com>
Co-authored-by: Jesse Yang <jesse.yang@airbnb.com>
2020-08-04 19:31:52 -07:00
Jason Davis
72ced53d2a
feat: make screenshot timeout configurable ( #10517 )
...
* made screenshot timeout configurable
* added default value to config and refractored use
* black
* updated config comment
* moves config variables to thumbnail section
Co-authored-by: Jason Davis <@dropbox.com>
2020-08-04 17:16:31 -07:00
Moriah Kreeger
523c6b77bf
fix: update time range select tooltip ( #10458 )
2020-08-04 16:34:20 -07:00
Jason Davis
0d91b3ee6e
fix: make SQL-based alert email links user friendly ( #10519 )
...
* make urls user friendly
* formatting
Co-authored-by: Jason Davis <@dropbox.com>
2020-08-04 15:45:38 -07:00
Jason Davis
aa479fb002
feat: updated email format for SQL-based email alerts ( #10512 )
...
* added sql statement and link to chart in alert email
* pylint
* updated email to include link to alert
* style changes
* pylint
* added todo and fixed formatting of email
Co-authored-by: Jason Davis <@dropbox.com>
2020-08-04 13:20:02 -07:00
Jason Davis
9c5b0e1c86
fix: refactored SQL-based alerts to not pass sqlalchemy objects as args ( #10506 )
...
* refractored alerting to not pass sqlalchemy obj as args
* updated to pass only alert id as arg
* used object id instead of argument
* updated alerts_tests.py to reflect change
Co-authored-by: Jason Davis <@dropbox.com>
2020-08-04 09:52:32 -07:00
Bogdan
ab404ea2cf
Sample test data ( #10487 )
...
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
2020-08-03 09:08:49 -07:00