Build-first-run-onboarding-wizard#1024
Merged
yusuftomilola merged 1 commit intoJun 26, 2026
Merged
Conversation
Build-first-run-onboarding-wizard
|
@MaryammAli is attempting to deploy a commit to the naijabuz's projects Team on Vercel. A member of the Team first needs to authorize it. |
yusuftomilola
approved these changes
Jun 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat: Build first-run onboarding wizard for new organisations
Summary
Implements a first-run onboarding wizard to guide newly created organisations through the initial AssetsUp setup process. The onboarding flow eliminates the blank-state experience by walking users through configuring their organisation, creating foundational data, and adding their first asset.
Closes FE-40.
What Changed
Onboarding Steps
Step 1 – Organisation
Update organisation name
Optional logo upload
Uses:
PATCH /organisations/meStep 2 – First Department
Create the first department
Fields:
Includes Skip option
Uses:
POST /departmentsStep 3 – Asset Categories
Create 1–3 asset categories
Suggested categories:
Uses:
POST /categoriesStep 4 – First Asset
Simplified asset creation
Fields:
Includes Skip option
Uses:
POST /assetsStep 5 – Completion
Success screen with confetti animation
Quick links to:
Additional Features
Progress indicator (e.g. Step 2 of 5)
"Exit Setup" button
Completion state persisted via localStorage (or user profile if supported)
Wizard only appears when:
Acceptance Criteria
Testing
Notes
/onboardingroute or a dashboard modal, depending on application configuration.feat: Build asset map and geolocation view
Summary
Implements an interactive map view for geolocated assets, allowing users to visualize asset locations, monitor field equipment, and quickly identify asset distribution across different locations.
Closes FE-41.
What Changed
Features
Interactive Map
Created
frontend/app/(dashboard)/map/page.tsxDisplays an interactive map centered on available asset locations.
Fetches asset location data from:
GET /assets/mapAsset Markers
Each asset is rendered as a marker using:
currentLatitudecurrentLongitudeMarkers are colour-coded by asset status:
Marker Details
Clicking a marker opens a popup displaying:
Marker Clustering
Filters
Added sidebar filters for:
Filters update the displayed markers in real time.
Assets Page Integration
Added a Map View toggle on the standard
/assetspage, allowing users to seamlessly switch between:Also added Map View to the application sidebar for quick navigation.
Acceptance Criteria
Testing
Notes
GET /assets/map).Closes #976
Closes #977