Commit Graph

6288 Commits

Author SHA1 Message Date
adam-stasiak-polidea
16e69f1131
feat: Option to run npm dev-server (hot reload) while calling docker-compose up (#11238)
* Configured docker to be able running dev-server instead of frontend dev script

* reverted changes

* license fix
2020-11-30 09:35:58 -08:00
Hugh A. Miles II
0689738e7c
feat: Sqllab to Explore UX improvements api changes (#11836) 2020-11-30 09:23:11 -08:00
Kamil Gabryjelski
5ebc09b339
fix: Download as image not working on Dashboard view (#11778)
* Fix download as image not working on Dashboard view

* Fix menu not closing before making a screenshot

* Move hardcoded selectors to variables

* Fix linting issue

* Add comments

* Close menu before taking a screenshot on Explore view

* Use style.visibility instead of timeout to hide menu for screenshot

* Change const name to uppercase

* Move variable declarations to case
2020-11-30 09:16:38 -08:00
Daniel Vaz Gaspar
9dd33d5566
feat(saved queries): security perm simplification (#11764)
* feat(saved queries): security perm simplification

* migration script and frontend

* add downgrade procedure

* downgrade procedure, inferred from the upgrade data

* fix JS test

* improve code

* add tests for role migration

* more tests and a short description for each one

* Improve readability

* simplify dataclass creation

* fix dataclass
2020-11-30 13:07:39 +00:00
Erik Ritter
46664452a7
chore: type a couple easy to type files (#11838) 2020-11-29 21:52:41 -08:00
Kamil Gabryjelski
19e5ce0ac7
chore: Move styles of Dashboard and FilterScopeSelector modals to Emotion (#11779)
* Remove unused component

* Move styles from dashboard.less and filter-scope-selector.less to Emotion

* Write padding style short-hand way
2020-11-29 21:20:03 -08:00
Agata Stawarz
e974b0be05
Change subtabs order for Data tab (#11834) 2020-11-29 20:16:47 -08:00
Erik Ritter
671ff6c053
fix: improve Avatar text size consistency (#11837) 2020-11-29 20:08:47 -08:00
Amit Miran
ec01691e22
fix: wrong key used FEATURE_FLAGS[LISTVIEW_DEFAULT_CARD_VIEW] (#11824)
* fix:  FEATURE_FLAGS[LISTVIEW_DEFAULT_CARD_VIEW] wrong keyword used by default

* the opposite change

* chore: rename comment as well

Co-authored-by: Amit Miran <47772523+amitNielsen@users.noreply.github.com>
2020-11-29 19:39:16 -08:00
Agata Stawarz
43c69d52a4
fix: Adding and removing annotations (#11811)
* Fix creating new annotation layer and refactor AnnotationLayer component

* Refactor checking overrides keys in AnnotationLayer

* Fix adding and editing annotations. Refactor AnnotationLayer submit and remove functions

* Remove unused parent prop from AnnotationLayer

* Fix toggling annotation layer popover

* Revert extracting annotation props to nested object

* Clean up AnnotationLayer component

* Remove unnecessary import

* Use original name for identifying annotations in add/remove actions

* Change props order and rename removeAnnotation function

* Compare annotations by reference instead of name
2020-11-28 10:59:16 +02:00
Daniel Vaz Gaspar
f121107bbe
ci(docker): build image on release (#11828)
* feat(docker): build image on release

* separate trigger separate handling

* fix triggers

* less states for docker build on PR's
2020-11-27 09:38:38 +00:00
Daniel Vaz Gaspar
35784106dd
docs(release): small fixes and deprecate apache docs (#11827)
* docs(release): small fixes and deprecate apache docs

* remove last 0.38 reference
2020-11-26 11:49:59 +00:00
Daniel Vaz Gaspar
1591d75d2f
fix(setup): disallow python 3.6 for pip install (#11825)
* fix(setup): disallow python 3.6 for pip install

* remove old py constraint
2020-11-26 11:49:12 +00:00
Daniel Vaz Gaspar
bac84a3aac
fix: delete chart, dashboards, dbs with assoc reports (#11801)
* fix: delete chart or dashboards with assoc reports

* database constraint to reports and tests

* add tests for dashboards and database

* fix exceptions default text
2020-11-26 08:45:49 +00:00
John Bodley
13c51d5211
chore: Fix TableModelView super call (#11815) 2020-11-26 11:37:42 +13:00
Lily Kuang
9c69679e14
feat: filter by me on CRUD list view (#11683) 2020-11-25 11:56:48 -08:00
Beto Dealmeida
c354e7e0ab
fix: remove root dir from ZIP bundle (#11805)
* fix: remove root dir from ZIP bundle

* Fix lint

* Fix tests

* Improve tests

* Fix dashboard as well
2020-11-25 11:47:48 -08:00
Grace Guo
4cbf482194
fix: add feature flag for domain sharding (#11797)
* fix: add feature flag for domain sharding

* fix review comment

* add comment for speical case
2020-11-25 11:47:18 -08:00
Maxime Beauchemin
0504cf1a00
chore: improve analytics (#11714)
* chore: improve analytics

* lint

* log more events, add note in UPDATING.md

* handling base class

* more events\!

* get ref through

* right before @expose

* fix context

* touchups
2020-11-25 08:45:02 -08:00
Erik Ritter
9215a31fa2
chore: type src/logger (#10815) 2020-11-25 08:21:44 -08:00
Daniel Vaz Gaspar
84c8a627b2
docs: 0.38.0 CHANGELOG and UPDATING (#11809) 2020-11-25 11:36:50 +00:00
auxten
ac0dd3fa32
fix: attachment filename error in sqllab with i18n (#11762)
* Fix attachment filename error in sqllab

* Fix line too long lint

* Fix black lint
2020-11-25 13:05:30 +02:00
Ville Brofeldt
38f67a44ca
fix: mutating input df in viz.py (#11795) 2020-11-25 12:55:00 +02:00
Daniel Vaz Gaspar
f27ebc4be5
feat: new reports scheduler (#11711)
* feat(reports): scheduler and delivery system

* working version

* improvements and fix grace_period

* add tests and fix bugs

* fix report API test

* test MySQL test fail

* delete-orphans

* fix MySQL tests

* address comments

* lint
2020-11-25 08:50:30 +00:00
Beto Dealmeida
501b9d47c5
feat: API endpoint to import dashboards (#11751)
* ImportChartsCommand

* feat: add a command to import dashboards

* feat: API endpoint to import dashboards

* Add dispatcher

* Raise specific exception

* Fix test

* Remove print calls

* Add logging when passing
2020-11-24 22:45:35 -08:00
Erik Ritter
e4d02881d2
chore: unbreak frontend ci (#11806) 2020-11-24 21:43:02 -08:00
Kamil Gabryjelski
9b68b65568
refactor: Replace react-bootstrap tooltips with Antd tooltips (#11737)
* Refactor tooltip in ColumnElement

* Refactor tooltip for Button 

* Remove redundant import

* Refactor tooltip in SqlEditor

* Increase line height in tooltip so that the text is centered

* Refactor tooltip in Link

* Refactor tooltip in AdhocMetricEditPopoverTitle

* Refactor tooltip from ControlHeader

* Refactor tooltip in DateFilterControl

* Refactor tooltip in VizTypeControl

* fixup! Refactor tooltip in AdhocMetricEditPopoverTitle

* Refactor tooltip in QueryAndSaveBtns

* fixup! Refactor tooltip in DateFilterControl

* Refactor tooltip in CopyToClipboard, fix cursor pointer

* Refactor tooltip in TooltipWrapper

* Refactor tooltip in Field/DatasourceEditor

* Remove redundant import

* Fix typing for placement prop

* Decrease margin in ColumnElement divider

* Change default export to named

* Move SqlLab Tooltip styles to Emotion

* Fix tests
2020-11-24 13:04:55 -08:00
PM Extra
75086f8979
fix: docker healthcheck (#11798)
* Fix docker healthcheck.

* Update Dockerfile
2020-11-24 12:39:10 -08:00
Erik Ritter
c0224aa928
feat: add certification info to table selector (#11785) 2020-11-24 12:13:52 -08:00
Elizabeth Thompson
302357f3e7
update docs around email reports (#11783) 2020-11-24 11:43:43 -08:00
Erik Ritter
67c44479b5
build: split python CI jobs (#11794)
* build: split python CI jobs

* Rename superset-python.yml to superset-python-misc.yml
2020-11-24 11:40:16 -08:00
Moriah Kreeger
6019113bc6
refactor: use rison for list view filters stateful urls (#11675) 2020-11-24 11:19:48 -08:00
Agata Stawarz
91bcbc8350
refactor: Replace SqlLab components' styles using Emotion & theme variables (#11780)
* Replace inline styles for SqlLab components using Emotion and Theme variables

* Replace styles classnames for SqlLab components using Emotion

* Remove unnecessary styles & round padding value
2020-11-24 10:53:51 -08:00
adam-stasiak-polidea
6cb820583b
chore: controls.test supporting v1 charts and added force=true to url when r… (#11754)
* controls.test supporting v1 charts and added force=true to url when refreshin chart with force an option

* Added verification for isCached

* added using global alias prefix

* fixed typescript error
2020-11-24 10:50:33 -08:00
Phillip Kelley-Dotson
d364d0354c
add tool tip to cards (#11791) 2020-11-24 10:20:27 -08:00
adam-stasiak-polidea
f49525f03e
chore: enabled v1 verification in filter and url_params test files (#11712)
* enabled v1 verification in filter test file

* added v1 support in url_params tests

* review fix
2020-11-24 13:09:57 +02:00
Maxime Beauchemin
872a54d304
fix: annotation layer crashes when clearing type select (#11787) 2020-11-23 21:46:26 -08:00
Beto Dealmeida
25345bea64
feat: add a command to import dashboards (#11749)
* feat: add a command to import dashboards

* Fix lint

* Remove print()
2020-11-23 16:28:26 -08:00
H Shashank Koppar
2566319554
docs: add Xite to users list (#11775)
* Update INTHEWILD.md

* put in alphabetical order
2020-11-23 15:49:40 -08:00
Elizabeth Thompson
fd7e6c77fc
fix: style multiselect input (#11732)
* style multiselect input

* add autocomplete and move input styles to styles file
2020-11-23 14:15:11 -08:00
PM Extra
a062cbbf5d
Fix docker healthcheck. (#11747) 2020-11-23 13:17:19 -08:00
Erik Ritter
db7386910e
chore: fix typo (#11772)
* chore: fix typo

* Update utils.tsx
2020-11-20 19:23:37 -08:00
ʈᵃᵢ
fbe4a6622e
feat: SQL preview modal for Query History (#11634) 2020-11-20 16:01:06 -08:00
Beto Dealmeida
a3a2a68f01
feat: API endpoint to import charts (#11744)
* ImportChartsCommand

* feat: API endpoint to import charts

* Add dispatcher

* Fix docstring
2020-11-20 14:40:27 -08:00
Beto Dealmeida
2f4f87795d
feat: add a command to import charts (#11743)
* ImportChartsCommand

* Fix type
2020-11-20 14:20:13 -08:00
Craig Rueda
141cb45b5a
fix: Fixing issue around requirements-local.txt (#11769)
* Fixing issue around requirements-local.txt

* Fixing license

* Linting
2020-11-20 14:18:17 -08:00
Hugh A. Miles II
1ef3a02e7a
feat: Add user info to sqllab via bootstrap data (#11760) 2020-11-19 18:32:51 -08:00
Kamil Gabryjelski
cdd01f4851
fix: Null error when deleting the last owner label in DatasourceEditor/settings (#11752)
* Fix null error when deleting the last owner in SelectAsyncControl

* Replace "||" with "??"
2020-11-19 14:10:34 -08:00
Kamil Gabryjelski
63ef649d1d
Make spacings in Settings menu more consistent (#11709) 2020-11-19 13:01:53 -08:00
Evan Rusackas
31eaa0ca20
style: dark filter popover background (#11611)
* style: dark filter popover background

* Story to test and demonstrate the pitfalls of global styles

* nixing the story... not going to be reusing this anyway

* adding a class to isolate dark styles

* now supports all arrow directions

* placing at the bottom rather than bottom right

* adding colors, adjusting spacing

* linting
2020-11-19 10:54:49 -08:00