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

hackweek: use isLoading from useMutations for loading indicator in delete modal #3008

Merged

Conversation

patosullivan
Copy link
Member

Fixes LAND-1173

Note the todos related to DMs.

Copy link

linear bot commented Nov 15, 2023

LAND-1173 all channels: missing "delete" progress spinner

Noticed a regression from the current production channel behavior - we show a spinner immediately when the user clicks "Delete" when confirming the deletion of a chat message, gallery block, or notebook note. This is to provide instantaneous feedback and let them know the system is doing something. We seem to have dropped this feedback mechanism during the refactor.

Steps to reproduce:

  1. Go to a channel of any type for which you have delete access.
  2. Delete an item.
  3. Confirm its deletion.
  4. Observe the lack of a spinner and the abrupt transition from "click" to "hang" to "deleted."

Screen Recording 2023-11-12 at 7.49.53 PM.mov

Copy link
Member

@arthyn arthyn left a comment

Choose a reason for hiding this comment

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

lgtm

@patosullivan patosullivan merged commit 3d929e1 into hm/hackweek Nov 17, 2023
1 check passed
@patosullivan patosullivan deleted the po/land-1173-show-loading-spinner-on-post-deletions branch November 17, 2023 15:33
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