Commit graph

258 commits

Author SHA1 Message Date
Tracewebstudio Dev
aa8696bf9f chore: trigger gitea pipeline 2026-04-28 19:07:37 +02:00
Tracewebstudio Dev
f386b0c298 chore: checkpoint workspace updates 2026-04-26 23:58:43 +02:00
Tracewebstudio Dev
35abb6e7aa fix: add Authorization header to all dashboard apiFetch calls; change Buy Credits/Buy Now buttons to BTN_ORANGE 2026-04-22 01:32:43 +02:00
Tracewebstudio Dev
6a4688c854 style: match role dashboard UI to admin solid dashboard - card padding 14px radius 16px, input height 36px, label 11px uppercase, tab underline style, title 18px #111827 2026-04-22 01:26:36 +02:00
Tracewebstudio Dev
188de040ae fix: MyDashboardPage reads role from URL directly, skips stale prop closure; loadRoleBundle uses auth; no fallback config fetch 2026-04-22 01:13:56 +02:00
Tracewebstudio Dev
f1e46e35e7 fix: RequireAuth hydration mismatch using Show component
- Use module-level signal for clientReady to persist across re-renders
- Use Show component for reactive rendering instead of manual null returns
- createEffect handles redirect when client is ready but no token
- onMount sets clientReady after hydration completes
- Dashboard now shows correct TUTOR role sidebar with Leads/My Responses
- Playwright test verifies TUTOR dashboard renders with correct sidebar items
2026-04-22 00:54:08 +02:00
Tracewebstudio Dev
aa79b30465 fix: RequireAuth hydration mismatch and role resolution
- RequireAuth: use setTimeout to defer clientReady=true until after hydration completes, preventing SSR/client mismatch
- dashboard.tsx: add SSR guard to return empty div on server
- playwright tests for dashboard role verification
2026-04-22 00:36:12 +02:00
Tracewebstudio Dev
87a741540b fix: RequireAuth no fallback UI, client-only check 2026-04-21 23:58:09 +02:00
Tracewebstudio Dev
1990b5c99d fix: remove RequireAuth render-time loading spinner causing SSR/hydration mismatch
The loading spinner in RequireAuth caused a hydration error: on SSR the session was available so children rendered, but during client hydration session.loading was true so the spinner rendered instead, causing DOM mismatch (null nextSibling).

Also includes role resolution priority fixes from previous session:
- prefer preferredRole when backendRole is JOB_SEEKER but preferredRole is not
- pass role via URL param to dashboard
- urlRoleLocked signal prevents auth effects from overriding URL role
2026-04-21 23:56:19 +02:00
Tracewebstudio Dev
159b051ac8 fix: resolve role resolution priority - backend roles override localStorage
- login.tsx: pass role via URL param to dashboard instead of relying on localStorage
- dashboard.tsx: add urlRoleLocked signal to prevent auth effects from overriding URL-passed role
- auth.tsx: trust passed-in role over re-reading from localStorage in saveUser
2026-04-21 21:50:57 +02:00
Tracewebstudio Dev
e1a0a5400c ci: trigger 2026-04-19 19:27:32 +02:00
Tracewebstudio Dev
0d43edc97e ci: trigger with fixed secrets 2026-04-19 18:21:01 +02:00
Tracewebstudio Dev
7a4532c534 ci: fix docker login with --password-stdin and explicit registry 2026-04-19 18:13:34 +02:00
Tracewebstudio Dev
a5d86beaf5 ci: add DOCKER_HOST for DinD, use high-performance-latest tag 2026-04-19 18:10:05 +02:00
Tracewebstudio Dev
bf26edf084 ci: trigger 2026-04-19 18:07:07 +02:00
Tracewebstudio Dev
c007945b9a ci: use plain docker buildx commands instead of docker/build-push-action 2026-04-19 18:06:38 +02:00
Tracewebstudio Dev
8437fc5324 ci: trigger fresh 2026-04-19 17:52:02 +02:00
Tracewebstudio Dev
4cab6befe4 ci: trigger 2026-04-19 17:42:59 +02:00
Tracewebstudio Dev
a38e5e51f3 ci: trigger 2026-04-19 16:37:02 +02:00
Tracewebstudio Dev
0944d4f4e3 ci: trigger on high-performance push 2026-04-19 16:35:27 +02:00
Tracewebstudio Dev
f332d78f14 ci: trigger 2026-04-19 16:32:43 +02:00
Tracewebstudio Dev
8affd4b113 ci: trigger sync 2026-04-19 16:26:43 +02:00
Tracewebstudio Dev
8053cf5af7 ci: fetch before push, use force-with-lease 2026-04-19 15:59:50 +02:00
Tracewebstudio Dev
89d8d3be32 ci: trigger 2026-04-19 15:51:52 +02:00
Tracewebstudio Dev
c4df2c4d4e ci: use GITEA_SECRET 2026-04-19 15:43:35 +02:00
Tracewebstudio Dev
e9f9edf0da ci: fix permissions 2026-04-19 15:37:47 +02:00
Tracewebstudio Dev
b06ce52456 ci: add sync-to-gitea workflow 2026-04-19 15:33:27 +02:00
Tracewebstudio Dev
800bd4b5c6 ci: remove sync-to-gitea workflow (not needed) 2026-04-19 15:32:15 +02:00
Tracewebstudio Dev
67d20520ac ci: add GitHub Actions workflow to sync to Gitea 2026-04-19 15:20:00 +02:00
Tracewebstudio Dev
d9fb4c333e ci: test Gitea sync 2026-04-19 01:00:00 +02:00
Tracewebstudio Dev
fc09fbc50b ci: trigger Gitea Actions 2026-04-19 00:47:17 +02:00
Tracewebstudio Dev
daee90eea7 ci: remove woodpecker, using Gitea Actions 2026-04-19 00:26:58 +02:00
Tracewebstudio Dev
e344d28bbc ci: update Gitea Actions workflow with docker/build-push-action 2026-04-19 00:04:55 +02:00
Tracewebstudio Dev
0a1543fb3f ci: add Gitea Actions workflow 2026-04-19 00:02:49 +02:00
Tracewebstudio Dev
04e26abb07 ci: trigger woodpecker 2026-04-18 19:12:03 +02:00
Tracewebstudio Dev
af9ab03788 ci: trigger woodpecker 2026-04-18 19:09:05 +02:00
Tracewebstudio Dev
8c150e5945 ci: trigger woodpecker 2026-04-18 19:04:37 +02:00
Tracewebstudio Dev
f18c89d7fe ci: trigger woodpecker 2026-04-18 18:07:41 +02:00
Tracewebstudio Dev
61fcfcb547 ci: trigger woodpecker 2026-04-18 16:21:40 +02:00
Tracewebstudio Dev
6cf2eb8f20 ci: trigger woodpecker 2026-04-18 13:12:47 +02:00
Tracewebstudio Dev
3898c0cf81 ci: trigger woodpecker 2026-04-17 19:54:27 +02:00
Tracewebstudio Dev
03df98a979 ci: allow insecure registry for self-signed TLS cert 2026-04-17 17:32:27 +02:00
Tracewebstudio Dev
bb6db6c166 fix: correct API endpoint paths from /api/gateway/api to /api
- signup.tsx: fix check-email, register, verify-email, resend-otp paths
- login.tsx: fix check-email, login, resend-otp, verify-email paths
- forgot-password.tsx: fix forgot-password, reset-password paths
- contact.tsx: fix support/tickets path

The gateway expects /api/auth/... but frontend was calling /api/gateway/api/auth/...
2026-04-17 17:00:10 +02:00
Tracewebstudio Dev
34f46f09bd fix: route auth register via gateway proxy 2026-04-17 11:56:08 +02:00
Tracewebstudio Dev
bda6d495bc ci: fix kaniko builds and base images 2026-04-17 03:04:01 +02:00
Tracewebstudio Dev
221df53a1e ci: build and push with kaniko 2026-04-17 03:00:36 +02:00
Tracewebstudio Dev
2576dbe5b5 ci: stop treating registry host as secret 2026-04-17 02:39:50 +02:00
Tracewebstudio Dev
6adea89da1 ci: trigger woodpecker (2026-04-17-2) 2026-04-17 02:26:26 +02:00
Tracewebstudio Dev
8367bba802 ci: wire woodpecker registry secrets 2026-04-17 02:05:50 +02:00
Tracewebstudio Dev
40ca36a923 ci: trigger woodpecker (2026-04-17) 2026-04-17 02:02:55 +02:00