Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Add spinner in UserMenu to list pending long running actions #6085

Merged
merged 6 commits into from
May 25, 2021

Conversation

germain-gg
Copy link
Contributor

@germain-gg germain-gg commented May 24, 2021

Fixes element-hq/element-web#15451

A couple of components were migrated to TypeScript along the way too.

Screen Shot 2021-05-24 at 15 04 24

Following @niquewoodhouse and @nadonomy work on the design it was decided to implement a spinner on the User Menu to notify of any long running actions that could be occuring.
Below is a non exhaustive list of things that could trigger this spinner too

  • downloading keys
  • indexing rooms
  • ...

@germain-gg germain-gg requested review from a team May 24, 2021 14:11
Copy link
Collaborator

@jryans jryans left a comment

Choose a reason for hiding this comment

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

This great code wise overall, just a few small things to tweak with the TS conversion.

Some further thoughts on our TS code style are in this doc, in case you haven't seen it yet.

src/components/views/elements/TooltipButton.tsx Outdated Show resolved Hide resolved
src/components/views/elements/TooltipButton.tsx Outdated Show resolved Hide resolved
@germain-gg germain-gg requested a review from jryans May 24, 2021 15:41
Copy link
Collaborator

@jryans jryans left a comment

Choose a reason for hiding this comment

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

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When joining a room, it should be in the room list
3 participants