Commit Graph

6616 Commits

Author SHA1 Message Date
Evan Rusackas
53017e5a35
fix: Button storybook component size knob (#11912) 2020-12-03 10:20:24 -08:00
Evan Rusackas
38b720b0a7
style: eslint curly rule (#11913)
* style: eslint curly rule

* curly for ts
2020-12-03 10:20:05 -08:00
ʈᵃᵢ
8c063efa75
fix(query): sorting by user for Query History list view (#11897)
* fix: sorting by user for Query History list view

* fix filter exception
2020-12-03 09:12:58 +00:00
Daniel Vaz Gaspar
71c567bf3a
feat(css templates): security perm simplification (#11856)
* feat: security converge css templates

* fix security tests

* fix JS test

* add migration

* black and fix migration
2020-12-03 08:45:32 +00:00
Grace Guo
61064b9634
add fix for extra comments for #11781 (#11902) 2020-12-02 18:13:42 -08:00
Nikola Gigić
721f9119e1
chore: Enable jsx-a11y/anchor-is-valid (#11891)
* Enabling ancor-is-valid

* Remove comments since no longer applies
2020-12-02 10:14:56 -08:00
Hugh A. Miles II
0c10f9ee3f
chore: Update sqllab types (#11887) 2020-12-02 10:11:26 -08:00
Will Barrett
1842c56209
Capture error when celery back-end does not support forgetting tasks (#10770) 2020-12-02 09:47:02 -08:00
Erik Ritter
f2d9f00013
feat: allow user to view their profile again (#11816) 2020-12-02 09:14:23 -08:00
Victor Malai
07288789e2
fix: Show copy icon (#11847)
* Show copy icon

* Fix eslint

* Fix copy button on view query modal

* Remove comments
2020-12-01 23:40:02 -08:00
Victor Malai
618a73d56e
Align icon (#11848) 2020-12-01 22:44:55 -08:00
Nikola Gigić
9514be5daf
style: remove react bootstrap fade component (#11843)
* Replace Bootstrap Fade component with custom Emotion Fade component

* Fix lint errors

* Added test

* Fixing front-end build errors

* Fix lint errors
2020-12-01 22:43:30 -08:00
Lily Kuang
a76eadd838
feat: report/alert list CRUD view (#11802) 2020-12-01 17:57:15 -08:00
Erik Ritter
d041d3a7f1
fix: certification icon order (#11881) 2020-12-01 17:11:09 -08:00
Grace Guo
f292015ccd
fix (dataset editor): allow Source tab readOnly mode (#11781)
* fix (dataset editor) add read-only mode for Source tab

* add feature flag, add unit tests

* rebase and fix comment

* add message for padlock

* move padlock to the bottom of tab
2020-12-01 17:10:33 -08:00
Daniel Vaz Gaspar
ac9761c730
fix: dashboard iframe to markdown db migration (#11845)
* fix: dashboard iframe to markdown db migration

* Update superset/migrations/versions/978245563a02_migrate_iframe_to_dash_markdown.py

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2020-12-01 20:50:35 +00:00
Jesse Yang
a5af2ade0a
test: add React Testing Library (#11771) 2020-12-01 11:14:37 -08:00
Kasia Kucharczyk
3035090915
fix: filters push out apply button on dashboard (#11580)
* Changed height of slices in dashboard into 100%-padding, so there is no scroll appearing anymore

* Added scroll to the block on dashboard, when filters are too high

* Applied lint
2020-12-01 10:43:50 -08:00
ʈᵃᵢ
ffa32cde14
chore: remove SIP_34_QUERY_SEARCH_UI feature flag (#11863) 2020-12-01 09:29:16 -08:00
Agata Stawarz
44e80e0175
chore: Add home link to navbar (#11851)
* Add Home link to Navbar

* Change test text for rendering elements in the main navbar

* Display Home link only when Logo Target Path is set
2020-11-30 23:14:42 -08:00
Elizabeth Thompson
84e0606a90
chore: move fixtures and helpers to root (#11812) 2020-11-30 14:23:56 -08:00
ʈᵃᵢ
011724750f
feat: list view filters for Query History (#11702) 2020-11-30 14:21:53 -08:00
Hugh A. Miles II
3cd94d6da9
feat: Create api abstraction layer for dataset network calls (#11855)
* add datasets api file

* Update dataset.ts

* Update dataset.ts

* Update dataset.ts
2020-11-30 13:27:27 -08:00
Hugh A. Miles II
a0b81357cd
fix(datasets): renaming openAPI columns (#11858) 2020-11-30 12:01:11 -08:00
Phillip Kelley-Dotson
0e9898cb96
feat(welcome): add SQL snippets to saved queries card (#11678)
* update savedqueries card to new layout

* update card

* update card to latest mock

* update empty state

* remove fallback

* fix query statement

* update card styles

* remove double import

* use fallbackurl prop for emptystate

* update line lenth

* Update superset-frontend/src/views/CRUD/welcome/SavedQueries.tsx

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

* update styles and svg

Co-authored-by: Evan Rusackas <evan@preset.io>
2020-11-30 11:53:12 -08:00
Kamil Gabryjelski
a4f44255aa
Fix chart select borders in BuilderComponentPane (#11766) 2020-11-30 09:51:54 -08:00
Daniel Vaz Gaspar
b1a963b93f
fix: security converge downgrade procedure (#11852) 2020-11-30 17:50:12 +00:00
Kasia Kucharczyk
462b39d762
fix: update chart doesn't remove all connections to dashboards (#11830)
* Added possibility to not change dashboards connection when chart is changed

* Added two chart unit tests which checks if dashboards properly change on update
2020-11-30 09:48:14 -08:00
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