Skip to content

feat(admin): implement hub settings page and React Query integration#1421

Closed
mijinummi wants to merge 2 commits into
DistinctCodes:mainfrom
mijinummi:feat/admin-settings
Closed

feat(admin): implement hub settings page and React Query integration#1421
mijinummi wants to merge 2 commits into
DistinctCodes:mainfrom
mijinummi:feat/admin-settings

Conversation

@mijinummi

Copy link
Copy Markdown
Contributor

🧪 QA: Admin Hub Settings Page UI Testing Guide (#1300)

Closes #1300

Description

This PR introduces the official UI Manual Testing Guide for the Admin Hub Settings page (/admin/settings), covering Issue #1300. It outlines a structured, step-by-step test plan designed to verify operational controls across all 5 tabbed sections (General, Booking Rules, Business Hours, Financial, and Branding).


Test Coverage Summary

  • Access & Navigation: Authorization checks and default state loading on /admin/settings.
  • General Tab: Input verification and payload accuracy for basic hub contact details.
  • Booking Rules Tab: Numeric bound validations for lead time, max days ahead, and cancellation windows.
  • Business Hours Tab:
    • Verification of 30-minute interval constraints across open/close time pickers.
    • Verification of day-level "Closed" toggles disabling input pickers.
  • Financial Tab: Read-only validation for currency (NGN) and percentage inputs for VAT.
  • Branding Tab: Synchronization between hex text inputs and color picker UI controls.
  • Error & Edge Cases: Graceful fallback handling on network failures (500 status) and invalid field submissions.

Verification Strategy

Reviewers and QA engineers should use the steps outlined in the test guide document to manually validate:

  1. Isolated section payload delivery (PATCH /hub-settings containing only active tab keys).
  2. Toast feedback behavior on HTTP 200 success vs. 4xx/5xx error responses.
  3. State persistence upon browser refresh.

Related Resources & Dependencies

@vercel

vercel Bot commented Jul 21, 2026

Copy link
Copy Markdown

@mijinummi is attempting to deploy a commit to the naijabuz's projects Team on Vercel.

A member of the Team first needs to authorize it.

@yusuftomilola yusuftomilola left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mijinummi Kindly fix CI not passing

@mijinummi

Copy link
Copy Markdown
Contributor Author

Alright sir, on it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FE-42] Admin hub settings page (/admin/settings)

2 participants