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

Don't show error toast when dataset sharing token could not be acquired #6279

Merged
merged 2 commits into from
Jun 15, 2022

Conversation

philippotto
Copy link
Member

@philippotto philippotto commented Jun 15, 2022

URL of deployed dev instance (used for testing):

  • https://___.webknossos.xyz

Steps to test:

  • I did the following locally:
    • set isDemoInstance = true
    • make one DS public and copy link
    • log out
    • register with new account
    • log in and open DS link
    • without this commit an error toast is shown; with this commit it's fixed

Issues:

  • This fixes a regression caused by 193f39d

(Please delete unneeded items, merge only when none are left open)

  • Updated (unreleased) changelog the old changelog entry should describe it sufficiently 😅
  • Ready for review

@philippotto philippotto self-assigned this Jun 15, 2022
@philippotto philippotto requested a review from daniel-wer June 15, 2022 12:27
@philippotto philippotto enabled auto-merge (squash) June 15, 2022 13:15
@philippotto philippotto merged commit bacfd85 into master Jun 15, 2022
@philippotto philippotto deleted the hide-error-toast-sharing branch June 15, 2022 13:46
philippotto added a commit that referenced this pull request Jun 16, 2022
philippotto added a commit that referenced this pull request Jun 16, 2022
* Fix broken context menu in dataset-view-mode when no segmentation layer is visible (#6259)

* fix broken context menu in dataset-view-mode when no segmentation layer is visible

* update changelog

* Fix benign error toast for public annotations and other improvements (#6271)

* make modals lazy; don't show error toast when fetching token or teams failed; fix padding of share button

* update changelog

* rename makeModalLazy to makeComponentLazy; improve its typings and also use it for the ShareModalView, UserScriptsModal and MergeModalView

* improve typing

* don't try to fetch teams or token in sharing modal when not logged in

* don't show error toast when dataset sharing token could not be acquired (#6279)

Co-authored-by: Daniel <[email protected]>

* update changelog for 22.06.1

Co-authored-by: Daniel <[email protected]>
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.

2 participants