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

feat: Detect users that could not be listed on federated backends #14923

Merged
merged 5 commits into from
Mar 29, 2023

Conversation

atomrc
Copy link
Contributor

@atomrc atomrc commented Mar 28, 2023

This will add some PlaceholderUser in the live user list that will account for users that could not be fetched on backend (because of federation backend failure).

This has no UI changes yet, a follow up PR will start showing those PlaceholderUser


import {User} from './User';

export class PlaceholderUser extends User {
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 class is not consumed yet but will be used in the UI to switch rendering when dealing with a placeholder

@atomrc atomrc marked this pull request as ready for review March 28, 2023 14:22
@atomrc atomrc requested review from a team and otto-the-bot as code owners March 28, 2023 14:22
@codecov
Copy link

codecov bot commented Mar 28, 2023

Codecov Report

Merging #14923 (4c7873a) into dev (6b09a0e) will increase coverage by 0.00%.
The diff coverage is 50.00%.

@@           Coverage Diff           @@
##              dev   #14923   +/-   ##
=======================================
  Coverage   42.94%   42.94%           
=======================================
  Files         624      625    +1     
  Lines       21299    21315   +16     
  Branches     4895     4897    +2     
=======================================
+ Hits         9146     9153    +7     
- Misses      10986    10995    +9     
  Partials     1167     1167           

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

Successfully merging this pull request may close these issues.

None yet

3 participants