Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Sidebar channels list rendering multiple times #328

Copy link
Copy link
@rodrigods

Description

@rodrigods
Issue body actions

https://github.com/buddycloud/webclient/blob/dev-candy/js/app/views/sidebar/Channels.js#L165

Channels view tries to fetch metadata from every followed channel, it's possible the data to not be already at the database (error event is triggered), and it's possible that the server triggers an error as well.

There are three possible situations:

  • All requests succeeds eventually (already from db, or after a db error)
  • Some requests fail (error at db and error at server) and some requests succeed (success at db, or error at db and success at server)
  • All requests fail (db AND server)

Right now, the view tries to render after every metadata request.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.