[REFACTOR]: Refactor Datafields UI to route-based edit flow (LiveView best practice) #449

Open
opened 2026-02-26 12:42:01 +01:00 by carla · 0 comments
Owner

Context / Problem

On /admin/datafields we currently render overview + edit form within the same LiveView/component tree. This leads to UI inconsistencies (overview elements visible behind the edit view, modals can cause other sections to re-appear) and requires parent/child messaging to manage edit state.

Goal

Refactor the Datafields area to a route-driven flow using live_action (overview vs edit memberfield vs edit customfield).
The edit view should only show the “Datafields” header + the edit form. Overview should show both sections.
Modals (e.g. delete) must not cause the overview to re-render in the background.

## Context / Problem On /admin/datafields we currently render overview + edit form within the same LiveView/component tree. This leads to UI inconsistencies (overview elements visible behind the edit view, modals can cause other sections to re-appear) and requires parent/child messaging to manage edit state. ## Goal Refactor the Datafields area to a route-driven flow using live_action (overview vs edit memberfield vs edit customfield). The edit view should only show the “Datafields” header + the edit form. Overview should show both sections. Modals (e.g. delete) must not cause the overview to re-render in the background.
carla added the
M
low priority
labels 2026-02-26 12:42:01 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: local-it/mitgliederverwaltung#449
No description provided.