Daily Development Update: hReplier Detail Page UX and Reply Flow Enhancements

in HiveDevs8 days ago

▶️ Watch on 3Speak


hReplier App (Detail Pages)

API Reliability: Endpoint Warning System

  • feat(detail): warn user to switch API endpoint when post/parent body fails to load.
  • Introduced reusable EndpointWarning banner:
    • Displays current Hive API endpoint.
  • Added “Change endpoint” action:
    • Navigates user to Settings (#/settings).
  • Failure detection includes:
    • Missing post data
    • Empty post body
    • Parent content load failure
    • API fetch errors
  • Prevented false positives:
    • Specifically handled depth-0 reply notifications correctly.
  • Integrated across:
    • Incoming Replies
    • Outgoing Replies
    • Bookmarks
    • Notification detail pages
  • Outcome:
    • Improved user awareness when API nodes return incomplete data
    • Reduced confusion caused by missing content

Endpoint Warning Banner
Endpoint Warning Banner

Change Endpoint Action in Settings
Change Endpoint Action in Settings


Reply Flow Enhancement: Inline Composer with Voting

  • feat(detail): inline parent reply composer with vote and outside-click close.
  • Added InlineReplyComposer:
    • Starts as “Reply to @author” button
    • Expands into full composer on interaction
  • Integrated voting controls:
    • Vote slider
    • Upvote
    • Upvote & Reply
    • Post Reply
  • Smart visibility logic:
    • Hides voting controls if user has already upvoted (based on active_votes)
    • Shows composer only for:
      • Parent posts
      • Grandparent posts
    • Not shown for:
      • Main post
      • Child replies
  • UX improvements:
    • Outside-click closes composer
    • Safeguards added for portal-based components (Radix, Tippy, emoji pickers)
    • Prevents auto-close during submission
  • Technical improvement:
    • Uses direct comment API call
    • Prevents parent notification from being archived on reply

Inline Reply Composer Collapsed State
Inline Reply Composer Collapsed State

Expanded Composer with Vote Options
Expanded Composer with Vote Options


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 140000 upvotes.
Your next target is to reach 150000 upvotes.

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 0.854 HIVE and 0.000 HBD, because there are no comments to reward.