Version 1.03 Timeline Changelog
Detailed motion-by-motion timeline of all UX improvements, mobile responsiveness fixes, accessibility enhancements, and design system refinements executed in Version 1.03, building on Version 1.02.
Official 'Quote-sent.svg' Icon Integrated in Confirmation Modal
Replaced the generic confirmation icon with the official project asset 'assets/Quote-sent.svg' rendered prominently with high-resolution vector precision and drop-shadow styling in the Email Quote confirmation screen.
- Copied Quote-sent.svg to public/ directory for Next.js Image static optimization.
- Integrated Next Image with smooth zoom-in animation and high-res vector rendering.
- Maintained single in-place modal confirmation flow.
Redundant Secondary Alert Removed from Email Quote Flow
Removed the redundant external 'OK, Got It' toast notification popup. The quote dispatch confirmation is now rendered cleanly and exclusively within the single active in-place modal screen.
- Removed showToast trigger upon quotation send.
- Consolidated all quotation success feedback strictly inside the single in-place EmailQuoteModal dialogue.
Email Quote Modal Design System Alignment & In-Place Confirmation
Refined the Email Quote popup with expanded dimensions (max-w-[560px]), padding (p-8), Kanit typography, soft diffusion shadow, and an in-place single-popup confirmation view (no separate secondary popup).
- Expanded modal width to max-w-[560px] with responsive p-6 md:p-8 padding.
- Aligned input fields with standard border-gray-300 rounded-md tokens.
- Implemented seamless in-place confirmation transition keeping the user inside the exact same modal window.
- Added soft backdrop blur and premium shadow-[0_20px_60px_rgba(0,0,0,0.18)].
Interactive Email Quote Modal with Pre-Filled Data & Terms Confirmation
Clicking 'EMAIL ME A QUOTE' on the Summary page now opens a customized interactive modal that pre-fills the user's Full Name, Email ID, and Mobile Number, requires Terms agreement, and upon submission delivers an immediate email confirmation popup.
- Built EmailQuoteModal.js with pre-filled name, email, phone, and terms checkbox.
- Added validation to ensure valid email and required agreement before dispatch.
- Implemented smooth two-stage confirmation popup with success animation.
- Integrated toast notification on successful quote delivery.
Family Member Relationship Label Reordered After Full Name
Reordered the Covered Family list items across Step 4 (Summary) and Step 5 (Confirmation Certificate) so the relationship badge pill ('SPOUSE' / 'CHILD') is positioned naturally after the member's full name.
- Updated format to: [Full Name] -> [RELATIONSHIP BADGE] -> ([IC/Passport]).
- Applied consistent spacing with gap-2.5 and shrink-0 on both Step 4 and Step 5 tables.
Covered Family Member Badge & Name Spacing Fixed
Fixed the visual crowding and overlapping between the relationship badge ('SPOUSE' / 'CHILD') and the member's full name by adding shrink-0 and explicit gap-3 spacing in the Step 4 details list.
- Added shrink-0 and px-2.5 py-1 to the relationship badge pill.
- Increased spacing to gap-3 and vertical rhythm to space-y-2.
- Ensured name and IC number never overlap the badge on any screen size.
Family Member Count & Breakdown Prominently Displayed on Summary Page
Enhanced the Step 4 Summary page so that the number of added family members and total insured individuals are clearly highlighted in both the Policyholder Details table and the Coverage & Category breakdown table.
- Added '{X} members added' badge indicator to Covered Family row in Step 4 details table.
- Added 'Self + {X} family members covered' subtitle under the plan name.
- Added '{X} Total Insured' breakdown in the Category column of the Coverage Details table.
- Ensured full synchronized display across Step 4 (Summary) and Step 5 (Confirmation Certificate).
Production Build Verified & Deployable Zip Package Generated
Executed production build validation (next build) successfully and packaged all clean project source files into a deploy-ready server zip file ('gpa-deploy.zip') excluding temporary and node_modules folders.
- Ran next build with 100% successful static page generation across all routes (/, /_not-found, /changelog).
- Created clean server-ready deployment package gpa-deploy.zip (2.4 MB).
- Packaged source directories (app, public, assets), configurations (next.config.mjs, postcss.config.mjs, jsconfig.json, eslint.config.mjs), and dependency manifests (package.json, package-lock.json).
Enhance Your Coverage 'Popular' Label Removed
Removed the 'Popular' badge from Add-On 2 (Temporary Disablement Benefit), retaining only the singular '★ Recommended' label on Add-On 1 (Medical Expenses Reimbursement) for clear guidance.
- Removed badge and badgeColor from Add-On 2 in ADDONS array in Step2.js.
- Retained '★ Recommended' badge exclusively on Add-On 1.
Enhance Your Coverage Add-On 'Recommended' Label Added
Added prominent '★ Recommended' badge to Add-On 1 (Medical Expenses Reimbursement) with warm amber styling, guiding users to the most valuable add-on rider in Step 2.
- Added '★ Recommended' badge to Add-On 1 (Medical Expenses Reimbursement).
- Added 'Popular' badge to Add-On 2 (Temporary Disablement Benefit).
- Positioned badge next to the icon in the Add-On card header for clear visual distinction.
Plan Tier Table Column Headers Equally Aligned on Same Baseline
Standardized the desktop table header cells across all 4 plans with a dedicated fixed-height badge container (h-5) so that Plan 1, Plan 2, Plan 3, and Plan 4 icons, titles, prices, and action buttons align on the exact same horizontal baseline.
- Added fixed-height badge slot (h-5 flex items-center justify-center) across all columns.
- Ensured plans without badges retain invisible equal spacing preventing vertical displacement.
Plan Tier 'Recommended' and 'Popular' Badges Added
Added prominent visual badges to guidance plans in Step 2 — '★ Recommended' on Plan 3 with warm amber badge styling and 'Popular' on Plan 2 with sleek blue badge styling, rendered across both desktop table headers and mobile plan cards.
- Added 'Recommended' badge with warm amber pill border to Plan 3.
- Added 'Popular' badge with soft blue pill border to Plan 2.
- Rendered responsive badges in desktop comparison table columns and mobile stacked plan headers.
Family Member Input Field Icons Integrated (User & IdCard)
Integrated right-aligned input icons into the Family Member card fields — User icon for Full Name and IdCard icon for IC/MyKid/Passport — matching Step 1 inputs exactly.
- Added User icon (absolute right-2.5 top-3) to Full Name input field with pr-8 padding.
- Added IdCard icon (absolute right-2.5 top-3) to IC / MyKid / Passport input field with pr-8 padding.
- Ensured error states tint the icons to red-400 automatically upon validation.
Covered Family Members Details Title Font Size Increased
Scaled up the 'Covered Family Members Details' heading from text-sm (14px) to text-base (16px) and enlarged the Users icon to 20px (w-5 h-5) for prominent visual hierarchy.
- Updated title heading to text-base font-bold text-[#1a2b6d].
- Increased Users icon size to w-5 h-5.
- Adjusted subtitle spacing to mt-1 for balanced vertical rhythm.
Family Member Relationship Select Dropdown Icon Customized
Replaced the default OS native select arrow on the Family Member Relationship dropdown with a clean ChevronDown vector icon and appearance-none styling for complete visual consistency with Step 1.
- Added relative wrapper, appearance-none, and pr-8 padding on Relationship select element.
- Positioned ChevronDown icon with absolute right-2.5 top-3 pointer-events-none.
Family Plan Dynamic Sub-Users Management Added (Add/Remove)
For the Family Plan, an interactive sub-users panel now allows users to dynamically add and remove covered family members (Spouse and up to 2 Children) with relationship, full name, and IC/passport details. Individual Plan proceeds seamlessly as before.
- Added dynamic Family Members manager in Step 2 with '+ Add Family Member' and 'Remove' actions.
- Supports Spouse and Child relationships with custom full name and IC / MyKid / Passport input fields.
- Added validateStep2() enforcement requiring at least 1 family member with complete details for Family Plan.
- Integrated covered family members list into Step 4 Summary table and Step 5 Certificate Details.
Insurance Start Date Auto-Prefill Removed & Mandatory Validation Added
Removed the default auto-prefilled date ('2026-08-25') from the Insurance Start Date field. The user is now required to explicitly select their desired start date before proceeding to payment.
- Initialized startDate as empty string '' in Wizard.js state and resetWizard.
- Added validateStep4() validation function blocking navigation to Step 5 if startDate is empty.
- Added inline error feedback with red border and explicit error message ('Please select an insurance start date to proceed.') below the datepicker.
Summary Page DatePicker Standardized & Certificate Icon Added
Integrated the modern CustomDatePicker component into Step 4 for 'Insurance Start Date' ensuring complete date picker consistency across all steps, and added the FileCheck certificate icon to Step 5 Policy Details table header.
- Replaced native date input in Step 4 with CustomDatePicker for Insurance Start Date.
- Connected handleUpdate state management to allow immediate startDate updates.
- Added matching FileCheck icon in Step 5 Policy Certificate Details header for unified visual identity.
DatePicker Icon Alignment Standardized (right-3 top-3.5)
Fixed the Calendar icon placement inside the DatePicker input trigger to strictly match all other inputs across Step 1 (Email, Phone, Name, Nationality, IC) using absolute right-3 top-3.5 positioning.
- Converted icon from inline flex alignment to absolute right-3 top-3.5 pointer-events-none.
- Input padding set to pr-10 ensuring text never overlaps the icon.
Customized Modern DatePicker UI Component Implemented
Replaced the generic native browser datepicker with a bespoke, customized modern DatePicker UI component featuring intuitive Month/Year dropdown selectors, circular pill date cells, vibrant teal accents, and fast today/clear presets.
- Built custom interactive popover calendar in CustomDatePicker.js.
- Integrated fast year (up to 90 years back) and month selectors for rapid birthdate picking.
- Enhanced visual feedback with rounded circular day pills, shadow highlights on selected dates, and today badges.
- Integrated seamlessly into Step 1 Date of Birth field with zero layout shift.
Promo Left Column Card Drop Shadow Removed
Removed the drop shadow (shadow-sm) from the entire left promo column card, giving it a flat, clean bordered appearance that matches the design aesthetic.
- Removed shadow-sm from PromoLeftColumn wrapper div in Wizard.js.
- Preserved border border-gray-100 and rounded-3xl corner radius.
Step 1 Form Card Drop Shadow Refined to Premium Soft Shadow
Replaced the harsh default shadow-xl with a subtle, modern diffused drop shadow (shadow-[0_4px_24px_rgba(0,0,0,0.06)]) for a refined and clean appearance.
- Updated Step 1 right column card container shadow to shadow-[0_4px_24px_rgba(0,0,0,0.06)].
- Eliminated dark edges while preserving natural depth against the slate background.
Step 5 Main Success Card Drop Shadow Removed
Removed the backdrop drop shadow (shadow-md) from the Step 5 payment confirmed success card for a cleaner, flatter card aesthetic.
- Removed shadow-md utility class from Step 5 main wrapper div in Step5.js.
- Retained clean border border-slate-200/80 boundary definition.
Step 5 Encryption Notice Icon Scaled Up to 20px
Increased the FileCheck icon size in the Step 5 policy documents encryption notice card from 16px (h-4 w-4) to 20px (h-5 w-5) for improved visibility and visual balance.
- Updated FileCheck icon class to h-5 w-5 (20px).
- Maintained top baseline alignment with shrink-0 mt-0.5.
Step 5 Policy Encryption Notice Standardized to Core Design System
Aligned the encrypted password notice alert card in Step 5 to follow the unified design system with clean left alignment, icon baseline positioning, and consistent typography tokens.
- Updated alert box from centered layout to clean flex items-start gap-3 text-left layout.
- Adjusted text color and token styling to #0a4d50 matching Step 3 and Step 4 info notices.
- Fixed mobile wrapping and centered icon misalignment.
Step 4 Premium Breakdown — Fixed Value Wrapping on Mobile
The RM values in the premium breakdown were splitting across two lines on mobile (e.g. 'RM' on line 1, '1400.00' on line 2) due to a fixed text-lg font size with no overflow control.
- Added whitespace-nowrap to every RM value span to prevent line breaks.
- Made font sizes responsive: text-base on mobile, text-lg on desktop (md+).
- Added shrink-0 and gap-2 to the Total Premium row to prevent the sub-note from pushing the value off-screen.
- Final Premium scaled from text-2xl on mobile to text-3xl on desktop.
- Original flex justify-between design style fully preserved — only the wrapping issue fixed.
Universal Card Padding Made Responsive Across All Steps
All white card panels across Step 2, Step 3, and Step 4 had fixed p-6 or p-8 padding (24–32px) applied uniformly on all screen sizes, making content cramped on mobile.
- Step 2 — 3 section cards (Coverage Category, Plan Tier, Add-Ons): p-6 md:p-8 → p-4 md:p-8.
- Step 3 Wizard — Left card (Disclosures): p-8 → p-4 md:p-8.
- Step 3 Wizard — Right column Plan Summary card: p-6 → p-4 md:p-6.
- Step 3 Wizard — Right column ShieldGuard Features card: p-6 → p-4 md:p-6.
- Step 4 — Left Summary column: p-8 → p-4 md:p-8.
- Step 4 — Right Premium column: p-8 → p-4 md:p-8.
- Rule established: all cards use p-4 (16px) on mobile, scaling to p-6 or p-8 on md+ (desktop).
Step 3 Sticky Footer Redesigned for Mobile
Step 3's payable premium sticky footer had a fixed h-20 height with large buttons that overflowed on small screens.
- Removed fixed h-20 — footer now uses auto height with py-3 padding on mobile.
- Price label changed to uppercase tracking text at 10px on mobile, 12px on desktop.
- Amount: text-lg on mobile → text-3xl on desktop.
- Back button: light gray pill style, compact px-4 on mobile, full px-8 on desktop.
- Continue button: teal pill with arrow, compact on mobile, full-size on desktop.
Step 2 Sticky Footer Redesigned for Mobile
Step 2's payable premium sticky footer had a fixed h-20 height with large BACK/CONTINUE buttons and text that wrapped on small screens. The layout was cramped and an icon was visually overlapping.
- Removed fixed h-20 — footer now auto-sizes with py-3 on mobile, fixed h-20 on desktop.
- Price label condensed: 'TOTAL PAYABLE' in uppercase tracking style at 10px.
- Amount text: text-lg on mobile → text-3xl on desktop.
- Placeholder text shortened: 'Select a plan first' instead of long em-dash sentence.
- Back button: replaced dark bg-slate-500 with light gray pill (bg-slate-100), compact sizing on mobile.
- Continue button: teal pill with arrow suffix, compact px-5 on mobile, px-8 on desktop.
- Both buttons use py-2.5 on mobile and fixed h-11 on desktop.
Changelog Page Updated — v1.03 Entries Added (LOG-012 to LOG-018)
All changes from the 25 August 2026 session were added to the live changelog page at /changelog, not the CHANGELOG.md file.
- Added 7 new timeline entries (LOG-012 to LOG-018) to TIMELINE_DATA in app/changelog/page.js.
- Updated header banner to Version 1.03, date to 25 August 2026, and update count to 17.
- Updated bottom banner and footer to reference v1.03.
- Confirmed: CHANGELOG.md is not the source of truth — the live /changelog page is.
Mobile Plan Card Benefits Reformatted — Full-Width Single Column
The benefit rows inside mobile plan cards were in a 2-column grid causing text truncation (e.g. 'Accci...', 'Physioth...'). Replaced with a clean single-column list showing full benefit names.
- Replaced grid grid-cols-2 benefit grid with a divide-y single-column list inside each card.
- Each row now shows full benefit name on the left and value right-aligned — no truncation.
- Alternating bg-white / bg-gray-50/50 row stripes added for scannability.
- Card redesigned with distinct header (teal tint when selected) and body sections using overflow-hidden.
- Icon box updated with a bordered style for unselected state for clearer visual state.
Removed Duplicate Chubb Logo from Mobile Banner
The mobile-only compact hero banner in Step 1 was showing a second Chubb logo already present in the top navbar, causing visual clutter.
- Removed the <Image src='/chubb-logo.svg' /> block from the lg:hidden mobile banner in Wizard.js.
- Banner now cleanly shows step label, title, and subtitle only.
Promo Column Hidden on Mobile — Form Takes Full Width
On mobile, the left PromoLeftColumn was rendering before the form in a stacked grid, pushing the form far down the page and causing overlap with its sticky positioning.
- Added hidden lg:flex to PromoLeftColumn so it is completely hidden on mobile and tablet.
- Added a lg:hidden compact dark hero banner above the form on mobile with step label and title.
- Hid the desktop dark form header on mobile with hidden lg:block to avoid duplication.
- Reduced form inner padding from p-8 → p-4 md:p-6 lg:p-8 for proper spacing on small screens.
- Removed min-h-[800px] height constraint that was forcing unwanted height on mobile.
Form Fields Properly Labelled with htmlFor / id / autoComplete
Step 1 form inputs had no id, name, or htmlFor attributes — labels were not linked to inputs, clicking a label did not focus the field, and browser autofill was broken.
- Added id='field-{field}' to every <input> and <select> element.
- Added matching htmlFor='field-{field}' to every <label>.
- Added name attribute to all inputs for correct form semantics.
- Added autoComplete tokens: name, email, tel, bday, street-address, country-name.
- Added inputMode='email' on email field and inputMode='tel' on phone field for mobile keyboards.
- Added maxLength={20} on IC/Passport and maxLength={12} on phone number.
Plan Tier Table Replaced with Stacked Cards on Mobile
The plan tier comparison table had min-w-[700px] forcing a horizontal scroll on mobile, which was poor UX for a selection flow.
- Added a md:hidden stacked card layout — each plan renders as a tappable card with icon, name, price, and benefit rows.
- Wrapped the original comparison table in hidden md:block so desktop view is completely unchanged.
- Selected card state highlights with teal border and a checkmark Selected badge.
Individual / Family Coverage Auto-Selection Removed
'Individual Plan' was pre-selected by default on Step 2. Users must now manually choose a coverage category before proceeding.
- Changed familyType initial state from 'Individual' → null in Wizard.js (initial state + resetWizard).
- Added familyType validation to validateStep2() — blocks CONTINUE if not selected.
- Added errors.familyType red ⚠ error message below the coverage category buttons in Step2.js.
- Updated pricing useMemo to return zero-state when familyType is null.
Plan Tier & Add-On Auto-Selection Removed
Plan 1 and 'No Add-On' were auto-selected on Step 2. Users must now click to make their own selections.
- Changed planTier from 1 → null and addonType from 'NA' → null in Wizard.js.
- Added validateStep2() function that blocks navigation to Step 3 if no plan tier is selected.
- Step 2 sticky footer now shows '— Select a plan to see price —' instead of RM 0.00 when no plan is chosen.
- Passed errors prop down to Step2.js to surface the plan tier error message below the table.
- Pricing useMemo safely returns zero-state when planTier is null to prevent runtime errors.
Hero Title 'Personal Accident for You and Your Family' Scaled to 45px
Updated the primary left hero promo heading font size to 45px (text-[45px]) with Kanit Medium typography.
- Applied text-[45px] on the primary h2 heading in Wizard.js.
- Enforced font-kanit with leading-tight for clean line heights.
Dedicated Single-Page Changelog & Sticky Navigation
Created the standalone /changelog route with motion-by-motion timeline tracking and integrated a non-intrusive floating sticky pill on the main app.
- Added app/changelog/page.js with timeline layout, exact timestamps, and categorized change badges.
- Added floating sticky pill ('Changelog v1.02 ↗') on bottom-right of page.js with pulse indicator.
- Added top navigation bar badge linking directly to release notes.
Nationality & Date of Birth Converted to Full-Width Stacked Rows
Separated Nationality and Date of Birth from a shared 2-column row into individual stacked full-width rows for maximum clarity and consistency.
- Converted Nationality select into an individual full-width row.
- Converted Date of birth (DD/MM/YYYY) datepicker into an individual full-width row.
- Ensured all 7 input fields in Step 1 follow an identical, clean vertical rhythm.
Tightened Vertical Spacing Above Terms Checkbox
Eliminated double-nested margin-bottom and parent flex gap that was creating an excessive 44px gap between Mailing address and the Terms box.
- Removed space-y-6 container override on Step 1 wrapper.
- Added -mt-1 margin pull to ensure smooth 12px spacing between the last input and Terms box.
- Balanced button margin to create a compact, balanced form flow.
Mandatory Terms Confirmation Checkbox & 'Get started' CTA
Added mandatory statement checkbox with external links and inline validation error handling, and updated the CTA label from 'Continue' to 'Get started'.
- Added statement: 'I understand and agree to the Terms and Conditions, Privacy Policy and confirm that I meet all local regulations.'
- Embedded clickable URLs to live Doctorshield Terms of Use and Privacy Policy pages.
- Implemented inline red validation (red-2 border, red-50 background, red checkbox, error message).
- Renamed submit CTA button to 'Get started'.
Step 5 Payment Confirmed Screen Proportions & Spacing Polish
Redesigned the payment success screen to eliminate awkward whitespace and match Doctor Shield's clean layout.
- Reduced top banner padding from pt-10 down to pt-5 pb-5 with mb-2 icon spacing.
- Structured Policy Certificate Details table with live status badge and policyholder details.
- Organized Complimentary Services and Cancellation & Free-Look terms into a 2-column card grid.
- Added 'Close & Start New Journey' button with complete wizard state reset.
Plan Tiers Comparison Table Data Set to Minimum 14px
Increased table body text size across all benefit rows and tier amounts from 12px (text-xs) to minimum 14px (text-[14px]) with p-4 cell padding.
- Updated tbody font styling to text-[14px].
- Increased cell padding to p-4 across row names and all 4 plan tier benefit values.
- Maintained highlighted column styling for the selected tier (bg-[#e6f7f8]/60).
Add-On Card Titles Formatted to Exactly 16px
Updated the heading font size of all 3 horizontal Add-on cards to 16px (text-[16px]) with bold styling.
- Updated 'No Add-On' card title to 16px.
- Updated 'Add-On 1: Medical Expenses Reimbursement' card title to 16px.
- Updated 'Add-On 2: Temporary Disablement Benefit' card title to 16px.
Unified Amber Alerts, Compact 10px Gap & 18px Heading
Standardized Direct Distribution Channel and Important Reminder alert boxes to share identical styling, set 10px gap, increased heading to 18px, and added inline declaration error handling.
- Unified both amber boxes with rounded-xl, border-amber-200, bg-amber-50, and identical Info icon layout.
- Grouped both alert boxes into a dedicated container with gap-2.5 (10px) to prevent parent spacing interference.
- Set 'Policy Documents & Product Disclosures' heading font size to 18px (text-[18px]).
- Added inline red error handling (border-red-500, bg-red-50/60) to the mandatory declaration checkbox.
5-Step Journey: Plan & Coverage Moved to Dedicated Step 2
Extracted Plan & Coverage selection out of Step 1 into a dedicated full-screen Step 2 with sticky bottom footer, shifting subsequent steps to Step 3, 4, and 5.
- Created Step2.js with full-width container (max-w-[1400px]) and sticky bottom footer.
- Implemented interactive Coverage Category selector (Individual / Family).
- Built side-by-side Plan 1 to 4 benefits matrix table with live price calculation.
- Converted Add-Ons into 3 horizontal selectable cards with dynamic tier pricing.
- Shifted Disclosures to Step 3, Summary & Payment to Step 4, and Payment Confirmed to Step 5.
Google Font Kanit Medium (500) & Joyful Doctor Family Asset
Configured Kanit Medium 500 across all headings, generated new joyful Malaysian doctor and family photography, and reduced hero line spacing.
- Imported Google Font Kanit (Medium 500) in layout.js and globals.css, strictly enforcing max 500 weight.
- Merged floating core coverage headings into a single <h3> with leading-tight to fix excessive line height.
- Generated and deployed joyful Malaysian doctor with family photo (/doctor-family.jpg) with priority caching.
- Replaced text-based brand mark with authentic vector SVG (/db-ja.svg).
ShieldGuard PA v1.03 Live
All changes compiled and verified with real-time state management.