Skip to content

Sidebar channels list rendering multiple times #328

@rodrigods

Description

@rodrigods

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