Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prompt for save when sharing unsaved question #10976

Merged
merged 2 commits into from Oct 15, 2019
Merged

Conversation

paulrosenzweig
Copy link
Contributor

Resolves #10447

Previously you had to save a question before seeing the share icon. Now the behavior matches alerts: You always see the icon. If you try to share an unsaved question, we prompt you to save first.

I moved the modal into QueryModals.jsx so it could live with the same logic for alerts. I ended up pulling the shared trigger that lived in EmbedWidget into QuestionEmbedWidget and DashboardEmbedWidget since they now had separate triggering logic.

Copy link
Contributor

@mazameli mazameli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The behavior seems good to me! 👍

@paulrosenzweig paulrosenzweig merged commit cc1ddc0 into release-0.33.x Oct 15, 2019
@paulrosenzweig paulrosenzweig deleted the fix-10447 branch October 15, 2019 16:42
mazameli pushed a commit that referenced this pull request Oct 21, 2019
* hide section picker if when viewing column settings

* hide sidebar title

* add ChartSettingsSidebar test

* always show column settings title

* lint

* override sidebar title

* remove unneeded diff

* group reference sidebar tables by schema

* keep everything as one list

* use name instead of display_name

* add tests

* add schema pane

* filter to querable tables

* update tests

* unused imports

* sort schema and table names

* change scalar compact formatting to depend on pixel width rather than grid width (#10932)

* prompt for save when sharing unsaved question (#10976)

* use generic props override instead of just `title` and `onBack`

* Update pulse table style to match app (#10989)

* undefined -> null, you can spread null aparently

* Upgrade redshift driver to 1.2.36.1060 (#11181)

* fix bug where column settings were dropped (#11154)

* remove leading slash on publicPath (#11174)

* Fix GA crashes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants