Commit Graph

26 Commits

Author SHA1 Message Date
Usman Baig
a3c1af7c95 fix: frontend consistency audit — 55 files cleaned up
Consistency fixes:
- Extract getThisWeekRange/getThisMonthRange to shared lib/utils/dateRanges.ts
  (removed 4 identical copy-pasted definitions)
- Add error boundaries for behavior, cdn, search, pagespeed pages
  (4 new error.tsx files — previously fell through to generic parent error)
- Add "View setup guide" CTA to empty states on journeys and behavior pages
  (previously showed text with no actionable button)
- Fix non-lazy useState initializer in funnel detail page
- Fix Bot & Spam settings header from text-xl to text-2xl (matches all other sections)
- Add useMinimumLoading to PageSpeed skeleton (consistent with all other pages)

Cleanup:
- Remove 438 redundant dark: class prefixes (app is dark-mode only)
  text-neutral-500 dark:text-neutral-400 → text-neutral-400 (206 occurrences)
  text-neutral-900 dark:text-white → text-white (232 occurrences)
- Remove dead @stripe/react-stripe-js and @stripe/stripe-js packages
  (billing migrated to Polar, no code imports Stripe)
- Remove duplicate motion package (framer-motion is the one actually used)
2026-03-23 19:50:16 +01:00
Usman Baig
cd347ea072 feat: add illustrations to 404, error page, and welcome flow
- 404 page: replace large "404" text with page-not-found illustration
- ErrorDisplay: replace warning icon with server-down illustration
- Welcome step 1 (no orgs): welcome illustration
- Welcome step 4 (add site): website-setup illustration
- Welcome step 5 (done): confirmed illustration
All SVGs dark-themed with brand orange accent.
2026-03-23 15:40:01 +01:00
Usman Baig
2776c803f1 fix: use focus-visible for all button/tab/link focus rings across app
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 00:08:09 +01:00
Usman Baig
b88a31c612 feat: add character limits to site name and domain input fields to enhance form validation and user experience 2026-02-22 20:59:31 +01:00
Usman Baig
156d9986df fix: improve error messaging for various components to provide clearer feedback on failures 2026-02-22 19:17:20 +01:00
Usman Baig
4dead4b399 style: standardize gap sizes across multiple components for improved visual consistency 2026-02-21 23:48:03 +01:00
Usman Baig
0b68db58be style: standardize min-width values across multiple components for improved layout consistency 2026-02-21 23:39:29 +01:00
Usman Baig
8f8761ed3d style: standardize padding across multiple components for improved layout consistency 2026-02-21 23:29:50 +01:00
Usman Baig
e8e304e238 style: update heading sizes across various pages for improved typography consistency 2026-02-21 22:29:26 +01:00
Usman Baig
ae91147b6c chore: update @ciphera-net/ui dependency to version 0.0.57 in package.json and package-lock.json; refactor imports across multiple components for consistency 2026-02-17 20:49:55 +01:00
Usman
48a27acebc Merge branch 'main' into staging 2026-02-09 09:58:56 +01:00
Usman Baig
d35ef6e55a refactor: update terminology in layout content and welcome page to replace 'workspace' with 'organization' for consistency 2026-02-09 09:54:20 +01:00
Usman Baig
03fcfba180 chore: update @ciphera-net/ui dependency to version 0.0.49 and refactor terminology in layout content for consistency 2026-02-09 09:51:19 +01:00
Usman Baig
309ba53ec7 refactor: update terminology in welcome page for consistency, changing 'workspace' to 'organization' 2026-02-09 09:46:43 +01:00
Usman Baig
ead1e006dc fix: validate returnTo parameter in auth callback and update default organization name in welcome page 2026-02-09 09:38:44 +01:00
Usman Baig
a3e9bac119 fix: reset processing state on retry in auth callback and update loading overlay title in welcome page 2026-02-09 09:15:55 +01:00
Usman Baig
2f42f4eb98 feat: enhance loading state and organization selection UI on welcome page 2026-02-08 21:38:46 +01:00
Usman Baig
3e8edd188a fix: fetch full user profile after login in auth callback and welcome page to ensure correct display name 2026-02-08 21:36:42 +01:00
Usman Baig
34c854ed7c chore: rename workspaces to organizations, bump ciphera-ui to 0.0.49
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-08 21:07:33 +01:00
Usman Baig
827f16a217 feat: add VerificationModal component and enhance welcome page layout with improved accessibility and styling 2026-02-08 20:50:13 +01:00
Usman Baig
bd2aca7a76 feat: integrate ScriptSetupBlock component for improved site setup instructions and tracking script functionality across pages 2026-02-08 15:18:33 +01:00
Usman Baig
a7933443ef fix: update link in welcome page to open integrations in a new tab with appropriate security attributes 2026-02-08 14:50:03 +01:00
Usman Baig
b5f95a8abc feat: add integration setup options and script copying functionality to welcome page 2026-02-08 14:42:52 +01:00
Usman Baig
a211193277 feat: enhance welcome page with organization selection and workspace switching functionality 2026-02-08 14:21:38 +01:00
Usman Baig
58cfb6210b feat: add setup banner and site addition prompt to homepage; enhance welcome page with tracking and error handling 2026-02-08 14:09:54 +01:00
Usman Baig
c715bc4ce4 refactor: update routing logic to redirect to '/welcome' after auth callback and handle organization checks 2026-02-08 13:53:54 +01:00