damus-io / damus

iOS nostr client
GNU General Public License v3.0
1.99k stars 288 forks source link

Design request: loading/in queue #2283

Open alltheseas opened 3 months ago

alltheseas commented 3 months ago

context

Sometimes I see in a note nostr:npub123 words and nostr dot build image dot jpg without rendering.

After a few moments of scrolling on my feed, these npub and image artifacts render.

Currently Damus does not display a "loading" state to the user, and the user can leave with the impression that damus is not successfully loading notes.

suggestion

Design a fun Damus static image that displays e.g. "Da-moose is searching for your note."

Not sure if animated Da-moose will be to much.

alltheseas commented 3 months ago

This happens 1% of the time to me

alltheseas commented 3 months ago

There is also a loading state during boot-up. It becomes more apparent during poor mobile connection

image

image

jb55 commented 3 months ago

nostrdb local relay model fixes this, we parse the note before returning it from a subscription

alltheseas commented 3 months ago

nostrdb local relay model fixes this, we parse the note before returning it from a subscription

Wen nostrdb 😅

One more example

image

alltheseas commented 3 months ago

Today experienced on slow mobile: 1) mute list loading significantly later than notes from muted users. Said notes displayed for tens of seconds, then disappeared 2) replied to a post that seemed to have no other replies, only to see five replies after posting

alltheseas commented 3 months ago

What do yall think: replace standard iOS load animation with spinning damoose 👀

https://github.com/damus-io/damus/assets/64376233/884b4f83-5ce6-4c27-9c77-bf137e5ebc70

image

alltheseas commented 2 months ago

Report of unclear backend loading

https://damus.io/nevent1qqsx8gxf5hfyyrxyr3qcma7390hehhruq87hqfkscdcr30q8vyj8twgpz4mhxue69uhk2er9dchxummnw3ezumrpdejqzxrhwden5te0wfjkccte9ecx7um5v4ezuurvv93k2qgswaehxw309ahx7um5wgh8w6twv5q3camnwvaz7tmwdaehgu3wd46hg6tw09mkzmrvv46zucm0d5yhu3y2

alltheseas commented 2 months ago

On poor internet, it takes over 20 seconds to load a profile. No loading mechanism can leave the user confused

https://github.com/user-attachments/assets/3c4f6829-5e91-44d9-9532-cd8becccc0a3

alltheseas commented 2 months ago

For your consideration ser @ericholguin