Skip to content

Conversation

smeijer
Copy link
Member

@smeijer smeijer commented Oct 9, 2020

What:
Instead of showing a message: this share url doesn't reflect the current state!!111, we now make sure that it does.

Why:
Till now, we were warning the user when they try get a share link for an unsaved playground. Why not just save it for them though? In 99% of all cases, users want to share the current state.

How:
When the share modal opens, it's checking for a dirty state. When that's the case, it will render a spinner, and trigger the save action. Once the playground has been saved, it will render the share url.

Checklist:

  • Tests
  • Ready to be merged

@smeijer smeijer added the feature New feature or request label Oct 9, 2020
@smeijer smeijer self-assigned this Oct 9, 2020
@smeijer smeijer merged commit 4797e03 into develop Oct 9, 2020
@smeijer smeijer deleted the feature/improve-sharing branch October 9, 2020 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant