Commit Graph

8051 Commits

Author SHA1 Message Date
John Bodley 41e8190575
chore: Use datetime.timedelta for defining durations in config (#16029)
* chore: use datetime.timedelta for defining durations

* Update config.py
2021-08-03 08:22:30 +12:00
Kamil Gabryjelski 5917407b9c
fix(explore): filter popover opening after removing a filter (#16024) 2021-08-02 22:01:17 +02:00
John Bodley c0615c55df
fix: Ensure table uniqueness on update (#15909)
* fix: Ensure table uniqueness on update

* Update models.py

* Update slice.py

* Update datasource_tests.py

Co-authored-by: John Bodley <john.bodley@airbnb.com>
2021-08-03 07:45:55 +12:00
Michael S. Molina 76a13dfc9a
fix: Modal is blinking when opening (#16035) 2021-08-02 16:18:54 -03:00
Geido 39913d286a
Implement sectionId (#16022) 2021-08-02 12:12:36 -07:00
Ville Brofeldt c8a8347b43
chore: bump superset-ui to 0.17.77 (#16034) 2021-08-02 11:48:54 -07:00
Yongjie Zhao 3f57ea76db
fix: missing mulitiple metrics on pivot operator (#16026)
* fix: missing mulitiple metrics on pivot operator

* code smell
2021-08-02 11:37:10 -07:00
Michael S. Molina a889cb3505
chore: Auto focus the viz gallery select (#16025) 2021-08-02 14:59:17 -03:00
Elizabeth Thompson e0576786c3
add feature flag to header bar (#16031) 2021-08-02 10:57:29 -07:00
ʈᵃᵢ 39db6a73ee
docs: update api 2 (#16032)
* docs: update api

* recompile
2021-08-02 13:31:15 -04:00
John Bodley a7f247b472
chore: Bump Celery (#15927)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2021-08-03 05:28:20 +12:00
Elizabeth Thompson 5031a67597
feat: Self subscribe reports (#16027)
Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com>
2021-08-02 09:12:09 -07:00
Sarthak Agrawal 31d79ff67c
docs: add instructions for how to connect to local database from docker container (#15936)
* Update installation instructions for docker

Update installation instructions to include a section on
connecting to local db via superset running in docker container.

Newcomers may have trouble in this part because it involves
knowing about some docker internal details, as well as
google search doesn't bring many directly useful results.

If it's a commonly occurring issue among new comers,
we may accept this commit.

* Update index.mdx

Add a caution regarding changing database config to allow public incoming.
Add a note that mac users may skip configuring database.
Spelling mistake fix.
Style fix, "Superset" is now in title case.
2021-08-02 10:46:32 -04:00
David Sztykman 6095978040
docs: add Hydrolix to users list (#15950) 2021-08-02 10:22:57 -04:00
ʈᵃᵢ 22dc3d1eaa
docs: update api (#16005)
* docs: update api

* lint
2021-08-02 09:58:12 -04:00
Kamil Gabryjelski 3061b6ad09
fix(explore): fix undefined error when using dnd (#16020) 2021-08-02 15:22:32 +02:00
Ville Brofeldt c77bf264d1
fix(native-filters): add support for versioned import/export (#16017)
* fix(native-filters): add support for versioned import/export

* fix lint

* address CR

* make query_context nullable
2021-08-02 16:10:57 +03:00
Geido 475f9cdc35
fix: Sort Metrics by ID DESC (order of creation) in the Datasource Editor (#15971)
* Sort metrics by ID

* Fix undefined metrics
2021-08-02 11:16:01 +02:00
Yongjie Zhao a786373fff
feat: auto sync table columns when change dataset (#15887)
* feat: auto sync dataset metadata when change dataset

* diablo sync button when edit mode

* handle undefine schema

* fix py UT

* fix FE UT

* improve test coverage

* fix UT
2021-08-02 16:55:31 +08:00
David Aaron Suddjian 46188c1011
fix(explore): calculate query staleness correctly (#15994) 2021-07-31 19:46:34 -06:00
Beto Dealmeida ce6bc3b598
fix: save DB with with query (#15991) 2021-07-31 10:48:15 -07:00
Yongjie Zhao c01d42fd98
fix: eliminate cartesian product columns in pivot operator (#15975)
* fix: eliminate cartesian product columns in pivot operator

* wip

* wip

* minor tip
2021-07-31 16:02:04 +08:00
Jesse Yang b73d7baedf
fix(dashboard): FilterBox JS error when datasets API is slow (#15993) 2021-07-30 22:06:29 -07:00
stellalc7 324ecb31fc
fix: three button styles to tertiary (#15978)
* changed margin right on warning icon to 8px

* fixed to grid units from pixels

* Changed three buttons styles to tertiary
2021-07-31 10:25:55 +08:00
Phillip Kelley-Dotson 5fd798afb7
chore: change dropdown icons from horizontal to vertical (#15958)
* change icons

* add size

* fix storybook

* fix favstar, add new icons, and others

* fix lint
2021-07-30 17:02:40 -06:00
serenajiang c37c56c2e4
Revert "fix: Select a query from History and Run (#15891)" (#15992)
This reverts commit 8c7e09e500.
2021-07-30 15:24:07 -07:00
Elizabeth Thompson 908db3ab31
fix select width (#15986) 2021-07-30 14:58:03 -07:00
David Aaron Suddjian 7e691f9849
Update bug_report.md (#15987) 2021-07-30 13:27:34 -07:00
Michael S. Molina a3a762e5a7
fix: Dataset field required 2 clicks to select when dashboard was empty (#15985) 2021-07-30 17:23:00 -03:00
Beto Dealmeida f1b57c0d88
fix: DB add modal (#15981) 2021-07-30 14:32:48 -04:00
Beto Dealmeida 2d61f15153
feat: send post-processed data in reports (#15953)
* feat: send post-processed data in reports

* Fix tests and lint

* Use enums

* Limit Slack message to 4k chars
2021-07-30 09:37:16 -07:00
Michael S. Molina cc704dd53a
fix: Cancel alert is not appearing to all native filters modal fields (#15925) 2021-07-30 11:59:36 -03:00
Michael S. Molina eb78f4332f
fix: Name change is not lost in left side of modal when return to edition after aborting changes (#15952) 2021-07-30 08:21:12 -03:00
Michael S. Molina e8f18f4dbf
fix: Drag inner tab to outer tab while editing a dashboard will show an error (#15946) 2021-07-30 08:20:43 -03:00
Geido c2e4290392
fix(dashboard): Add required message in the tooltip for the time range filter (#15941)
* Add required msg in tooltip

* Fix lint

* Keep red border on hover
2021-07-30 09:44:33 +02:00
Hugh A. Miles II 3b9b2c97aa
Update ModalHeader.tsx (#15949) 2021-07-29 16:23:46 -04:00
Phillip Kelley-Dotson 02f9749d18
feat(homepage): add more cards and new layout (#15853)
* testing out

* use %

* test

* more changes for testing

* add styles

* initial test commit

* remove ff

* default to false

* fix bug

* fix lint

* fix test

* ensure thumbnails if ff is true

* add back examples and fix layout

* fixes

* new layout

* add suggestions

* changes descriptions

* add changes

* Update superset-frontend/src/components/ListViewCard/index.tsx

Co-authored-by: Evan Rusackas <evan@preset.io>

* add const for req

* Update superset-frontend/src/views/CRUD/utils.tsx

Co-authored-by: Evan Rusackas <evan@preset.io>

* fix grid-gap

* fix padding

* fix cards in listviews

* address comments

* removing fractional pixel

Co-authored-by: Evan Rusackas <evan@preset.io>
2021-07-29 11:57:00 -07:00
Beto Dealmeida f4739f427e
feat: post-processing for pivot table v2 (#15879)
* feat: add pivot v2 post-processing

* Fix lint
2021-07-29 11:05:56 -07:00
Beto Dealmeida 6afa840659
feat: send report data to Slack (#15806)
* feat: send data embedded in report email

* Change post-processing to use new endpoint

* Show TEXT option only to text-based vizs

* Fix test

* feat: send data embedded in report email

* feat: send report data to Slack

* Add unit test

* trigger tests
2021-07-29 10:13:28 -07:00
Geido 56dd2a3269
fix(dashboard): Show the filters popover behind the dashboard header when scrolling (#15933)
* Fix z-index

* Fix z-index dropdown and maximized chart filters
2021-07-29 18:19:25 +02:00
David Aaron Suddjian ac9c1372b4
fix(dashboard): check dashboard id before calling redux methods (#15921)
* check dashboard id before calling redux methods

* comment
2021-07-28 13:45:09 -07:00
Michael S. Molina 7b0acc45de
chore: Changes the main menu order as defined in SIP-34 (#15929) 2021-07-28 16:47:07 -03:00
ʈᵃᵢ 7b503fa710
docs: add .asf.yaml (#15931)
* docs: add asf.yaml

* license

* fix
2021-07-28 15:32:03 -04:00
Hugh A. Miles II bfe7eb9a7b
feat(dbc ui): Adding Google Sheets Dynamic Form (#15801)
* feat: Make Google Sheets Dyanmic (#15576)

* first draft

* second draft

* added tests

* first draft

* added table_catalog

* remove console.log

* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/DatabaseConnectionForm.tsx

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* revisions

* save this for now

* working form

* save disable on public sheets

* refactor somethings

* saving this for now

* working edit

* add back query to schema

* working add

* fix styling

* fixing x

* fix linting

* prettier

* fix some type issues

* more lint fixes

* remove unused dependency

* fix linint

* fix validation

* pylint bypass

* pylint bypass

* fix this

* fix mypy

* yerp

* fix test

* fix test

* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/DatabaseConnectionForm.tsx

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/DatabaseConnectionForm.tsx

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/DatabaseConnectionForm.tsx

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/DatabaseConnectionForm.tsx

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/DatabaseConnectionForm.tsx

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/DatabaseConnectionForm.tsx

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* wrap add sheets

* fix linting issues

* fix unit test

* ignore typing

* fix editting and paste issues

* remove query

* fix this

* fix test

* add test back

* fix error messaging

* update url messaging on error

* change error type

* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* add errors for sheets with no name

* fix

* fix messaging for gsheets

* stop pylint

* update line

Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com>
Co-authored-by: Arash <arash.afghahi@gmail.com>
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2021-07-28 15:00:27 -04:00
Elizabeth Thompson 3f6c81b621
add timezone selector to alerts and reports (#15920) 2021-07-28 10:02:00 -07:00
John Bodley 671b8f2544
chore: Mypy fix **kwargs type (#15823)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2021-07-29 04:59:20 +12:00
Beto Dealmeida 3adf8e85cd
feat: send data embedded in report email (#15805)
* feat: send data embedded in report email

* Prettify table

* Change post-processing to use new endpoint

* Show text option only for text viz

* Show TEXT option only to text-based vizs

* Fix test

* Add email test

* Add unit test
2021-07-28 09:43:04 -07:00
Yongjie Zhao 32d2aa0c40
feat: run extra query on QueryObject and add compare operator for post_processing (#15279)
* rebase master and resolve conflicts

* pylint to makefile

* fix crash when pivot operator

* fix comments

* add precision argument

* query test

* wip

* fix ut

* rename

* set time_offsets to cache key

wip

* refactor get_df_payload

wip

* extra query cache

* cache ut

* normalize df

* fix timeoffset

* fix ut

* make cache key logging sense

* resolve conflicts

* backend follow up iteration 1

wip

* rolling window type

* rebase master

* py lint and minor follow ups

* pylintrc
2021-07-28 22:34:39 +08:00
Geido bdfc2dc9d5
fix: Keep chosen columns sort option when changing a column (#15918)
* Keep sorting

* Fix adding new column
2021-07-28 16:19:58 +02:00
Yongjie Zhao 11b0249803
fix: remove unused time column when update dataset (#14969)
* fix: remove unused time column when update dataset

* fix lint

* set dttm to first datatime column
2021-07-28 21:40:16 +08:00