Global Herbal Village - Build Summary

Production Ready v1.0.0
Admin Diagnostics:
RoleCapabilityAudit βœ“
BetaTestWizard βœ“
πŸ—ΊοΈ Application Routes
/ - Home page hero featured profiles newsletter
/directory - Searchable member directory filters
/join - 6-step onboarding flow role account profile media social membership
/profile - Public profile view social links
/dashboard - User profile management 7 tabs
/profile-preview - Post-signup profile preview
/steward - Admin dashboard 5 tabs restricted
/beta-test-wizard - Direct route for Beta Testing Wizard
🧭 Navigation Structure

Public Header:

  • β€’ Home, Directory
  • β€’ Marketplace, Mentorship
    Soon
  • β€’ Join the Community
    CTA

Authenticated Header:

  • β€’ Home, Directory
  • β€’ Admin
    Stewards Only
  • β€’ Settings, Logout
  • β€’ Beta Test Wizard
    Steward Only
πŸ“Š Data Models & Key Fields

User
Built-in

  • β€’ id, created_date, full_name, email, role
  • β€’ Extended roles: herbalist, grower_supplier, retailer_maker, budding_herbalist, community_member, steward

Profile

  • β€’ Basic: user_id, role, name, bio
  • β€’ Location: country, region, city
  • β€’ Taxonomy: specialties[], interests[], cultural_background[], modalities[]
  • β€’ Contact: email, website
  • β€’ Socials: 9 platforms + other[{label,url}]
  • β€’ Media: avatar_url, banner_url, gallery[]
  • β€’ Settings: membership_tier, spotlight, visibility
  • β€’ Privacy: *_visibility controls

Support Entities

  • β€’ MembershipPlan: name, price, features[], allowed_roles[]
  • β€’ TaxonomyTerm: name, type, status, parent_id
  • β€’ SystemMessage: messaging between stewards/users
  • β€’ NewsletterSubscriber: email collection
  • β€’ AnalyticsEvent: custom event tracking
  • β€’ StewardSetting: admin configuration storage
  • β€’ BetaTest: name, description, status, created_by, start_date, end_date

Role β†’ Membership Matrix

Herbalist:Free βœ“ Premium βœ“
Grower & Supplier:Free βœ“ Premium βœ“
Retailer & Maker:Free βœ“ Premium ⏳
Budding Herbalist:Free βœ“ Premium βœ“
Community Member:Free βœ“ Premium βœ“
Steward/Admin:Admin Only πŸ”’
πŸ”§ Key Features

Onboarding Flow (6 Steps):

  • 1. Role selection (5 role cards)
  • 2. Account creation (Google OAuth)
  • 3. Profile info (name, bio, location, taxonomy)
  • 4. Media upload (avatar, banner)
  • 5. Social profiles (9 platforms + custom)
  • 6. Membership selection (Free/Premium)

Directory Features:

  • β€’ Text search, role filter, multi-select taxonomy filters
  • β€’ Auto-surface filters when β‰₯10 distinct tags exist
  • β€’ Sort: Default (blended), Newest, Distance
  • β€’ Reset filters, URL persistence, infinite scroll

Social Links System:

  • β€’ 9 platforms + custom links (10 total limit)
  • β€’ Auto-normalization, regex validation
  • β€’ UTM tracking (utm_source=ghv-directory)
  • β€’ Visibility controls (public/members/hidden)

Beta Test Wizard:

  • β€’ Create, manage, and invite users to beta tests
  • β€’ Collect and view structured feedback
  • β€’ Steward-only access and configuration
βš™οΈ Steward Settings & Toggles

Directory Settings:

  • β€’ spotlight_weight: Premium profile sorting multiplier (default: 100)
  • β€’ premium_price: Monthly premium price USD (default: $19)
  • β€’ always_show_taxonomy_filters: Force show filters

Profile Completion Rules:

  • β€’ profile_completion_rules: JSON array of required fields
  • β€’ Available: avatar, banner, name, location, bio, specialties, contact, role, membership

Auto-Surfacing Logic:

  • β€’ Specialty/Modality filters auto-show when β‰₯10 distinct tags
  • β€’ Steward override bypasses minimum requirement
  • β€’ Multi-select with search, alphabetization, counts

Beta Test Settings:

  • β€’ beta_test_enabled: Boolean toggle to enable/disable Beta Test Wizard and associated features.
πŸ‘₯ Dashboard Structure

User Dashboard (7 Tabs):

  • β€’ Profile: Basic info + completion tracker
  • β€’ Media: Avatar/banner upload + gallery
  • β€’ Taxonomy: Specialty/interest/cultural/modality editors
  • β€’ Contact: Email + website fields
  • β€’ Social Links: 9 platforms + custom with visibility
  • β€’ Settings: Privacy controls + visibility toggles
  • β€’ Membership: Plan display + upgrade options

Steward Dashboard (5 Tabs):

  • β€’ Profile Approvals: Pending profile review queue
  • β€’ Taxonomy: Pending tag approval/merge/reject
  • β€’ User Management: Search, roles, suspend/activate
  • β€’ Communications: System messages + newsletter export
  • β€’ Settings: All steward toggles and configuration
🚧 Stubs & Coming Soon
Marketplace: Placeholder with "Soon" badge
Mentorship: Placeholder with "Soon" badge
Retailer Premium: Shows as waitlist/coming soon
Payment Integration: Premium membership upgrade flow
Advanced Search: Geographic distance calculations
Messaging System: Direct member-to-member communication
βœ… Critical QA Paths

Homepage & Onboarding

  • β–‘ Homepage order = Hero β†’ Village β†’ Featured β†’ Growth β†’ NewsletterArchive
  • β–‘ Featured section title equals β€˜Featured Members’
  • β–‘ Exactly 5 tiles render in Village section
  • β–‘ NewsletterArchive form renders with input + button, both keyboard-focusable
  • β–‘ Join flow completes all 6 steps
  • β–‘ Profile creation and preview works
  • β–‘ Dashboard accessible post-signup

Directory Functionality

  • β–‘ Search returns relevant results
  • β–‘ Filters work and persist in URL
  • β–‘ Profile cards display correctly
  • β–‘ Social links open with UTM tracking
  • β–‘ Reset filters clears all selections

Profile Management

  • β–‘ Profile editing saves properly
  • β–‘ Media uploads work (avatar/banner)
  • β–‘ Social links validate and normalize
  • β–‘ Privacy settings are respected
  • β–‘ Completion tracker updates

Admin Functions

  • β–‘ Profile approval queue functional
  • β–‘ Taxonomy management works
  • β–‘ User management actions work
  • β–‘ Settings save and apply correctly
  • β–‘ Export functions generate files

Responsive & Accessibility

  • β–‘ Mobile menu works properly
  • β–‘ Touch interactions function
  • β–‘ Screen reader navigation
  • β–‘ Keyboard-only operation
  • β–‘ Loading states display

Data & Security

  • β–‘ Profile ownership validation
  • β–‘ Role-based access control
  • β–‘ Privacy settings enforcement
  • β–‘ Contact reveal anti-scraping
  • β–‘ Member-only content protection

πŸŽ‰ Build Complete - Ready for Production QA Testing

Last Updated: January 2025 β€’ Version: 1.0.0