Daily Development Update: hSnaps Settings, Feed Routing, and Performance Enhancements

in HiveDevs7 days ago

▶️ Watch on 3Speak


hSnaps App

Settings and Composer Enhancements

  • feat(settings,composer): default reward, mobile UX fixes, and reply improvements.
  • Persisted default reward setting:
    • Applied across feed and post detail composers.
  • Integrated defaultReward:
    • Used in both comment and vote + comment broadcast flows.
  • Improved mobile composer UX:
    • Better keyboard handling
    • Fixed scroll behavior
    • Layout optimizations
  • Additional improvements:
    • Added guest reply guard
    • Implemented Android back-button handling
    • Removed app badge (kept footer strip for clarity)

Default Reward Set from Settings Menu
Default Reward Set from Settings Menu

Composer with Default Reward Applied
Composer with Default Reward Applied

Mobile Composer UX Improvement
Mobile Composer UX Improvement


Feed Enhancements: Routing and Media Playback

  • feat(feed): internal link routing, pagination persistence, and YouTube inline playback.
  • Intercepted external Hive links:
    • Routed internally using /@author/permlink.
  • Preserved feed pagination:
    • Avoids reset to page 1 on mobile remount.
  • Enabled in-app YouTube playback:
    • Replaced links/iframes with inline embeds.
  • Removed forced native YouTube redirects:
    • Ensures consistent playback experience.

Internal Link Navigation Example
Internal Link Navigation Example

Inline YouTube Playback in Feed
Inline YouTube Playback in Feed


Sharing Fixes and My Feed Optimization

  • fix(share) & feat(my_feed): route profile shares in-app and optimize My Feed pagination.
  • Fixed profile post sharing:
    • Now uses hSnaps URLs instead of peakd fallback.
  • Converted supporter links:
    • Routed internally using /@user format.
  • Updated navigation:
    • Landing and settings links remain within the app.
  • My Feed improvements:
    • Implemented direct fetch via hReplier API with cached references.
    • Added 10 items per page scroll pagination with:
      • hasMore
      • loadMore
  • Removed inefficient multi-container paging.
  • Improved performance:
    • Faster loading
    • Instant re-entry via caching

My Feed Pagination UI
My Feed Pagination UI


Powering the Hive Ecosystem

  • Continuously improving Hive applications with a focus on stability, performance, and scalability
  • Contributing to open-source development and building reusable solutions for the community
  • Working towards a stronger, more accessible, and feature-rich Hive ecosystem

Final Note

  • This post has been refined with the help of AI to improve readability and structure
  • The original content and optimised version are both available for reference

More Links

▶️ 3Speak

Sort:  

Congratulations @sagarkothari88! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)

You received more than 50000 HP as payout for your posts, comments and curation.
Your next payout target is 52000 HP.
The unit is Hive Power equivalent because post and comment rewards can be split into HP and HBD

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

@sagarkothari88, I'm refunding 1.058 HIVE and 0.000 HBD, because there are no comments to reward.