Jesse Yang
ec8ccd4cf1
feat: keep modal open when saving database failed ( #11618 )
2020-11-12 16:10:14 -08:00
ʈᵃᵢ
432e5ab460
feat: Query History CRUD list view ( #11574 )
2020-11-12 11:55:13 -10:00
Daniel Vaz Gaspar
12cb27f5cb
feat: new reports models api ( #11606 )
...
* feat: new report schedule models
* lint and unique constraint
* support sqlite
* fix sqlite
* add audit mixin and minor fixes
* feat(api): alerts and reports REST API
* feat: new report schedule models
* lint and unique constraint
* support sqlite
* fix sqlite
* add audit mixin and minor fixes
* feat(api): alerts and reports REST API
* draft working version
* add tests
* test
* black
* remove copy pasta
* solve dashboard object representation being used on cache
* tests and custom filter
* fix PUT has PATCH on active field
* create feature flag
* fix lint
* address comments
2020-11-12 13:21:01 -08:00
ʈᵃᵢ
1dc4c4746e
fix(dashboard): ordering for add chart widget ( #11672 )
2020-11-12 11:10:45 -10:00
Grace Guo
0338b48fdd
fix (dashboard): remove default filters parameters in dashboard url ( #11661 )
2020-11-12 13:00:27 -08:00
Ville Brofeldt
2718909314
feat: add ECharts BoxPlot chart ( #11199 )
...
* feat: add ECharts BoxPlot chart
* lint
* fix cypress tests
* lint
* remove viz.py shim
* bump plugin package
* skip non-legacy plugin cypress dashboard tests
* fix cypress tests
* disable cypress tests for non-leagcy charts
* fix bad rebase
* use midpoint interpolation for quartile calculation
* bump packages and add support for no groupby
* whitespace
* whitespace
* linting
* fix tests
* xit mathjs load test
* bump mathjs to 8.0.1
* disable cypress filter test for v1 charts
2020-11-12 10:01:04 +02:00
Jesse Yang
302c9603c4
fix: database connection validation when creation ( #11653 )
2020-11-12 08:00:38 +00:00
Beto Dealmeida
45738ffc1d
chore: consolidate datasource import logic ( #11533 )
...
* Consolidate dash import logic
* WIP
* Add license
* Fix lint
* Retrigger tests
* Fix lint
2020-11-11 22:04:16 -08:00
Beto Dealmeida
4a070cfceb
chore: consolidate dashboard import logic ( #11529 )
...
* Consolidate dash import logic
* Fix lint
* Remove Slice.import_obj
* Remove unused import
* Fix log
2020-11-11 14:50:18 -08:00
Ville Brofeldt
77dff0e4e0
fix(chart-data): ignore orderby on sample result type ( #11656 )
2020-11-11 16:27:56 +02:00
Jesse Yang
339d0d73bc
feat(sankey-viz): allow sort by metric and bump superset-ui packages ( #11626 )
2020-11-10 15:58:00 -08:00
Beto Dealmeida
cf868891be
chore: rename IMPORT_EXPORT_VERSION ( #11636 )
2020-11-10 09:45:45 -08:00
Yongjie Zhao
cd0198a878
Chore: simplify Apache Kylin datetime convert ( #11521 )
2020-11-10 18:46:18 +02:00
Beto Dealmeida
51712bf7ce
fix: CommandInvalidError had invalid init ( #11635 )
2020-11-10 07:41:03 -08:00
Grace Guo
b9284d3a3c
fix(dashboard): use server-side lastModifiedTime for co-edit check ( #11614 )
...
* fix: [dashboard][co-edit] Round client-side lastModifiedTime
* another try: server-side returns last_updated_time in save_dash response
2020-11-09 13:30:40 -08:00
Daniel Vaz Gaspar
bd79bd2a54
feat: new report schedule models ( #11550 )
...
* feat: new report schedule models
* lint and unique constraint
* support sqlite
* fix sqlite
* add audit mixin and minor fixes
* fix FK's
* address comments
* lint
2020-11-06 09:33:32 +00:00
Ville Brofeldt
600a6fa92a
chore(rls): move to feature flag and disable related view ( #11575 )
...
* chore(rls): move to feature flag and disable related view
* rename feature flag
2020-11-05 12:19:48 +02:00
Beto Dealmeida
d999802795
Front end for VERSIONED_EXPORT ( #11559 )
2020-11-04 14:22:12 -08:00
Beto Dealmeida
1ebeffa104
chore: remove directory importexport ( #11531 )
2020-11-03 17:10:52 -08:00
Lily Kuang
eef4809978
feat: annotation edit modal with antd datepicker ( #11500 )
2020-11-03 12:59:13 -08:00
ʈᵃᵢ
edb9619731
refactor: reduce number of api calls needed to fetch favorite status for charts and dashboards ( #11502 )
2020-11-02 21:26:14 -08:00
Beto Dealmeida
fd10c47bc6
chore: remove sanitize ( #11532 )
...
* chore: remove sanitize
* Fix lint
2020-11-02 15:13:44 -08:00
Maxime Beauchemin
854a4614a8
feat: make logo link point to welcome page ( #11519 )
2020-11-01 09:22:09 -08:00
Daniel Vaz Gaspar
34ae29e59b
feat: query REST API more fields and tests ( #11482 )
...
* feat: query REST API more fields and tests
* fix missing field
2020-10-31 10:18:34 +00:00
Moriah Kreeger
01ddbd0697
feat: annotation layers modal + filters ( #11494 )
2020-10-30 15:51:46 -07:00
Jesse Yang
29554a9f02
fix: show recent visited dashboards and charts in recent_activity ( #11481 )
2020-10-30 11:59:08 -07:00
Beto Dealmeida
fbcfaacda3
feat: create base class for export commands ( #11463 )
...
* Add UUID to saved_query
* Reuse function from previous migration
* Point to new head
* feat: add backend to export saved queries using new format
* Rename ImportMixin to ImportExportMixin
* Create base class for exports
* Add saved queries as well
* Add constant, small fixes
* Fix wrong import
* Fix lint
2020-10-30 11:52:11 -07:00
Erik Ritter
ca40877640
feat: add certifications to tables ( #11450 )
2020-10-30 11:28:01 -07:00
Beto Dealmeida
f2b8d6aef8
chore: rename ImportMixin to ImportExportMixin ( #11460 )
...
* Add UUID to saved_query
* Reuse function from previous migration
* Point to new head
* feat: add backend to export saved queries using new format
* Rename ImportMixin to ImportExportMixin
2020-10-30 09:11:56 -07:00
Beto Dealmeida
21f722c9bc
feat: add endpoint to export saved queries using new format ( #11447 )
...
* Add UUID to saved_query
* Reuse function from previous migration
* Point to new head
* feat: add backend to export saved queries using new format
2020-10-30 08:32:16 -07:00
Daniel Vaz Gaspar
bf3e41d006
fix(api): don't log db conn failures on db create/update ( #11503 )
2020-10-30 12:52:52 +00:00
Phillip Kelley-Dotson
f7051eaade
feat: home screen mvp ( #11206 )
...
* step 1: broken stuff!
* first steps
* more adding and slicing
* step 1: broken stuff!
* can now filter dashboards/charts for "Edited" tabs (filter by changed_by o_m)
* more updates
* update recent card
* add icon
* Adding Expand Icon to Collapse component
* more updates
* clean up code
* remove lock file
* remove consoles
* fixing subnav button height shift
* lil' ascii arrows
* update branch
* update test part 1
* remove consoles
* fix typescript
* add images and update emptystate
* add changes
* update chart card
* fix css issues from rebase
* add suggestions
* more changes
* update tests and clear typescript errors
* Update superset-frontend/src/views/CRUD/welcome/ActivityTable.tsx
Co-authored-by: Evan Rusackas <evan@preset.io >
* update from comments
* more updates..
* fix rebase
* fix pesky type errors
* test fixes
* lint fix
* Update superset-frontend/spec/javascripts/views/CRUD/welcome/Welcome_spec.tsx
Co-authored-by: Evan Rusackas <evan@preset.io >
* Update superset-frontend/src/views/CRUD/welcome/EmptyState.tsx
Co-authored-by: Evan Rusackas <evan@preset.io >
* Update superset-frontend/src/components/Menu/SubMenu.tsx
Co-authored-by: Evan Rusackas <evan@preset.io >
* Update superset-frontend/src/components/ListViewCard/index.tsx
Co-authored-by: ʈᵃᵢ <tdupreetan@gmail.com >
* Update superset-frontend/src/components/ListViewCard/index.tsx
Co-authored-by: ʈᵃᵢ <tdupreetan@gmail.com >
* add suggestions
* fix lint
* remove unused code
* toast getrecentActivityobjs
* add some suggestions
* remove types for now
* cypress fix
* remove unused type
Co-authored-by: Evan Rusackas <evan@preset.io >
Co-authored-by: ʈᵃᵢ <tdupreetan@gmail.com >
2020-10-29 21:59:31 -07:00
John Bodley
a8eb3fe8e7
chore: Cleaning up ENABLE_REACT_CRUD_VIEWS config ( #11496 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2020-10-29 16:47:11 -07:00
Grace Guo
b1263ad568
Revert "fix: change chart title by clicking ( #11335 )" ( #11497 )
...
This reverts commit 1f04db79f7 .
2020-10-29 15:13:29 -07:00
ʈᵃᵢ
f918ca14aa
fix(datasets): add custom filter for virtual datasets based on sql attribute ( #11452 )
2020-10-29 13:11:33 -07:00
David Aaron Suddjian
18658f45be
feat(dashboards): Filter status indicators ( #10936 )
...
* Initial commit of new filters badge.
* refactor applied/rejected filters code
* finished filter indicators
* filter badge tested
* unnecessary imports
* formatting and types
* fixes
* license
* code quality tweaks
* state management for showing focused filter scope
* clean up filter key extraction code
* remove unnecessary styles
* temp css to demonstrate highlighting
* fix focused filter logic
* no more color badges
* new toys for highlighting dash components (#11144 )
* tweak style for the filter chart when filter is focused
* style: Filters p0 css2 (#11151 )
* nixing background tweak
* src paths
* another quick theme color
* src paths, adjusting pill icon color, changing icons, showing applied/busted counts
* linting stuff
* fixing and tweaking tests
* show filter indicator when filters are not active
* chart title bar cleanup
* open the right panel when popover opens
* unused import
* fix EditableTitle tests
* margin on dashboard header
* show the chart dropdown menu
* fix blur filter breaking dropdowns
* style tweak - no pointer events when irrelevant charts are blurred
* fix box shadow on filter highlight
* it's an array
* attempt fixing e2e
* style: filters p0 icon churn (#11215 )
* new filters icon
* icon styling
* bigger icons in list views
* better sizing of table actions and favStars
* more icon sizing...
* fixing more button size jankiness
* linting
* Filters performance (#11255 )
* fixing time filter "ok" button
* making unset filter menu collapsible
* sort alphabetically
* fix highlighting when removing items
* try a flex layout (for browser render perf)
* more specific transitioning
* temp: comment out some code as a test
* temp: comment out more code
* temp: remove possibly expensive computations from ChartHolder
* Revert "temp: comment out some code as a test"
This reverts commit 309b880e90 .
* Revert "temp: comment out more code"
This reverts commit 64c88b2cba .
* Revert "temp: remove possibly expensive computations from ChartHolder"
This reverts commit 37ce0214f0 .
* experiment: upgrade react-select to v3
* Revert "experiment: upgrade react-select to v3"
This reverts commit c3972ba486 .
* fix the damn problem
* remove code used for testing purposes
* awful hack to avoid adding a class to a container
* approaching infinity... and not beyond!
* fix ref forwarding
* add theme to tests as necessary
* fix(extra-filters): add logic for identifying applied extra filters (#11325 )
* fix: use dashboard id for stable cache key (#11293 )
* fix: button translations missing (#11187 )
* button translations missing
* blank space before text
* feat: update time_compare description and choices (#11294 )
* feat: update time_compare description and choices
* Update sections.jsx
* fix(extra-filters): add logic for identifying applied extra filters
* lint
Co-authored-by: Jesse Yang <jesse.yang@airbnb.com >
Co-authored-by: rubenSastre <ruben.sastre@decathlon.com >
Co-authored-by: Erik Ritter <erik.ritter@airbnb.com >
* address design feedback
* slight tweak to panel logic, keep panels open that user has opened
* rearrange code to be more graceful
* fix: bump superset-ui/core (#11385 )
* use is_dttm instead of is_temporal
* types, names
* only show unset filter panel if there are unset filters
* fix highlighting the filter control
* fix filterbox layout
* translations
* fix cypress
* actually add the test attribute
* Update superset-frontend/src/dashboard/components/DashboardBuilder.jsx
Co-authored-by: Evan Rusackas <evan@preset.io >
* Update superset-frontend/src/dashboard/components/DashboardBuilder.jsx
Co-authored-by: Evan Rusackas <evan@preset.io >
* formatting
* add link comment to hack
* Update superset-frontend/src/dashboard/components/gridComponents/ChartHolder.jsx
Co-authored-by: Evan Rusackas <evan@preset.io >
* stop importing lodash
* Update superset-frontend/src/dashboard/components/gridComponents/ChartHolder.jsx
Co-authored-by: Evan Rusackas <evan@preset.io >
* Update superset-frontend/src/dashboard/components/FiltersBadge/Styles.tsx
Co-authored-by: Evan Rusackas <evan@preset.io >
* Update superset-frontend/src/dashboard/components/FiltersBadge/Styles.tsx
Co-authored-by: Evan Rusackas <evan@preset.io >
* Update superset-frontend/src/dashboard/components/FiltersBadge/Styles.tsx
Co-authored-by: Evan Rusackas <evan@preset.io >
* Update superset-frontend/src/dashboard/components/FiltersBadge/Styles.tsx
Co-authored-by: Evan Rusackas <evan@preset.io >
* skip broken test
* Update superset-frontend/src/dashboard/components/FiltersBadge/Styles.tsx
Co-authored-by: Evan Rusackas <evan@preset.io >
* Update superset-frontend/src/dashboard/components/FiltersBadge/Styles.tsx
Co-authored-by: Evan Rusackas <evan@preset.io >
* adjust colors of titles
* linting
* no indicators when chart is loading
* support all time fields
* fix lock file
Co-authored-by: Natalie Ruhe <natalie@preset.io >
Co-authored-by: Evan Rusackas <evan@preset.io >
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com >
Co-authored-by: Jesse Yang <jesse.yang@airbnb.com >
Co-authored-by: rubenSastre <ruben.sastre@decathlon.com >
Co-authored-by: Erik Ritter <erik.ritter@airbnb.com >
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com >
2020-10-28 15:46:24 -07:00
Moriah Kreeger
e9dba18466
feat: annotation layers CRUD list view ( #11432 )
2020-10-28 15:45:07 -07:00
Ville Brofeldt
e230865216
chore(chart-data): add annotations and url params to chart data schema ( #11393 )
...
* chore(chart-data): add annotations to chart data schema
* bump superset-ui packages
* xit flaky cypress tests
2020-10-28 23:41:39 +02:00
Lily Kuang
e5e35634de
feat: annotations list CRUD view ( #11446 )
...
* annotations list CRUD view
* comment out modal
* update test
* fix lint
2020-10-28 12:19:50 -07:00
Bogdan
88e5e9855d
fix: add init.py to the annotations module ( #11437 )
...
* Add init.py to the annotations module
* Update superset/annotation_layers/annotations/api.py
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com >
* Pylint
* License
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com >
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com >
2020-10-28 07:36:28 -07:00
Grace Guo
014fe9fd8c
fix: [email report] add multiple schedules per hour ( #11414 )
2020-10-27 09:37:42 -07:00
Beto Dealmeida
98daf0a435
feat: add UUID column to saved_query for export/import ( #11397 )
...
* Add UUID to saved_query
* Reuse function from previous migration
* Point to new head
2020-10-27 08:49:09 -07:00
Kasia Kucharczyk
b49fd65cf7
fix: added meaningful exception for loading births error ( #11407 )
...
* Added exception for loading data without previous loaded test users.
* Changed general exception to NoDataException
* Changed import to absolute path
2020-10-27 06:28:52 -07:00
John Bodley
8ee6493233
chore: Update testconn logic ( #11315 )
...
* chore: Update testconn logic
* [databases] Address @dpgaspar's comments
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2020-10-27 09:15:05 +00:00
Ville Brofeldt
ecdff724ea
feat: enable metadata sync for virtual tables ( #10645 )
...
* feat: enable metadata sync for virtual tables
* add migration and check for empty schema name
* simplify request
* truncate trailing column attributes for MySQL
* add unit test
* use db_engine_spec func to truncate collation and charset
* Remove redundant migration
* add more tests
* address review comments and apply templating to query
* add todo for refactoring
* remove schema from tests
* check column datatype
2020-10-27 07:58:38 +02:00
Ville Brofeldt
8575439f48
fix: is_temporal should be overridden by is_dttm value ( #11429 )
2020-10-27 07:22:27 +02:00
Hugh A. Miles II
81f77fd28e
feat: hide datasource legacy based on featureflag ( #11371 )
2020-10-26 17:31:29 -07:00
Daniel Vaz Gaspar
144b279aa2
feat: saved queries with execution info ( #11391 )
...
* feat: add rows and last_run info to saved queries
* feat: add rows to saved query
* refactor and tests
* lint
* fix tests
2020-10-26 11:20:07 -07:00
Maxime Beauchemin
10a54b52ac
fix(examples): specify 'time_range_endpoints' to prevent toast warning ( #11417 )
2020-10-26 08:42:57 -07:00
Daniel Vaz Gaspar
6f69212f28
feat: annotations REST API ( #11344 )
...
* feat(api): annotations and layers CRUD REST API
* lint
* annotations API and tests
* fix openapi spec
* fix openapi spec
* fix openapi spec
* annotations bulk delete
* fix openapi spec
* fix older tests
* fix older tests
* small lint fixes
* layer_id to pk to keep broad coherence on openapi spec
* fix openapi spec
* one more test and validation
* fix test name
* fix test
* fix bulk delete
* add name validation
* annotation uniqueness validation
* lint
* add sorting reqs and tests
* add statsd metrics
* Update superset/annotation_layers/annotations/dao.py
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com >
* Update tests/core_tests.py
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com >
* address comments
* address my comment :)
* fix, address comments
* lint
Co-authored-by: riahk <moar.riah@gmail.com >
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com >
2020-10-23 09:41:17 +01:00