Skip to Content
HomeLink Hub
Tenant Experience

Home and Discovery

The tenant tab bar, home screen, category browsing, the Recommended list, map display and the first-launch guided tour.

A signed-in tenant lands on /tenant, a tab navigator with its own tab bar. The home tab is the starting point for search, categories and a short list of live properties. Everything here is read-only browsing except the heart on a property card, which writes to the wishlist.

Where it lives

ScreenRouteFileWho sees it
Tenant shell (tab bar, tour provider)/tenant/*app/tenant/_layout.tsxTenants (and any user with an unknown or missing role)
Home/tenantapp/tenant/index.tsxTenants
All Categories/categoriesapp/categories.tsxAnyone who can reach it; linked from tenant home
Category results/category/[type]app/category/[type].tsxSame
Recommended/recommendedapp/recommended.tsxSame

Supporting code: components/app/property-card.tsx (list card), components/app/property-grid-card.tsx (grid card), components/tour/app-tour.tsx and components/tour/tours.ts (guided tour), hooks/use-map-type.ts and components/app/property-location-map.tsx (map), services/property/property-thunk.ts (RTK Query slice propertyApi), utils/home-route.ts (which role gets which tab bar).

Before you start

  • Signed in. utils/home-route.ts sends TENANT (and any unrecognised role) to /tenant; landlords, agents, lawyers and developers go to the (tabs) group instead.
  • No KYC is needed to browse.
  • No device permissions are requested on these screens. Location permission is never asked for; the app does not centre anything on the user's position.
  • The two listing endpoints used here (GET /api/v1/property/browse, GET /api/v1/property/search) are public on the backend, but the app still attaches the bearer token from session:ACCESS_TOKEN when one exists.

Flow

Tab bar

The tab bar is 75 points high with rounded top corners and shows icons only (tabBarShowLabel: false). Five tabs are visible, in this order:

TabRouteDocumented in
Home/tenantthis page
Chats/tenant/chatsChats and notifications
Wishlist/tenant/wishlistWishlist
Inspections/tenant/inspectionsBooking an inspection
Profile/tenant/profileProfile and settings

A sixth screen, /tenant/notifications, is registered in the same navigator with href: null, so it has no tab icon but keeps the tab bar visible when opened from the bell on the home screen.

Home screen

  1. The header shows Good Morning and the user's first name from the Redux auth.user object (Guest when there is no first name). The greeting text is fixed; it does not change with the time of day.
  2. The bell icon on the right opens /tenant/notifications.
  3. The search bar (placeholder Search Properties) is not editable on this screen. Tapping it opens /search. The filter button beside it also opens /search, not /filter. See Search and filters.
  4. Verified Categories shows four shortcuts: Houses, Apartments, Lands, Commercial. Tapping one pushes /category/[type] with type set to houses, apartments, lands or commercial. See all opens /categories.
  5. Recommended for you fires GET /api/v1/property/browse?page=1&limit=4 on mount. The response is kept in the propertyApi RTK Query cache (tag Property). Up to four list cards are rendered. See all opens /recommended.
  6. Tapping a card pushes /property/[id] with id set to the property _id. See Property details.
  7. Tapping the heart on a card toggles the wishlist. See Wishlist for the requests.

Each card is built from the API item as follows:

Card fieldSourceFallback
Imagemedia.images[0].urlA stock placeholder photo
TitletitleFeatured property
Locationlocation.community, location.state joined with a commaEmpty
Ratingrating.averageRating and rating.reviewCount, shown as (N ratings)0
PriceshortLet.nightlyPrice for a SHORTLET, else pricing.rentPrice, else pricing.salePrice, formatted as ₦1,500,000N/A
Status overlaysold or rented (never for short lets); replaces the heartNone

Price period on home cards

The home screen does not pass a price period to the card, so every card reads /year, including sale prices and nightly short-let rates. The category and search screens pass night, year or nothing correctly.

All Categories

  1. /categories shows a three-column grid titled All Categories with nine tiles: Houses, Apartments, Lands, Commercial, Shortlets, Offices, Warehouses, Villas, Penthouses. The list is hardcoded in the screen; no request is made.
  2. Tapping a tile pushes /category/[type] with type set to the tile id (houses, apartments, lands, commercial, shortlets, offices, warehouses, villas, penthouses).
  3. The back chevron returns to the previous screen.

Three tiles have no matching category

The results screen only knows six categories. warehouses, villas and penthouses fall back to the first one, so those tiles show Houses results under a Houses title, and no row is ticked in the Switch Category sheet.

Category results

  1. The screen reads the type route param (default houses) and maps it to a backend property type:
type paramTitletype sent to the API
housesHousesHOUSE
apartmentsApartmentsAPARTMENT
landsLandsLAND
commercialCommercialCOMMERCIAL
shortletsShortletsSHORTLET
officesOfficesOFFICE
  1. It fires GET /api/v1/property/search with type, page=1, limit=50 and, when a sort chip other than All is active, sort. Results live in the propertyApi cache. The backend returns only listed, verified properties.
  2. Sort chips under the header: All (no sort, newest first on the backend), Popular (sort=rating), Newest (sort=newest), Lowest Price (sort=price_asc). Changing a chip refetches.
  3. The header title with a chevron opens the Switch Category sheet listing the six categories; the current one is highlighted with a tick. Picking one closes the sheet and refetches. Close or a tap on the backdrop dismisses it. The route param is not changed; the selection is local state.
  4. The icon on the right toggles between grid (two columns, the default) and list view.
  5. Above the results: N results for "Category" (singular result for one).
  6. Tapping any card pushes /property/[id] with the property id.
  7. Pull down on the list to refetch.
  1. /recommended shows a header Recommended, a grid/list toggle and the line Found 24 properties you might like.
  2. Tapping a card pushes /property/[id] with the card id.

Recommended is placeholder data

This screen renders six hardcoded sample properties with ids 1 to 6 and stock photos. It makes no API request, the count line is a fixed string, and tapping a card opens property details with an id that does not exist on the backend. The home section of the same name is real data from GET /api/v1/property/browse.

Map view

None of the tenant discovery screens (home, categories, category results, recommended, search) offers a map of results. The only map a tenant sees is the Location block on the property details screen, rendered by components/app/property-location-map.tsx:

  • A fixed 192-point Google map with one marker at the property coordinates. Scrolling and zooming are disabled.
  • The base map type comes from GET /api/v1/settings (appSettingsApi cache, field mapType: roadmap, satellite, hybrid or terrain), set by an admin. hooks/use-map-type.ts converts it for the native map and uses satellite until settings arrive or when the field is missing.
  • In dark mode a muted night style is applied; it only affects the drawn road map, not satellite imagery.
  • When no coordinates are passed the component falls back to a default Lagos location and address text.

Guided tour

The tenant tab layout wraps its screens in AppTourProvider tour="tenant".

  1. The tour starts by itself the first time a signed-in user is on /tenant (or /), about 900 ms after the screen settles, if local:TOURS_SEEN has no entry for the key tenant:USER_ID. A user who cold-starts into another screen (for example from a chat push) gets it the next time home is shown.
  2. A dimmed overlay spotlights one target per step with a tooltip card. Nothing underneath can be tapped while it runs.
  3. Tooltip buttons: Skip tour (hidden on the last step), Back (hidden on the first step), and Next, which reads Get started on the last step. Dots show progress.
  4. Steps, in order:
StepTargetTitle
1Home search barFind your next home
2Home bell iconStay in the loop
3Chats tabTalk to agents
4Wishlist tabSave favourites
5Inspections tabTrack inspections
6Profile tabYour profile and help
  1. When the tour stops, whether finished or skipped, the key is written to local:TOURS_SEEN (an object map of tour:userId to true). local: keys survive sign-out, so the tour does not replay on the next sign-in; a different account on the same device gets its own tour.
  2. Replay App Tour on the profile screen navigates to the role's home route and restarts the tour after about 400 ms.

States and edge cases

  • Home loading: a large spinner in the Recommended section while the first browse request is in flight. No skeletons.
  • Home error: Couldn't load properties and Check your connection and pull down to try again.
  • Home empty: No Properties Yet with New listings will appear here as soon as they go live.
  • Category loading: full-area spinner. Error: Could Not Load Properties with a Retry button. Empty: No Houses Yet (the category label is substituted), Nothing is listed in this category right now. Try another one. and a Switch Category button that opens the sheet.
  • Session expiry on any request follows the shared rule: one silent refresh, then sign-in.
  • Offline: RTK Query surfaces a fetch error and the error states above are shown. Nothing is cached to disk.

Home has no pull to refresh

The home error text tells the user to pull down, but the home scroll view has no refresh control. The browse query only reruns when the screen remounts or the Property cache tag is invalidated.

Hearts on cards

Only the list card on the home screen has a working heart. Grid cards show a heart outline that is not tappable, and list cards on the category, search and recommended screens receive no toggle handler, so tapping their heart does nothing.

What happens next

  • Opening a property goes to Property details, where inspections, payments and short-let bookings start.
  • A heart tap on home adds to or removes from the list shown on the Wishlist tab.
  • On sign-out or session expiry the whole Redux store, including the propertyApi and appSettingsApi caches, is reset.

On this page