Web Routing & Navigation

These flow diagrams show exactly what happens when users navigate through the Hububb application, based on their authentication status and onboarding completion. They help understand the user experience from a business perspective, showing the decision points and automatic redirects that guide users to the right place.

Unauthenticated User Flow

flowchart TD
    A[User visits any URL] --> B{Is user authenticated?}
    B -->|No| C[User sees landing page or auth pages]
    
    C --> D{What page did they visit?}
    D -->|/ or /landing-page| E[Show public landing page]
    D -->|/auth/sign-in| F[Show sign-in form]
    D -->|/auth/sign-up| G[Show sign-up form]
    D -->|/auth/forgot-password| H[Show password reset form]
    D -->|Any protected route| I[Redirect to /auth/sign-in]
    
    E --> J{User takes action}
    F --> K{User signs in}
    G --> L{User signs up}
    H --> M{User resets password}
    
    J -->|Clicks Sign In| F
    J -->|Clicks Sign Up| G
    J -->|Clicks Forgot Password| H
    
    K -->|Success| N[User becomes authenticated]
    L -->|Success| N
    M -->|Success| F
    
    K -->|Failure| F
    L -->|Failure| G
    M -->|Failure| H
    
    N --> O[Check user role and onboarding status]

Authenticated User Flow

Detailed User Journey Examples

New User Sign-Up Journey

1

Visit landing page and sign up

New user visits the landing page and clicks Sign Up.

2

Complete sign-up form

User fills out the sign-up form and account is created with landlord role.

3

Automatic sign-in and onboarding check

User is automatically signed in. System checks onboarding status — onboarding is not completed.

4

Onboarding

User is redirected to /onboarding and completes onboarding steps.

5

Access host dashboard

Onboarding is marked complete and user is redirected to /host dashboard to manage properties.


Returning User Sign-In Journey

1

Redirect to sign-in

Returning user visits the app and is redirected to /auth/sign-in.

2

Sign in

User enters credentials and authentication succeeds.

3

Role and onboarding check

System checks the user's role (landlord) and onboarding status.

4

Redirect based on onboarding

If onboarding is completed -> redirect to /host dashboard. If not completed -> redirect to /onboarding to finish onboarding.

5

Access host features

After onboarding is complete (or if already completed), user accesses host features on /host dashboard.


User Navigation Within App

1

User in host dashboard clicks navigation: Properties, Calendar, Services, Channels, or Profile.

2

Access respective pages

  • Properties -> manage property listings

  • Calendar -> view/manage calendar

  • Services -> purchase/manage services

  • Channels -> manage channel connections

  • Profile -> update profile settings

3

Actions and exits

User takes actions on those pages. They can continue using features, sign out (return to landing page), or close the browser (session remains active).

Last updated