veza/apps/web/src/utils
senke 172581ff02 chore(cleanup): remove orphan code + archive disabled workflows + .playwright-mcp
Triple cleanup, landed together because they share the same cleanup
branch intent and touch non-overlapping trees.

1. 38× tracked .playwright-mcp/*.yml stage-deleted
   MCP session recordings that had been inadvertently committed.
   .gitignore already covers .playwright-mcp/ (post-audit J2 block
   added in d12b901de). Working tree copies removed separately.

2. 19× disabled CI workflows moved to docs/archive/workflows/
   Legacy .yml.disabled files in .github/workflows/ were 1676 LOC of
   dead config (backend-ci, cd, staging-validation, accessibility,
   chromatic, visual-regression, storybook-audit, contract-testing,
   zap-dast, container-scan, semgrep, sast, mutation-testing,
   rust-mutation, load-test-nightly, flaky-report, openapi-lint,
   commitlint, performance). Preserved in docs/archive/workflows/
   for historical reference; `.github/workflows/` now only lists the
   5 actually-running pipelines.

3. Orphan code removed (0 consumers confirmed via grep)
   - veza-backend-api/internal/repository/user_repository.go
     In-memory UserRepository mock, never imported anywhere.
   - proto/chat/chat.proto
     Chat server Rust deleted 2026-02-22 (commit 279a10d31); proto
     file was orphan spec. Chat lives 100% in Go backend now.
   - veza-common/src/types/chat.rs (Conversation, Message, MessageType,
     Attachment, Reaction)
   - veza-common/src/types/websocket.rs (WebSocketMessage,
     PresenceStatus, CallType — depended on chat::MessageType)
   - veza-common/src/types/mod.rs updated: removed `pub mod chat;`,
     `pub mod websocket;`, and their re-exports.
   Only `veza_common::logging` is consumed by veza-stream-server
   (verified with `grep -r "veza_common::"`). `cargo check` on
   veza-common passes post-removal.

Refs: AUDIT_REPORT.md §8.2 "Code mort / orphelin" + §9.1.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-20 20:33:40 +02:00
..
__tests__ chore(cleanup): remove orphan code + archive disabled workflows + .playwright-mcp 2026-04-20 20:33:40 +02:00
aggressiveVisualFix.ts ui(shell): strip destructive CSS injection from fixDisplayIssues 2026-02-08 22:51:11 +01:00
apiErrorHandler.test.ts chore(refactor/sumi-migration): commit pending changes — tests, stream server, dist_verification 2026-02-13 19:39:18 +01:00
apiErrorHandler.ts stabilisation commit: while implementing v0.10.5 2026-03-09 19:36:33 +01:00
apiToastHelper.test.ts chore(refactor/sumi-migration): commit pending changes — tests, stream server, dist_verification 2026-02-13 19:39:18 +01:00
apiToastHelper.ts state-ownership: delete unused optimisticStoreUpdates.ts file 2026-01-15 19:26:53 +01:00
broadcastSync.ts state-ownership: extend broadcastSync to invalidate React Query cache 2026-01-15 19:25:13 +01:00
cdn.ts feat(web): add CDN support for assets and audio 2026-02-14 22:44:06 +01:00
contrast.ts fix(web): resolve all 568 TypeScript errors — tsc --noEmit now passes with zero errors 2026-02-13 00:32:08 +01:00
csp.ts feat(v0.501): Sprint 5 -- integration, tests, and cleanup 2026-02-22 18:40:07 +01:00
date.test.ts feat(v0.12.7): internationalisation i18n — FR/EN/ES avec formatage locale 2026-03-12 14:29:22 +01:00
date.ts feat(v0.12.7): internationalisation i18n — FR/EN/ES avec formatage locale 2026-03-12 14:29:22 +01:00
errorMessages.test.ts api-contracts: replace ApiError interface with Zod-inferred type 2026-01-15 17:03:35 +01:00
errorMessages.ts feat: UI components, services, utils, i18n, and routing 2026-03-23 15:46:42 +01:00
firstTime.ts cognitive-load: add first-time user detection utility 2026-01-16 02:33:46 +01:00
fixDisplayIssues.ts chore(web): remove console.log in prod, address TODO/FIXME for v0.101 2026-02-19 19:01:42 +01:00
fixInputFocus.ts refactor: Phase 3a — Global color class migration to SUMI semantics 2026-02-12 01:51:49 +01:00
format.test.ts fix(a11y): fix heading hierarchy h1→h3 gaps on 8 pages 2026-03-25 10:14:18 +01:00
format.ts feat: UI components, services, utils, i18n, and routing 2026-03-23 15:46:42 +01:00
formValidation.ts cleanup: remove unused imports (Cleanup 15 - batch 1) 2026-01-16 12:19:06 +01:00
gridOverlay.ts chore(web): remove console.log in prod, address TODO/FIXME for v0.101 2026-02-19 19:01:42 +01:00
idNormalization.test.ts incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
idNormalization.ts incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
logger.test.ts chore(refactor/sumi-migration): commit pending changes — tests, stream server, dist_verification 2026-02-13 19:39:18 +01:00
logger.ts fix(storybook): disable logger network send in Storybook 2026-02-05 12:16:23 +01:00
networkErrorTracker.ts api-contracts: replace ApiError interface with Zod-inferred type 2026-01-15 17:03:35 +01:00
offlineDetection.ts incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
optimisticUpdates.ts fix: resolve ts-ignore directives and unsafe type casts 2026-02-12 22:21:55 +01:00
persistWithMigration.ts feat(web): add Zustand store migration strategy 2026-02-14 22:43:06 +01:00
queryClientSingleton.ts state-utilities: update stateInvalidation to work with React Query 2026-01-15 19:38:47 +01:00
reactQuerySync.ts feat: UI components, services, utils, i18n, and routing 2026-03-23 15:46:42 +01:00
reduxDevToolsEnabled.ts feat(ui): Sidebar refactor, premium skeletons, ContentFadeIn transitions 2026-02-10 22:51:51 +01:00
reportIssue.ts refactor(frontend): eliminate ~45 'any' types in production code 2026-02-22 17:44:49 +01:00
safeNavigate.ts chore(web): remove console.log in prod, address TODO/FIXME for v0.101 2026-02-19 19:01:42 +01:00
safeStorage.ts edge-cases: implement Edge 5.1 and 5.2 - browser compatibility fallbacks 2026-01-16 14:21:03 +01:00
sanitize.test.ts incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
sanitize.ts feat(marketplace): add rich text description with sanitization 2026-02-22 14:14:27 +01:00
serviceErrorHandler.test.ts api-contracts: replace ApiError interface with Zod-inferred type 2026-01-15 17:03:35 +01:00
serviceErrorHandler.ts chore(refactor/sumi-migration): commit pending changes — tests, stream server, dist_verification 2026-02-13 19:39:18 +01:00
stateHydration.ts chore(release): v0.602 — Payout, Dette Technique & Tests E2E 2026-02-23 22:32:01 +01:00
stateInvalidation.ts feat: UI components, services, utils, i18n, and routing 2026-03-23 15:46:42 +01:00
storeSelectors.ts feat(v0.12.7): internationalisation i18n — FR/EN/ES avec formatage locale 2026-03-12 14:29:22 +01:00
timeoutHandler.test.ts incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
timeoutHandler.ts state-ownership: delete unused optimisticStoreUpdates.ts file 2026-01-15 19:26:53 +01:00
toast.ts fix: stabilize frontend — 98 TS errors to 0, align API endpoints, optimize bundle 2026-03-24 21:18:49 +01:00
typeGuards.test.ts incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
typeGuards.ts stabilisation commit: while implementing v0.10.5 2026-03-09 19:36:33 +01:00
url.test.ts incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
url.ts fix(web): resolve all 568 TypeScript errors — tsc --noEmit now passes with zero errors 2026-02-13 00:32:08 +01:00
validation.test.ts refonte: backend-api go first; phase 1 2025-12-12 21:34:34 -05:00
validation.ts incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00