coracle icon indicating copy to clipboard operation
coracle copied to clipboard

Improve submission status for new responses

Open dtonon opened this issue 1 year ago • 1 comments

Following up #233 (Replies don't show up immediately) I propose a new UI to show the posting/posted status of a note. The note is placed in the correct position on the thread and the bottom bar is replaced with a loading animated component:

Screenshot 2024-01-15 alle 21 16 21

After the submission procedure ends the summary is displayed on the same bar, on the left a buttons permit to see the details (current bottom sheet modal):

Screenshot 2024-01-15 alle 21 23 03

The bar can be replaced after a certain amount of time (ex. 30 seconds) or if the note receives an event (reply, reaction, zap).

dtonon avatar Jan 15 '24 20:01 dtonon

We should probably add the case of an unsuccessful submission (e.g. network error) or one with a high percentage of missing relays, giving the user the option of retrying the submission with a click.

dtonon avatar Jan 15 '24 20:01 dtonon