Provider guide

Provider public profile tutorial

This tutorial explains the public provider page: profile hero, portfolio gallery, website and Instagram links, review eligibility, review submission/editing, and image lightbox.

Public profile Portfolio Reviews Lightbox
Provider public page · /provider/[id]
Page overview
Public profile for a service provider
01
Provider API — loads provider details from the provider id in the route.
Close Window — top button closes the current window, useful when opened from another dashboard tab.
Hero card — shows profile image/initial, category, name, experience, rating, bio, and links.
Portfolio — optional gallery appears when provider.gallery has images.
Stats — shows jobs completed, operator count, and review count.
Reviews — customers with eligible bookings can leave a review; existing reviews are listed below.
Purpose: This page is the trust-building public profile operators and customers use to assess a provider.
What you see
H
Catering
Harbour Kitchen
8 years experience
★★★★★
4.8(24 reviews)
Premium canapé and seafood catering for private harbour charters.
42
Jobs done
7
Operators
24
Reviews
Provider public page · Hero card
Hero profile card
Provider identity, category, experience, rating, and bio
02
Profile image — uses provider image filename if available.
Fallback avatar — if there is no image, the first letter of the provider name is shown.
Category — uppercase label above the provider name.
Name — large Playfair Display heading.
Experience — shown only when years_experience exists.
Rating row — shown only when average rating exists; stars are rounded from avg_rating.
Bio — shown when provider.bio exists.
Hero card
P
Photography
Pixel Harbour
5 years experience
★★★★
4.2(9 reviews)
Event photographer experienced in harbour cruises, proposals, corporate events, and sunset shoots.
Provider public page · Stats row
Provider performance stats
Jobs, operators, and reviews summary
05
Jobs done — displays provider.jobs_completed.
Operators — displays provider.operators_count.
Reviews — only appears when total_reviews is greater than zero.
Visual separation — thin dividers separate each stat item.
Trust signal: These numbers help operators judge whether a provider has marketplace history.
Stats row
42
Jobs done
7
Operators
24
Reviews
Provider public page · Customer review form
Leave a review
Only eligible customers can submit a review
06
Eligibility check — page checks if the current user is a customer and has bookings with this provider.
Booking selector — appears when customer has more than one eligible booking.
Auto-select booking — if exactly one eligible booking exists, it is selected automatically.
Interactive stars — customer clicks 1–5 stars to set rating.
Comment — optional textarea for experience feedback.
Validation — rating and booking are required before submission.
Success — after submit, review is added to local list and success message appears.
Review form
Leave a review
Only customers who hired this provider can leave a review.
★★★★
Please select a star rating
✓ Thank you for your review!
Provider public page · Review list
Customer reviews list
Displays existing provider reviews
07
No reviews — if reviews array is empty, page shows “No reviews yet.”
Review cards — each review card shows customer name, stars, date, and comment if provided.
Date format — review dates are formatted in en-AU as day, short month, year.
Comment optional — comment text appears only if r.comment exists.
Trust signal: Reviews are one of the strongest public profile elements because customers can only review after hiring this provider.
Review list
Amelia Wong
★★★★★
25 Jun 2026
Professional, friendly, and the food presentation was perfect for our harbour event.
David Chan
★★★★
12 May 2026
Good quality and very easy to coordinate with.
No reviews yet.
Provider public page · Edit review
Editing an existing review
Operators can edit their own operator-linked review
08
Operator check — page checks the current operator identity via operator/me.
Edit button — appears only when operatorId exists and the review operator_id matches the current operator.
Edit mode — replaces review comment with editable rating stars and textarea.
Rating required — edit cannot save without a rating.
Save changes — sends a PUT request to the provider review endpoint.
Cancel — exits edit mode without saving changes.
Important: Normal public viewers do not see edit controls; edit is conditional.
Review with edit button
You
★★★★★
13 Jun 2026
Excellent service for the booking.
Edit mode
★★★★★
Provider public page · Loading and error states
Loading, not found, and validation states
What users see when data is loading or invalid
10
Loading — spinner and Loading text while provider API request is pending.
Provider not found — red message and Back to home link when API returns an error.
Review validation — missing star rating or missing booking shows reviewError.
Submitting — submit button shows Submitting... or Saving... while request is running.
Success — green success banner confirms the review was submitted.
Loading state
Loading...
Not found state
Provider not found. Back to home
Review validation
Please select your booking
Provider public page · Mobile layout
Mobile layout
Profile, gallery, and reviews adapt on small screens
11
Hero stacks — profile hero becomes vertical and centered on small screens.
Links centered — website and Instagram buttons are centered under bio.
Page padding — reduced padding creates more room on phone screens.
Gallery — gallery becomes two columns on mobile.
Review date — date moves to its own line to avoid cramped layout.
Lightbox — image is constrained to viewport width and height.
Mobile profile layout
H
Catering
Harbour Kitchen
★★★★★
4.8
Premium harbour event catering.
Amelia
★★★★★
25 Jun 2026