Commit graph

178 commits

Author SHA1 Message Date
Ashwin Kumar
bcb940f3f1 Update buy and packages pages to load real data from API
- wallet/buy.tsx: createResource fetches /api/packages?role= instead of hardcoded bundles
- packages.tsx: replaced stub with real package list from API; shows type badge, price, tracecoin amount

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-02 18:11:54 +02:00
Ashwin Kumar
3209d13011 feat: wire help center and article pages to live KB API
- help-center.ts: replace static HELP_ARTICLES array with async fetch* functions (fetchHelpCenterArticles, fetchHelpCenterCategories, fetchArticleBySlug); legacy sync shims kept for safety
- support/index.tsx: switched from createMemo(static) to createResource(async API) with loading states
- help-center/article/[slug].tsx: now fetches article from API via createResource; renders paragraphs split by double-newline; proper loading and not-found states
- New server-side API routes: /api/kb/articles, /api/kb/categories, /api/kb/articles/[slug] (proxy to Rust gateway, no auth required)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-02 13:36:16 +02:00
Ashwin Kumar
055dcd4175 feat(admin): wire management modules to live backend and add UGC role 2026-04-02 13:09:45 +02:00
Ashwin Kumar
2cd4cdcec3 chore: update package configuration 2026-03-26 20:57:53 +01:00
Ashwin Kumar
8d7cd3b9ef Refactor admin routes and add Storybook/Vitest setup 2026-03-26 06:18:07 +01:00
Ashwin Kumar
c14bf111a8 chore: cleanup — remove legacy redirect shims and localStorage token storage
- Delete 19 redirect alias pages (sign-in/signin/sign-up/signup, /users/* aliases,
  /companies/* aliases, /users/onboarding/* aliases) — legacy Next.js migration
  artifacts that are no longer needed
- Remove localStorage token functions (getAccessToken, setTokens, clearTokens,
  fetchWithAuth) from lib/http.ts — violates memory-only token strategy
- Fix auth/verification: replace setTokens + manual fetch with login() from auth.ts
- Fix ProfileWidget: replace fetchWithAuth with plain fetch (calls server routes)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 23:42:43 +01:00
Ashwin Kumar
ea31bcb1ff chore: update playwright debug log 2026-03-25 22:15:38 +01:00
Ashwin Kumar
9d196c483e chore: checkpoint current workspace changes 2026-03-25 22:15:09 +01:00
Ashwin Kumar
f16c7eb4dd feat: add users and companies dashboard route surfaces 2026-03-25 22:13:11 +01:00
Ashwin Kumar
0996f12227 Wire department and designation management to module CRUD backend 2026-03-25 21:32:03 +01:00
Ashwin Kumar
94d4623248 feat(admin): implement figma-aligned admin shell and management modules 2026-03-25 15:45:14 +01:00
Ashwin Kumar
d67e436828 feat(dashboard-parity): DashboardLayout runtime-config nav, auth hardening, onboarding UX
- DashboardLayout.tsx: fully runtime-config driven sidebar nav using
  MODULE_NAV_MAP, role switcher, guided tour spotlight overlay, responsive
  mobile drawer
- auth.ts: hardened JWT access token handling, httpOnly cookie refresh flow
- guided-tour-content.ts: expanded per-role tour steps for all modules
- gateway.ts: improved proxy with Set-Cookie forwarding for refresh token
- onboarding/complete.ts + schema.ts: refined onboarding completion flow
- login.ts + register.ts: cleaner error handling and response forwarding
- dashboard/index.tsx: role-based KPI cards from runtime-config
- jobs/index.tsx: status filters, post job action gated by requiresJobApproval
- marketplace/index.tsx + [id].tsx: leads browsing with tracecoin hold display
- requirements/index.tsx + [id].tsx: post requirement with profession-specific
  conditional fields, budget/timeline/mode, resubmit support
- portfolio/index.tsx: CRUD for photographer portfolio projects
- services/index.tsx: service management for marketplace professionals
- applications/index.tsx: jobseeker applied jobs list
- notifications.tsx: all/unread tabs, mark read, deep link routing
- settings.tsx: change password form
- wallet/index.tsx + ledger.tsx: tracecoin balance and transaction history
- onboarding.tsx: multi-step onboarding form with profession branching

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 00:45:51 +01:00
Ashwin Kumar
7baa38aa97 Refine onboarding UX, role cards, and runtime schema integration 2026-03-22 15:54:12 +01:00
Ashwin Kumar
4cf4a8c310 style(frontend): refine public page spacing and readability 2026-03-19 03:38:50 +01:00
Ashwin Kumar
bd709b0120 Finalize onboarding + role flow updates and public UI polish 2026-03-19 02:35:19 +01:00
Ashwin Kumar
9c10ef3bc6 test(frontend): add vitest tdd coverage for login redirect and role switch visibility 2026-03-19 00:58:29 +01:00
Ashwin Kumar
f3ef5f0aad feat(frontend): improve multi-role guidance and dashboard role switch UX 2026-03-19 00:53:36 +01:00
Ashwin Kumar
c435053810 feat(frontend): finalize onboarding, otp verification, and roleless dashboard flow 2026-03-19 00:30:33 +01:00
Ashwin Kumar
fee43e3655 feat: update solidstart frontend for rust backend migration 2026-03-17 20:42:55 +01:00
Ashwin Kumar
bf4b2558d8 feat: align solid public pages and auth flows with nextjs parity 2026-03-17 15:35:58 +01:00
Ashwin Kumar
e3b857a767 fix(frontend): add hero tilt animation and stronger landing parity 2026-03-17 00:35:37 +01:00
Ashwin Kumar
973ec59b69 feat(frontend): rebuild landing with parallax and carousel parity 2026-03-17 00:32:44 +01:00
Ashwin Kumar
10385d2e5d feat(frontend): add next parity batch for public routes 2026-03-17 00:21:34 +01:00
Ashwin Kumar
632fc0c7e9 feat(frontend): align public homepage closer to legacy design 2026-03-17 00:00:28 +01:00
Ashwin Kumar
d746fe00e1 feat(frontend): add about/contact pages and homepage CTAs 2026-03-16 23:52:43 +01:00
Ashwin Kumar
c21492bf31 feat(frontend): build public website home page in solid 2026-03-16 23:49:12 +01:00
Ashwin Kumar
6083f0e0fa feat(frontend): add solidstart runtime onboarding renderer 2026-03-16 23:46:21 +01:00
Ashwin Kumar
2cf3ff4d0b chore: bootstrap solid frontend repo with migration plan 2026-03-16 22:23:58 +01:00