Daily Development Update: Distriator Review System and User Management Enhancements

in HiveDevs11 days ago

▶️ Watch on 3Speak


Distriator Backend (distrion-backend)

Review Questionnaire Update

  • Updated review questionnaire for detailed reviews.
  • Improved structure to capture more meaningful user feedback.

User Management: Auto-Approve and Flag Propagation

  • feat(manage-users): add auto-approve toggle and flag propagation across collections.
  • Added flag/unflag APIs:
    • Toggle requiresManualApproval for:
      • Users
      • Business Owners
      • Guides
  • Introduced shared helper:
    • Propagates flag state across all related collections:
      • User
      • Guide
      • BusinessOwner
  • Fixed reward auto-approval logic:
    • Now checks flag status across all collections instead of a single role.
  • API enhancements:
    • Included requiresManualApproval field in list APIs.
    • Trigger Discord alerts when flag status changes.

Admin Flag Toggle Backend Flow

Flag user Api docs

Unflag user Api docs


Distriator Frontend

Review System Improvements

  • fix(reviews): increase validation thresholds and add image fallback.
  • Updated validation rules:
    • Minimum 30 characters for answers
    • Minimum 40 characters for main review
  • Ensured:
    • Validation messages
    • Character counters
    • Submit button states
      remain fully synchronized with new thresholds.
  • Media handling improvements:
    • Added image proxy fallback using stripHiveImageProxy in review preview modal.
    • Prevented infinite retry loops.
    • Ensured proper reset when navigating images.

Review Validation UI with Counters
Review Validation UI with Counters

Image Fallback in Review Preview
Image Fallback in Review Preview


User Management UI Enhancements

  • feat(manage-users): add Auto Approve toggle with full UI integration.
  • Replaced flag button with Auto Approve toggle (ON/OFF).
  • Extended role types and UI state to support requiresManualApproval.
  • Integrated APIs:
    • Connected flag/unflag endpoints with optimistic UI updates.
    • Added confirmation dialog for better control.
  • UI improvements:
    • Stacked action layout for better readability.
    • Mobile dropdown support for improved responsiveness.

Auto Approve Toggle in User Management UI

image.png


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:  

It's good to see that work is still ongoing to improve distriator for users and businesses

Thank you @kachy2022
Also try our latest app - https://hivesuite.app & share feedback if you have any

via Apps from

i think it is a very good move to increase character limits to ensure reviews are more detailed and useful

@solorzanot thank you
We'll keep up the good work.
I suggest you to try our app https://hivesuite.app & share us feedback.

via Apps from

Distriator... I need to get myself informed about it as cashback can be a gamechanger.

@hivepulse.app you can talk to @starkerz about adding new businesses.

via Apps from

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