damus-io / damus

iOS nostr client
GNU General Public License v3.0
1.97k stars 289 forks source link

Dev mode: show note sent to x/y relays UI feedback #2117

Open alltheseas opened 3 months ago

alltheseas commented 3 months ago

user story

As a Damus user who has sent a note and who is interested in seeing more details, I would like to see that my note was sent to X/Y relays, so that I can better get a feel for nostr and relays.

acceptance criteria

  1. Only if dev mode is on, show me upon posting a note feedback UI how many relays it was successfully sent to, and to how many relays a send attempt was made X/Y

pre-requisite

Builds on note posted successfully UI feedback

https://github.com/damus-io/damus/issues/2083

robagreda commented 3 months ago

image Does this design resolves this issue @alltheseas @jb55 @ericholguin ?

https://www.figma.com/file/ORaT1T0Ywfbm0sIjwy5Rgq/Damus-iOS?type=design&node-id=4316-32658&mode=design&t=ttjIkKW1lLHxvW2H-4

The idea is that if you tap the little Info icon, we display to which relays the note has been posted to, but also to see which relays the note didn't reach with its number of attempts.

let me know!

alltheseas commented 3 months ago

Yeah the concept is the right one Rob.

As a layperson when I see a progress bar I have an expectation that the progress will become 100%.

A while back Joel has proposed a grid of dots that shows relay status. https://github.com/damus-io/damus/pull/713

Does this give you any alternate approach ideas @robagreda ?