Skip to content

refactor(frontend): group services into services/ws and services/audio (Phase 4)#20

Merged
revtex merged 1 commit intodevfrom
refactor/frontend-services-reorg
Apr 25, 2026
Merged

refactor(frontend): group services into services/ws and services/audio (Phase 4)#20
revtex merged 1 commit intodevfrom
refactor/frontend-services-reorg

Conversation

@revtex
Copy link
Copy Markdown
Owner

@revtex revtex commented Apr 25, 2026

Summary

Phase 4 of the directory restructure plan. Pure file moves with import-path updates; no runtime behaviour change.

File moves

From To
services/wsClient.ts services/ws/client.ts
services/wsClient.test.ts services/ws/client.test.ts
services/adminWsClient.ts services/ws/adminClient.ts
services/audioPlayer.ts services/audio/player.ts
services/beepPlayer.ts services/audio/beep.ts

services/downloadFilename.ts stays put (not WS, not audio).

All 12 @/services/* import sites across components, hooks, and tests have been updated to the new paths. Git tracked every move as a rename (history preserved).

Verification

  • pnpm exec tsc --noEmit — clean
  • pnpm test -- --run — 188/188 pass
  • Pre-existing eslint error in services/downloadFilename.ts (no-control-regex) is unchanged from dev and out of scope for this phase

Phase progress

CHANGELOG

Added one bullet under [Unreleased] ### Changed.

…o (Phase 4)

Phase 4 of the directory restructure plan. Pure file moves with
import-path updates; no runtime behaviour change.

- services/wsClient.ts        -> services/ws/client.ts
- services/wsClient.test.ts   -> services/ws/client.test.ts
- services/adminWsClient.ts   -> services/ws/adminClient.ts
- services/audioPlayer.ts     -> services/audio/player.ts
- services/beepPlayer.ts      -> services/audio/beep.ts

services/downloadFilename.ts stays put (not WS, not audio).

All @/services/* import sites across components, hooks, and tests
have been updated to the new paths. tsc --noEmit clean, 188/188
unit tests pass.
@revtex revtex merged commit 9204409 into dev Apr 25, 2026
7 checks passed
@revtex revtex deleted the refactor/frontend-services-reorg branch April 25, 2026 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant