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

[sqllab] call out transient state of tabs to users #5652

Merged

Conversation

williaster
Copy link
Contributor

The recent global notifications refactor (#5355) changed redux state such that users lost their SQL lab tabs.

We realized it's not necessarily clear to users that this state is transient (as it currently is implemented with local storage) so we wanted to add a note in the empty tab:

I have prettier ✨ enabled in my IDE so there are some auto-format changes from that.

@kristw @john-bodley @michellethomas @graceguo-supercat

autorun: false,
sql: 'SELECT ...',
sql: `${t(
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is the only functional change

@codecov-io
Copy link

codecov-io commented Aug 17, 2018

Codecov Report

Merging #5652 into master will not change coverage.
The diff coverage is 90%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #5652   +/-   ##
======================================
  Coverage    63.5%   63.5%           
======================================
  Files         360     360           
  Lines       22888   22888           
  Branches     2549    2549           
======================================
  Hits        14534   14534           
  Misses       8339    8339           
  Partials       15      15
Impacted Files Coverage Δ
.../assets/src/SqlLab/components/TabbedSqlEditors.jsx 90.99% <90%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4ff5686...dc490cc. Read the comment docs.

@kristw
Copy link
Contributor

kristw commented Aug 17, 2018

LGTM

@williaster williaster merged commit 3d15d91 into apache:master Aug 18, 2018
@williaster williaster deleted the chris--transient-sqllab-state-warning branch August 18, 2018 00:45
kristw pushed a commit to kristw/incubator-superset that referenced this pull request Aug 20, 2018
wenchma pushed a commit to wenchma/incubator-superset that referenced this pull request Nov 16, 2018
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.28.0 labels Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.28.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants