Custom Fields: Handle Deletion of custom fields, closes #199 #206
Labels
No labels
bug
duplicate
enhancement
help wanted
high priority
invalid
L
low priority
M
medium priority
needs refinement
question
S
UX research
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: local-it/mitgliederverwaltung#206
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/custom-field-deletion"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description of the implemented changes
The changes were:
#199
Definition of Done
Code Quality
Accessibility
Testing
Great! 🎊
@ -68,1 +70,4 @@</.table><%!-- Delete Confirmation Modal --%><dialog :if={@show_delete_modal} id="delete-custom-field-modal" class="modal modal-open">One minor thing: The focus of the keyboard is not automatically set to the dialog. But I think we can have a seperate accessibility issue for that if you cannot take care of that easily now. Same of the contrast of the orange buttons, but that's a general thing.
@ -69,0 +86,4 @@count: @custom_field_to_delete.assigned_members_count)}</p><p class="text-sm mt-2">Cool that you already thought about the confirmation dialog, I like the way with entering the text 👍
@ -69,0 +97,4 @@<div><label for="slug-confirmation" class="label"><span class="label-text">{gettext("To confirm deletion, please enter the custom field slug:")}Just a minor thing: The text is not wrapped and partly hidden (at least for me in the browser). And maybe we can just say: please enter the following text. Because the term slug might be confusing for the user.
@ -48,6 +50,8 @@ defmodule MvWeb.CustomFieldLive.Show do<.list><:item title="Id">{@custom_field.id}</:item><:item title="Slug">{@custom_field.slug}</:item>In general: Maybe we should not show the slug to the user as it is not relevant for them and they probably do not know what is it?
In the confirmation dialog we can maybe just write "text" instead of slug? :) Or phrase?
da04ca2626to8ba15eb16b