Daily Development Update: hSnaps Navigation Improvements and Feed State Persistence

in HiveDevs10 days ago

▶️ Watch on 3Speak


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

▶️ 3Speak

Sort:  

This post has been manually curated by @bhattg from Indiaunited community. Join us on our Discord Server.

Do you know that you can earn a passive income by delegating to @indiaunited. We share more than 100 % of the curation rewards with the delegators in the form of IUC tokens.

Here are some handy links for delegations: 100HP, 250HP, 500HP, 1000HP.

image.png

100% of the rewards from this comment goes to the curator for their manual curation efforts. Please encourage the curator @bhattg by upvoting this comment and support the community by voting the posts made by @indiaunited.

@indiaunited & @bhattg thank you so much for curation based support

Lots of love.

GIF

via Apps from

Excellent, supporting your great work and timely updates

via Apps from

@katriel1 thank you
Onwards & Upwards.
We keep working.

via Apps from

Update: @sagarkothari88, I paid out 0.824 HIVE and 0.000 HBD to reward 1 comments in this discussion thread.