Repository navigation
Releases: tanishqmudaliar/Trippr
Releases · tanishqmudaliar/Trippr
Release list
v1.5.2 — UI Polish, Searchable Client Selector & Metric Truncation Fixes
Added
- Searchable Client Selector Modal: Introduced
ClientSelectormodal component matching the design ofFleetVehicleSelector, featuring instant search, client rate metadata badges (Base Fare, Extra KM, Extra Hr), quick client creation shortcut, and keyboard navigation. - Explicit Unit Formatting Utility: Added
formatDurationWithUnits(decimalHours)andformatExtraTimeBadge(decimalHours)to render explicit, readable duration badges (hrs,mins) across cards, badges, and metrics. - Indian Plate Chip on Recent Invoices: Integrated Indian jurisdiction detection and styled registration plate chips (
IND • MH,IND • BH) onto Recent Invoices cards on the dashboard.
Changed
- Unified Card Components: Standardized Recent Duty Entries on the dashboard to use the exact
DutyEntryCardcomponent from/entries, displaying client name clearly, reorganized metric badges (+21 km,+5 hrs 30 mins,Toll: ₹650, and custom additional charges), and aligned time below total running and distance below time. - Equal-Width Action Buttons on Mobile:
- In
/dashboard: Styled "All Time" and "Last 30 Days" reporting window toggle buttons to match/invoicesegmented tabs, and made "Log Duty" and "Create Invoice" take equal 50/50 width. - In
/entries: Configured "Import Log", "Export", and "Add Entry" buttons to render as an equal 3-column grid on mobile viewports.
- In
- Streamlined Fleet Vehicle Selector: Removed vehicle model/car name from the
FleetVehicleSelectortrigger button, presenting only the clean number plate chip. - Streamlined Manage Invoices Cards: Removed car icon and vehicle model from invoice cards in
/invoice(Manage Invoices).
Fixed
- Metric Value Truncation Bug: Resolved
1552 hrs 10 mi..truncation across/entries"Total Duration" summary card and/statistics"Extra Waiting"MetricCardby removingtruncate, applyingbreak-words leading-tight, and adding responsive font sizing and native hover tooltips. - Net Billed Total Overlap & Spacing in Manage Invoices: Reduced Net Billed Total font size to
text-sm sm:text-base font-bold, added top spacing (mt-0.5 sm:mt-1.5 block), and enforced safety padding and separation preventing collisions with the vehicle registration plate chip on narrow viewports.
v1.5.1 — UI/UX Unification, Indian Jurisdiction Detection & Invoice Fleet Integration
Added
- Indian Vehicle Plate Detection Engine: Real-time parsing and jurisdiction identification across all 28 States, 8 Union Territories, historical RTO codes, and Ministry of Road Transport & Highways (MoRTH) Bharat Series (
BH) number plates (YY BH #### XX), complete with smart badge indicators (IND • MH,IND • BH). - Invoice & Fleet Relational Integration: First-class
vehicleIdforeign key relationship on tax invoices connecting them to fleet vehicles, supported by a searchableFleetVehicleSelectormodal with real-time plate validation and manual override fallback. - Deep Tab Navigation: Support for URL hash (
#manage,#create) and search parameters on/invoiceallowing direct cross-page navigation from statistics and dashboard cards.
Changed
- Cross-App UI/UX Design System Unification:
- Matched Recent Duty Entries cards to Recent Invoices visual tokens (
rounded-2xl, status badges, client affiliation rows, and structured layout). - Applied the dark elevated enterprise pipeline gradient (
bg-linear-to-br from-navy-950 via-navy-900 to-navy-950) with saffron accents to both Dashboard Billed Revenue hero card and Create Invoice Summary breakdown card. - Simplified Manage Invoices by pruning obsolete filter toggles and redundant badges.
- Matched Recent Duty Entries cards to Recent Invoices visual tokens (
- Environment & Secret Management:
- Standardized on
.env.localfor local secrets and.env.exampleas configuration template, removing redundant duplicate.env.
- Standardized on
- Documentation Standards:
- Updated
README.mdto reflect unified card tokens, fleet integration, and Indian jurisdiction badges. - Updated
CHANGELOG.mdadhering to Keep a Changelog standards.
- Updated
Fixed
- Manage Invoices Mobile Layout: Prevented vehicle registration numbers from getting squeezed on mobile viewports using no-wrap containers and responsive fleet label concealment.
- Statistics Chart Category Collision & Tooltip Bug: Fixed client identity collision in Recharts Top Clients by Billed Revenue chart by indexing uniquely on
clientId, adding uncolliding axis labels, and custom high-precision hover tooltips showing exact billing figures. - Statistics Invoice Routing: Fixed View Invoices link navigating to Create Invoice instead of the Manage Invoices archive.
v1.5.0 — Permanent Cloud Sync, SaaS Redesign & Mobile Viewport Enhancements
Added
- Permanent Google Drive Connection: OAuth 2.0 authorization code flow with offline refresh token support (
/api/auth/google/tokenand/api/auth/google/refresh), providing persistent cloud connection and silent background token renewal without re-login prompts. - Dynamic Cloud Storage Indicator: Real-time status indicator in sidebar displaying
Local + Cloudwith a pulsating sync icon and sync timestamp when Google Drive is connected, orLocal-Firstwhen offline. - SEO & Web Standards: Dynamic
robots.txt,sitemap.xml, canonical URLs, Open Graph images/meta tags, and structured JSON-LD data for search indexing. - Automated Security & CI Pipeline: GitHub Actions continuous integration, CodeQL vulnerability scanning, and automated security dependency management.
Changed
- Comprehensive UI/UX Production Redesign:
- Elevated dark SaaS design system with refined slate surfaces, emerald/cyan accents, and Framer Motion micro-interactions.
- Re-engineered dashboard with hero KPI revenue tile, responsive metric strips, and quick duty entry action bars.
- Redesigned recent invoices section into a spacious multi-tier layout without text truncations.
- Modernized tax invoice generator with detailed itemized breakdown and net total calculations in Indian numbering format (Lakhs, Crores).
- Streamlined settings center with fleet cards, client rates, and cloud backup configuration.
- Updated onboarding wizard with company logo and signature upload controls.
- Mobile Viewport & Typography Optimization:
- Full-width adaptive action buttons in mobile view for invoice creation and analytics filters.
- Dynamic company name word-wrapping in the mobile sidebar drawer to prevent clipping on long business names.
- Responsive numeric typography on mobile KPI tiles to eliminate layout overflows.
- Next.js Route Transition:
- Added
data-scroll-behavior="smooth"attribute to root<html>element to prevent smooth-scrolling warnings during client-side route transitions.
- Added
- Documentation Standards:
- Updated
README.mdfollowing the Unified Project README standard with complete architecture diagrams, environment configurations, and dependency tables.
- Updated
Fixed
- Overlapping company logo and placeholder upload regions in onboarding wizard across mobile and desktop viewports.
- Horizontal viewport overflow in dashboard recent invoices section on narrow screens.
- Action button width and alignment disparities on mobile screens for invoice and statistics pages.
Security
- Replaced vulnerable legacy
xlsxspreadsheet parsing package with modern, secureread-excel-fileandwrite-excel-filelibraries. - Upgraded core dependencies including Next.js 16.3.8, React 19.3.0, TypeScript 7.0.2, Tailwind CSS 4.3.3, Framer Motion 13.4.4, Lucide React 1.48.0, and PostCSS 8.5.28.
v1.4.0 — Improved Sync Error Handling
Added
- GoogleDriveAuthError class for clearer Google Drive sync error handling
Changed
- Improved session management for Google Drive sync
v1.3.0 — Auth Reliability Fix
Fixed
- Google auth connection now retained on silent refresh failure, preserving localStorage state
Changed
- README updated with Architecture and Configuration sections
v1.2.0 — Google Drive Sync Versioning
Added
- .env.example for Google Client ID configuration
- Versioning support for Google Drive sync file management
Changed
- Enhanced Terms of Service page layout and content
- Removed legacy InvoiceConfig type; updated Invoice interface
v1.1.0 — Cancelled Entries & IndexedDB Storage
Added
- Cancelled entry tracking with remarks, excluded from invoices and stats
- IndexedDB storage for logo/signature images with localStorage fallback
Changed
- Refactored invoice entry display into a reusable DutyEntryCard component
v1.0.0 — Initial Release
Initial release of Trippr, an offline-first duty and invoice management app for transport businesses, built with Next.js and Zustand.
Added
- Offline-first duty and invoice management app
- Custom 404 page with animations and navigation options
- Duration formatting in InvoicePDFDocument
Changed
- README overhaul with tech badges, overview, install steps, and project structure