From af3c9853c0a9968891fd32ecda26c2856d448a01 Mon Sep 17 00:00:00 2001 From: Padreug Date: Thu, 21 May 2026 12:30:00 +0200 Subject: [PATCH] feat(activities): edit button on user-owned events MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pencil button in the card footer of upcoming events the current user owns (event.wallet ∈ currentUser.wallets). Clicking opens the same CreateEventDialog in edit mode, pre-populated with the event. Probe `is_admin` and `auto_approve` once at mount so the dialog can render the "going back to pending" warning copy accurately for non-admin owners. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/modules/activities/views/EventsPage.vue | 97 ++++++++++++++++++--- 1 file changed, 84 insertions(+), 13 deletions(-) diff --git a/src/modules/activities/views/EventsPage.vue b/src/modules/activities/views/EventsPage.vue index ab4feb8..2a4adac 100644 --- a/src/modules/activities/views/EventsPage.vue +++ b/src/modules/activities/views/EventsPage.vue @@ -1,5 +1,5 @@ @@ -83,7 +137,7 @@ function handleEventCreated() {
- @@ -128,9 +182,9 @@ function handleEventCreated() {
- + + @@ -189,10 +252,18 @@ function handleEventCreated() {