Why Nostr? What is Njump?
hzrd149
npub1ye5…knpr
2023-09-29 16:58:17

hzrd149 on Nostr: Got another #noStrudel update, a few new things and a performance improvement. 1. ...

Got another #noStrudel update, a few new things and a performance improvement.

1. Added the ability to temporary mute a user. It works like every other mute but after the selected amount of time it will prompt you to unmute them.
Its a little clunky at the moment and only give you the option to "unmute all"


2. Added a basic stream moderation view that shows all users in the chat and zaps. It also works with the temporary mute feature so you should be able to mute a user for a few minutes ( although it wont automatically unmute yet )


3. Added a read-only community tab. its incomplete but ive got plans to add more feature in the future.


4. Also image uploads using nostr.build (npub1nxy…avr7) and a popular relays view.

Although the thing im most excited about and the reason Im making this release is the performance improvement when switching between the note feed and the gallery feed. you can see an example of it here
It is soooo satisfying when you finally fix a performance issue 😁

There's been a performance issue in #noStrudel for a long time now. if you navigate back to the main timeline view it would freeze up while it tried to render the whole cached timeline. It made the client almost unusable on mobile.
Here is an example where you can see its all jerky and the browser is struggling


Well 100 lines of code later and now it only loads the first few notes when you navigate back the main timeline


The only downside is it no longer works with scroll restoration. so when you navigate into a thread and then back It will start at the top instead of where you left off.
Its a small price to pay for performance though 😃

If you want to test it out these changes are only in the alpha version. I have to make sure I didn't break anything


As always you can get client at https://nostrudel.ninja
Author Public Key
npub1ye5ptcxfyyxl5vjvdjar2ua3f0hynkjzpx552mu5snj3qmx5pzjscpknpr