desmos-labs/mooncake

Improve the account details page

Opened this issue · 0 comments

Feature description

Currently, if we browse inside an account page we can only see the posts that they made and have already been loaded inside the home page. This is because the account details page is using the same Bloc as the home page.

However, this makes it extremely painful to see older messages from that user since scrolling down the pages makes the application load new home posts even if they do not contain any message from the user itself.

Implementation proposal

In order to fix this problem, what I suggest we can do is implementing a new Bloc only for the account details page. This would separate the behaviour of the account page and the home page, allowing us to load only the posts that have been created by a specific user with a custom GraphQL query.