steemit / condenser

The greatest application front-end to the Steem Blockchain.
https://steemit.com
505 stars 429 forks source link

Im xxx improve loading and empty states #3684

Closed gl2748 closed 4 years ago

gl2748 commented 4 years ago

Fixes - When loading an index of posts at /trending/my for example there is a flash of SSR content indicating that the logged in user has not subscribed to any community:

Before.

Screen Shot 2020-01-23 at 10 56 33 AM

Before.

Fixes - When logging out of the site, at /trending/my for example, the list of 'My subscriptions' remains visible until the user refreshes the page.

Screen Shot 2020-01-23 at 10 57 49 AM

Fixes - When logging in/out at /trending/my , the list of posts from subscribed communities is not updating.

gl2748 commented 4 years ago

also closes #3667,

Other bugs addressed:

As an unauthenticated user, visiting the communities exploration page at: /communities and clicking the subscribe button for a community - I am prompted to login, after logging in, the subscribe action fails.

As an unauthenticated user, when i visit a community page, e.g. /trending/hive-100421 I only see the 'new post' button, as an unauthenticated user this is perhaps not a useful action, perhaps 'subscribe' would be better, with the user being prompted to login / create an account.