* feat: run BQ queries as single statement
* Update deps
* Fix lint
* Update superset/sql_lab.py
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
* Support SET & SHOW commands as read only SQL commands
* Move is_readonly definition into the engine spec
* Rename & use super()
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
* 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
* 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>
* 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
* Added possibility to not change dashboards connection when chart is changed
* Added two chart unit tests which checks if dashboards properly change on update
* 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
* 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
* 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>
* 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