Daily Development Update: hSnaps Navigation Improvements and Feed State Persistence

Words
298
Reading
2 min
Listen
Play
4M


hSnaps App

Navigation Improvements

  • feat(navigation): add Home entry, fix active states, and improve back navigation.
  • Added "Home" menu item in the sidebar:
    • Includes active highlighting for all dashboard feeds.
  • Applied consistent route-aware active styling across all drawer items.
  • Fixed feed tab highlighting:
    • Now activates only on /dashboard.
  • Improved back navigation on static pages.
  • Resolved AuthContext decrypt error:
    • Cleared stale storage to prevent invalid session issues.

Sidebar with Home Active State
Sidebar with Home Active State

Correct Tab Highlighting on Dashboard - Dashboard Ecency
Correct Tab Highlighting on Dashboard - Dashboard Ecency


Feed UX and State Persistence

Pagination and Scroll Preservation

  • feat(feed): preserve pagination/scroll and fix media popup interactions.
  • Preserved feed pagination:
    • Skips unnecessary refetch when returning to feed.
  • Added per-feed scroll position persistence:
    • Restores exact scroll position on navigation return.

Media Interaction Fixes

  • Fixed modal click-through issues:
    • Applied proper event handling for video and image popups.
  • Improved mobile media experience:
    • Added safe-area padding
    • Ensured visible close button
    • Introduced darker backdrop for better focus
Restored Scroll Position Example

Step 1 - Open any post from Dashboard
Open any post from Dashboard

Step 2 - Detail Post Preview
Detail Post Preview

Step 3 - Get Back to the Same Post in Dashboard
Get Back to the Same Post in Dashboard

Media Popup with Improved UX

Image Popup with Improved UX
Image Popup with Improved UX

Video Popup with Improved UX
Video Popup with Improved UX


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
HiveSuite AppVote as WitnessSupport via Discord

▶️ 3Speak

Daily Development Update: hSnaps Navigation Improvements and Feed S... | Ecency