Refine unclaim button visibility to prevent confusing UX where users could "unclaim" status updates they didn't claim. Changes: - Only show "Unclaim" button when task is in "claimed" state - Remove "Unclaim" button from in-progress and completed states - Maintain check that current user must be the claimer Rationale: - Prevents confusion where user marks task in-progress but sees "Unclaim" - "Unclaim" makes sense only for the original claim action - Users can still update status (mark in-progress/complete) on any task - But only the claimer can unclaim the original claim Example scenarios: - Alice claims task → Alice sees "Unclaim" button - Bob marks Alice's task as in-progress → Bob does NOT see "Unclaim" - Only Alice can unclaim, reverting task to unclaimed state This simple rule prevents UX confusion until we implement full per-user status tracking. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| assets | ||
| components | ||
| composables | ||
| core | ||
| i18n | ||
| lib | ||
| modules | ||
| pages | ||
| app.config.ts | ||
| app.ts | ||
| App.vue | ||
| main.ts | ||
| vite-env.d.ts | ||