PocketMind AI
Back to app

Changelog

Every version of PocketMind AI, what changed, and when. Format follows Keep a Changelog.

Unreleased

In working treeUnreleased

Full multilingual interface: English, Portuguese, and Spanish ship simultaneously. Every UI string, CSV header, and guided-tour step is now localised.

  • AddedMultilingual UI — EN / PT / ES. i18n system in src/lib/i18n/: en.ts (200+ keys, source of truth), pt.ts, es.ts, and index.tsx with LocaleProvider, useLocale(), and useT() hooks. Locale persisted to localStorage (pocketmind.locale). {{placeholder}} interpolation supported.
  • AddedLanguage selector — compact flag + <select> dropdown in the top bar (LanguageSelector.tsx).
  • ChangedAll UI strings localised across PocketMindApp.tsx, DocumentQaPanel.tsx, GuidedTour.tsx; CSV export column headers and cell values (csv.ts now accepts a t parameter).
  • NoteAI prompt instructions remain in English. documentQa.ts instructs the model to reply in the language of the question. Sample tender text stays in English for v1.

0.3.0

Guided Tour & DocsLatest

In-app guided tour walks new users through the full workflow in 9 steps without leaving the app. Complete user-facing documentation suite.

  • AddedGuided Tour (GuidedTour.tsx) — 9-step onboarding overlay. Spotlight highlights target elements with smooth CSS transitions. Dismissed state persisted to localStorage (pocketmind.tour.completed). Keyboard navigation (← →, Enter, Escape). Focus management and aria-modal dialog semantics. Replayable via a Take a tour button in the sidebar.
  • Added236 lines of tour CSS — spotlight ring with OKLCH overlay, popover enter animation (pm-tour-pop / pm-tour-modal-pop), progress buttons, skip link, and sidebar replay button.
  • AddedUser-facing documentation: docs/POCKETMIND_USER_GUIDE.md (12 chapters, verbatim app UI strings, full NB-2026-114 walkthrough), docs/POCKETMIND_VIDEO_STORYBOARD.md (10 scenes, narration script, recording checklist), docs/POCKETMIND_POWERPOINT.md (12-slide deck with speaker notes).
  • AddedREADME.md hackathon abstract (#BuildHybridAI 2026): problem statement, Firebase AI Logic runtime usage with file references, non-obvious use case argument, audience, and submission-period scope.

0.2.0

Document Q&A & OCRStable

Ask questions about any tender document and get structured answers that separate facts from hypotheses. Optional LlamaParse OCR for scanned PDFs and optional Firecrawl external legal research.

  • AddedDocument Q&A panel (DocumentQaPanel.tsx, 588 lines). Answers structured as stated facts / working hypotheses / still-to-verify. Cited excerpts verified against extracted page text. Page citations withheld when pagination is unverified.
  • AddedBrowser speech input — dictation via Web Speech API (Use microphone / Stop listening). Transcript not sent to AI until the user submits.
  • AddedPer-answer text-to-speech via browser speech synthesis (Read answer aloud / Stop reading).
  • AddedFirecrawl external legal research (server-side only, legalResearch.functions.ts). Off by default; requires separate consent checkbox. Sends only question + jurisdiction + country code — never the PDF. Results labeled "verify authority and current status".
  • AddeddocumentQa.ts — model prompt separates facts, conditional hypotheses, and unresolved questions in structured JSON response. verifyQuestionCitations checks every quoted excerpt.
  • AddedLlamaParse OCR — optional path for scanned/sparse PDFs (< 100 extracted chars, or ≥ 5 pages averaging < 20 chars/page). Per-document consent independent of Firebase cloud consent. Unverified citations flagged for human review.
  • AddedUnit tests: ocr-review.test.ts (80 lines), document-qa.test.ts (94 lines).
  • ChangedPocketMindApp.tsx +227 lines — scanned-PDF detection flow, external OCR consent UI, pre-analysis Q&A view, externalOcrAvailability state.
  • Changedstyles.css +371 lines — Q&A panel, citations, research sources, speech input, pagination note, inline error, composer styles.

0.1.0

Core productStable

Full four-screen application — Dashboard, Document analysis, Compliance matrix, and Processing & privacy — with Firebase AI Logic hybrid inference, in-browser PDF extraction, and CSV/JSON export.

  • AddedFour-screen SPA: Dashboard, Document analysis, Compliance matrix, Processing & privacy.
  • AddedDashboard — four metric cards (Documents in workspace, Requirements extracted, Critical risks, Pending reviews), Recent tender documents table with processing/status badges, Upload a tender tile, Review queue.
  • AddedDocument analysis — filter chips (All findings / Requirements / Deadlines / Specifications / Risks / Missing & inconsistencies), two-column source/findings layout, per-finding page link, Source verified / Verify source badge, Export JSON.
  • AddedCompliance matrix — six-column table, category and status filters, Source evidence side panel with Review notes textarea, Export CSV.
  • AddedProcessing & privacy — four mode cards (On-device only PRIVATE, Cloud AI GEMINI, Hybrid inference ON-DEVICE FIRST, Sample data DEMO). Explicit cloud consent checkbox (session-scoped, resets on reload). Process flow strip.
  • AddedFirebase AI Logic (firebaseAi.ts, 112 lines) — InferenceMode.PREFER_ON_DEVICE for hybrid mode; ON_DEVICE_ONLY and DEFAULT for the other modes. Actual inference source (on-device, cloud, cloud-fallback) surfaced to the user after every analysis. Firebase shown as connected only after a real model response is received.
  • AddedApp Check — debug provider for local development (token to browser console, not committed). Production requires reCAPTCHA Enterprise.
  • AddedTender analysis (tenderAnalysis.ts, 297 lines) — structured JSON prompt; requirements, deadlines, specifications, risks, missing information, inconsistencies. Citations verified against extracted page text via verifyEvidence.
  • AddedIn-browser PDF extraction (documentProcessing.ts) — PDF.js, one string per page, 20 MB limit enforced before extraction.
  • AddedSample tender (sampleTender.ts) — fictional City of Northbridge NB-2026-114 (6 pages, 5 deliberate risks). DEMO_LABEL applied throughout UI.
  • AddedDesign system — Manrope (body) + Sora (display), navy/blue/white OKLCH color tokens, 2137-line styles.css baseline.
  • AddedPRODUCT.md, Apache License 2.0, Vercel deployment configuration, unit tests for CSV and tender analysis.

0.0.1

ScaffoldStable

TanStack Start TypeScript template.

  • AddedTanStack Start TypeScript project scaffold.