fix(frontend): restore member self-assignment for shifts and tasks #2

Merged
MasterMito merged 1 commits from feature/fix-self-assignment into main 2026-03-08 19:13:29 +01:00
Owner

Root Cause:

  • Shift: Next.js 16.1.6 incompatible rewrite pattern caused runtime SyntaxError
  • Task: Missing self-assignment UI for member role

Fix:

  • Updated next.config.ts rewrite pattern from regex to wildcard syntax
  • Added "Assign to Me" button to task detail page with useSession integration
  • Added test coverage for self-assignment behavior with session mocks

Testing:

  • Lint: PASS (ESLint v9)
  • Tests: 47/47 PASS (Vitest v4.0.18)
  • Build: PASS (Next.js 16.1.6, 12 routes)

Ultraworked with Sisyphus

Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai

Root Cause: - Shift: Next.js 16.1.6 incompatible rewrite pattern caused runtime SyntaxError - Task: Missing self-assignment UI for member role Fix: - Updated next.config.ts rewrite pattern from regex to wildcard syntax - Added "Assign to Me" button to task detail page with useSession integration - Added test coverage for self-assignment behavior with session mocks Testing: - Lint: ✅ PASS (ESLint v9) - Tests: ✅ 47/47 PASS (Vitest v4.0.18) - Build: ✅ PASS (Next.js 16.1.6, 12 routes) Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
MasterMito added 1 commit 2026-03-08 19:10:45 +01:00
fix(frontend): restore member self-assignment for shifts and tasks
All checks were successful
CI Pipeline / Backend Build & Test (push) Successful in 1m12s
CI Pipeline / Frontend Lint, Test & Build (push) Successful in 35s
CI Pipeline / Infrastructure Validation (push) Successful in 4s
CI Pipeline / Backend Build & Test (pull_request) Successful in 52s
CI Pipeline / Frontend Lint, Test & Build (pull_request) Successful in 33s
CI Pipeline / Infrastructure Validation (pull_request) Successful in 4s
add4c4c627
Root Cause:
- Shift: Next.js 16.1.6 incompatible rewrite pattern caused runtime SyntaxError
- Task: Missing self-assignment UI for member role

Fix:
- Updated next.config.ts rewrite pattern from regex to wildcard syntax
- Added "Assign to Me" button to task detail page with useSession integration
- Added test coverage for self-assignment behavior with session mocks

Testing:
- Lint:  PASS (ESLint v9)
- Tests:  47/47 PASS (Vitest v4.0.18)
- Build:  PASS (Next.js 16.1.6, 12 routes)

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
MasterMito merged commit 1117cf2004 into main 2026-03-08 19:13:29 +01:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MasterMito/work-club-manager#2