Skip to Content
HomeLink Hub

Listings overview

Browsing, filtering and deleting your listings, and reading the listing detail page.

Where it lives

RouteView or component fileAccess
/listingssrc/views/app/listings/listings.tsxsigned-in, agent or landlord
Table and paginationsrc/views/app/listings/components/listings-table.tsx, listings-columns.tsxsame
Market Pulse popoversrc/views/app/listings/components/market-pulse.tsxsame
/listings/:idsrc/views/app/listings/listing-detail.tsxsigned-in, agent or landlord

API calls are in src/services/listings/listings-api.ts (RTK Query, base path /api/v1/property).

Before you start

  • Signed in as an agent or landlord.
  • The table only ever shows the signed-in user's own listings (GET /api/v1/property/me), including private drafts.

Flow

Browse your listings

  1. Open Listings in the sidebar. The page header reads "Properties Management" under the eyebrow "Portfolio Overview".

  2. The app sends GET /api/v1/property/me with page, limit=4 and any active filters. The table shows four listings per page.

  3. Each row shows:

    ColumnContent
    CheckboxRow selection. Nothing acts on the selection yet.
    PropertyCover photo (first image), title, and "community, state"
    PriceCurrency code and amount, with "Per year" for a rent price or "Sale" otherwise
    StatusA badge, mapped as below
    ActionsEye (Market Pulse), pencil (edit), bin (delete)
  4. Click the photo or title to open the listing detail page at /listings/:id.

  5. Use the numbered buttons under the table to change page. The page number is kept in the URL (?page=2), so a refresh stays put. The footer reads "Showing X to Y of Z entries".

The listings table with its filter bar.
The listings table with its filter bar.

Status badges:

API statusBadge
listedACTIVE
pending_verificationPENDING
draftDRAFT
unlisted, rented, soldINACTIVE

The page description is placeholder text

The header line "Managing 42 active listings across 12 regions." is the default text of DashboardHeader; it is not calculated from the user's listings.

Filter the list

FilterOptionsQuery parameter sent
Address"All addresses", then every state, community, street and landmark seen in previously loaded listingsaddress
State"All locations", then every state seen in previously loaded listingsstate
Price Range"Any price", "Under $500k", "$500k – $2M", "$2M+"minPrice and maxPrice (500000 and 2000000 as the boundaries)
Status"All statuses", Active, Draft, Pending, Inactivestatus (listed, draft, pending_verification, unlisted)
  • Changing any filter returns to page 1 and refetches.
  • Reset Filters clears all four and returns to page 1.
  • The Address and State options come from localStorage (listings_addresses, listings_locations), refreshed every time a page of listings loads. They are read when a dropdown opens.

Filter quirks to know about

The price labels use a dollar sign although listings are priced in naira; the numbers are sent as plain amounts. The Price Range dropdown does not show the chosen option after selection (it falls back to "Any price") even though the filter is applied. A brand-new browser has empty Address and State lists until the first page of listings has loaded. Filters are not stored in the URL, so a refresh clears them.

Market Pulse

Click the eye icon on any row to open a small popover. It is not specific to that listing: it summarises the whole account for the current week.

  • Active Views and Direct Inquiries: sums of the weekly performance series (GET /api/v1/dashboard/performance?view=weekly).
  • Active Listings: from GET /api/v1/dashboard/stats.
  • A badge shows inquiries as a percentage of views ("N% engagement"), or "This week" when there are no views.
  • View Full Report opens /analytics.

Delete from the table

  1. Click the bin icon on a row.
  2. A dialog titled "Delete Listing" asks: "Are you sure you want to permanently delete" the listing title, and warns "This action cannot be undone and the listing will be removed from all public portals."
  3. Cancel closes it. Delete Listing sends DELETE /api/v1/property/:id; the button shows "Deleting…".
  4. Success toast: "Listing deleted successfully". The table refetches. Failure toast: "Failed to delete listing".

Listing detail page

Opening /listings/:id sends GET /api/v1/property/:id, plus GET /api/v1/legal/properties/:id/history and GET /api/v1/escrow/property/:id for the legal and escrow cards.

Listing detail: status, performance, price, basic details and escrow status.
Listing detail: status, performance, price, basic details and escrow status.
AreaWhat it shows
HeaderBreadcrumb "Listings", the title, a status badge with the raw API status, and "street, community, state"
Listing PerformanceReview count, average rating and bedroom count
Price card"Annual Rent" or "Sale Price" in naira, plus "Agent collects N years up front" when the rent term is 2 or 3 years
Basic DetailsProperty Type, Square Footage, Configuration (for example "3B 2B")
Escrow StatusOnly when the listing has escrow transactions
Legal VerificationLegal status, assigned lawyer, document submission and assignment history. The Assign or Reassign button opens the lawyer picker
Media GalleryThe cover photo marked "Primary", a photo count, two thumbnails, and one tile per photo group when photos are tagged
AmenitiesPreset labels and custom amenity names
LocationA map with a marker at the listing's coordinates, or "No location data available"
Listing LifecycleFour markers: Created, Submitted, Verified, Listed

Clicking any photo opens a full-screen gallery with previous and next arrows and a thumbnail strip.

The legal and escrow cards are documented in the legal and payments sections.

Deactivate from the detail page

  1. Click Deactivate in the header.
  2. The dialog "Deactivate Listing" asks "Are you sure you want to deactivate this listing?"
  3. Deactivate sends DELETE /api/v1/property/:id, the same request as deleting from the table.
  4. Success toast: "Property deactivated successfully", then back to /listings. Failure toast: "Failed to deactivate property".

Deactivate and Delete are the same call

Both buttons send DELETE /api/v1/property/:id. The client offers no separate "unlist" action; what the API does with the record (hard delete or soft delete) is not visible from this app.

Several detail-page buttons are not wired up

View Live Listing, Update Price, Edit (Basic Details), Edit Photos and the pencil icons on Amenities and Location have no click handlers. The only way into the edit flow is the pencil icon in the listings table, or typing /listings/:id/edit. The progress bar under the review count is decorative (it animates to a fixed 66%), and the "Submitted" lifecycle date always shows a dash.

States and edge cases

  • Loading. The table shows a spinner; the detail page shows a full-height spinner.
  • Empty table. "No results." The footer then reads "Showing 1 to 0 of 0 entries".
  • Detail not found or request failed. "Failed to load listing" with a Back to Listings button.
  • No photos. The table uses a placeholder image; the detail page shows "No images uploaded".
  • Page out of range. If the URL says page 5 but only 2 pages exist, the page is pulled back to the last one once the response arrives.
  • Listings from before photo tagging. The per-group tiles are hidden when no photo has a tag.

What happens next

On this page