damus icon indicating copy to clipboard operation
damus copied to clipboard

Confirmation dialogue / UI "your note has been posted"

Open alltheseas opened this issue 11 months ago • 19 comments

context

Sometimes when I submit post a note, the Damus UI makes it unclear that my note was posted. I have to go back and view my own profile to double check that my own note was posted.

Screenshot 2024-03-21 at 12 06 52 PM

https://damus.io/note1due7xq4qyyl6gs0cjca556eptd5zqfu857qx83mq4pvvtegm4kls9t23lm

user story

As a Damus social media poster, I would like to see a pop-up confirmation "your note has been posted" when my note has been posted, so that I can have greater confidence my note was published to nostr.

acceptance criteria

  1. Damus tracks if note has been posted immediately post button, and
  2. If note has been posted, a pop-up (or other UI mechanism) signifies "your note has been posted".

Related

NWC paste string confirmation https://github.com/damus-io/damus/issues/1775 For muted conversation https://github.com/damus-io/damus/issues/1626 Image saved https://github.com/damus-io/damus/issues/1463 User muted https://github.com/damus-io/damus/issues/2084 (duplicate https://github.com/damus-io/damus/issues/1432) Keyword muted https://github.com/damus-io/damus/issues/2085 DM Sent https://github.com/damus-io/damus/issues/2086

alltheseas avatar Mar 20 '24 12:03 alltheseas

@robagreda ser here is a collection of confirmation dialogue tickets 💜

alltheseas avatar Mar 20 '24 14:03 alltheseas

@jb55 I will add this to 1.8 post Madeira milestone, as I see milestone as collections of multiple (two or more) sprints. Note posting is probably the most frequent action from the list above. We can tackle the rest of the confirmation dialogues bit by bit.

alltheseas avatar Mar 20 '24 15:03 alltheseas

cc @danieldaquino @ericholguin

alltheseas avatar Mar 20 '24 15:03 alltheseas

what other social network has this? Personally I think it’s a bit much.


From: alltheseas @.> Sent: Wednesday, March 20, 2024 9:38:07 AM To: damus-io/damus @.> Cc: Eric Holguin @.>; Mention @.> Subject: Re: [damus-io/damus] Confirmation dialogue / UI "your note has been posted" (Issue #2083)

@jb55https://github.com/jb55 I will add this to 1.8 post Madeira milestone, as I see milestone as collections of multiple (two or more) sprints. Note posting is probably the most frequent action from the list above. We can tackle the rest of the confirmation dialogues bit by bit.

— Reply to this email directly, view it on GitHubhttps://github.com/damus-io/damus/issues/2083#issuecomment-2009849203, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADK27JEDSW4RXIHPYPIKVA3YZGUN7AVCNFSM6AAAAABE7K6YMGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBZHA2DSMRQGM. You are receiving this because you were mentioned.Message ID: @.***>

ericholguin avatar Mar 20 '24 15:03 ericholguin

what other social network has this? Personally I think it’s a bit much.

Good question. Conversation started here, and it was centered around @karnagebitcoin idea of reducing anxiety. Specifically, post (any) action, including "post" there is no feedback that the action succeeded.

https://damus.io/nevent1qqsqfwmyv32xalewtpw4d37hu6wngf9vcs4a6y766v5ty6dfjx685ksprpmhxue69uhhwetvvdhk6efwdehhxarj9emkjmn9qy2hwumn8ghj7un9d3shjtnyv9kh2uewd9hj7qgswaehxw309ahx7um5wgh8w6twv5qs6amnwvaz7tmwdaejumr0dsqf33au

alltheseas avatar Mar 20 '24 15:03 alltheseas

@ericholguin maybe a quick toast could be nice, maybe use haptics too! I can design something for this :) in the technical side, do you think require lots of work?

robagreda avatar Mar 20 '24 16:03 robagreda

@ericholguin

what other social network has this? Personally I think it’s a bit much. twitter-toast

twitter?

jb55 avatar Mar 21 '24 08:03 jb55

@robagreda:

@ericholguin maybe a quick toast could be nice, maybe use haptics too! I can design something for this :) in the technical side, do you think require lots of work?

keep in mind that there is no singular "success" state, each relay can return success or fail. Ideally it would be a toast with a circular or linear progress bar showing the number of successful sends out of all your relays

jb55 avatar Mar 21 '24 08:03 jb55

As long as it's brief and doesn't take more than a second to show. If you show the actual progress as animated - people will get annoyed. Found out in Snort.

karnagebitcoin avatar Mar 23 '24 00:03 karnagebitcoin

On Fri, Mar 22, 2024 at 05:22:04PM -0700, Karnage wrote:

As long as it's brief and doesn't take more than a second to show. If you show the actual progress as animated - people will get annoyed. Found out in Snort.

yes it would have a fixed lifetime of probably ~3 seconds?

jb55 avatar Mar 23 '24 07:03 jb55

@alltheseas Coracle shows how many relays a note was sent to and how many failed. It's minimal, and kind of works.. but can also feel a bit technical and a bit annoying. I guess you have to use the client for a while to get used to it.

Maybe it could say "sent 5/8" or something along those lines? Then if you tap on the notice, you could see details of which relays failed to be published to?

I have a feeling this would get 50/50 positive / negative feedback from users and more helpful to those who already use nostr regularly vs. new and newish users who will just wonder what that means.

Side note: I was browsing Mona (a desktop client for Mastodon) and it was confusing as hell. They have all sorts of weird concepts that are just overwhelming. I guess my concern is that the number of relays being sent to could add to this feeling when people use Damus. Just something to keep in mind. Who knows... maybe no note posted confirmation is fine? Do they really need to see which relays fail every time they post?

Another side thought: What if your relays in settings just show how many notes have been sent to them, and how many times they failed to see your note? Maybe that would be useful and less intrusive 🤔

karnagebitcoin avatar Apr 01 '24 13:04 karnagebitcoin

On Mon, Apr 01, 2024 at 06:59:02AM -0700, Karnage wrote:

@alltheseas Coracle shows how many relays a note was sent to and how many failed. It's minimal, and kind of works.. but can also feel a bit technical and a bit annoying. I guess you have to use the client for a while to get used to it.

Yeah maybe we can just show a simple "Sent" on the first successful note, the 5/8 detail is interesting for nerds but maybe not that interesting for most people, especially since damus will keep retrying for the others over time in the background anyways.

jb55 avatar Apr 01 '24 15:04 jb55

Maybe 5/8 can be a dev mode feature.

This outside the scope of this ticket. Can create a new one, and tag previous related PRs and suggestions.

alltheseas avatar Apr 01 '24 15:04 alltheseas

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

alltheseas avatar Apr 01 '24 15:04 alltheseas

Some variations here using the Damus figma file:

  1. Bottom (design you already had)
  2. Top with checkmark - my variation
  3. Top without checkmark
  4. Dark mode versions

The idea there is to be able to click on the number of successful relays and maybe see a bottom card showing all the relays the note was accepted in.

CleanShot 2024-04-04 at 10 38 56@2x

karnagebitcoin avatar Apr 04 '24 01:04 karnagebitcoin

Current behavior is a black hole (of no feedback) post post.

https://github.com/damus-io/damus/assets/64376233/997e0426-d0a3-45c9-9edb-f10032f6c608

alltheseas avatar Jul 03 '24 10:07 alltheseas

Similar to what Karnage designed, I am thinking we can do that way for sure with a little change of copy and shadow!

image

robagreda avatar Jul 08 '24 21:07 robagreda

nice, looks good!

jb55 avatar Jul 08 '24 23:07 jb55

nice, looks good!

jb55 avatar Jul 08 '24 23:07 jb55