web-app/src
padreug 4e85488921 Simplify unclaim logic - only for claimed state
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>
2025-11-16 21:01:38 +01:00
..
assets Update index.html and vite.config.ts for dynamic app name and manifest adjustments 2025-09-06 19:16:24 +02:00
components Add transactions page with fuzzy search and success dialog for expenses 2025-11-13 09:57:28 +01:00
composables Add transactions page with fuzzy search and success dialog for expenses 2025-11-13 09:57:28 +01:00
core Adds expense tracking module 2025-11-07 16:21:59 +01:00
i18n feat: Integrate chat feature into main navigation 2025-08-10 10:50:14 +02:00
lib add env variable for lightning domain leveraging redirect capability 2025-10-16 00:53:06 +02:00
modules Simplify unclaim logic - only for claimed state 2025-11-16 21:01:38 +01:00
pages Adds dynamic quick actions via modules 2025-11-07 16:00:07 +01:00
app.config.ts Adds expense tracking module 2025-11-07 16:21:59 +01:00
app.ts Adds expense tracking module 2025-11-07 16:21:59 +01:00
App.vue Initializes theme on app load 2025-10-31 21:59:34 +01:00
main.ts Implement modular architecture with core services and Nostr integration 2025-09-04 23:43:33 +02:00
vite-env.d.ts PWA 2025-02-11 00:25:47 +01:00