Lemmy: Add some form of "loading" indicator for buttons for delete, remove, etc.

Created on 7 Feb 2020  路  6Comments  路  Source: LemmyNet/lemmy

When you click on the buttons for delete, remove, etc at the bottom a post or comment, there is no feedback while the operation goes out to the API, which could take seconds on a slow connection. This has made me think that the click didn't go through before, prompting re-clicks which I imagine can cause problems. There should be a loading indicator while these operations are in progress.

The same is true for editing comments, which just closes the textbox on submitting and eventually changes the displayed comment. The edit prompt for posts are fine and actually show a loading indicator on the submit button.

good first issue

Most helpful comment

Can I take a crack at this?

All 6 comments

Sounds like a good first issue.

@dessalines you need to label it then ;)

Can I take a crack at this?

Sure thing, just look at the other loading indicator examples in the code, should be straightforward.

Also as part of this ticket, try to get comment loading indicators working. This has actually been pretty difficult.

This isn't really necessary any more, with the increased DB speed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

juliangaal picture juliangaal  路  3Comments

boehs picture boehs  路  5Comments

chovy picture chovy  路  5Comments

Nutomic picture Nutomic  路  5Comments

mateMathieu picture mateMathieu  路  6Comments