Implement card deletion #19
Labels
No labels
bug
duplicate
enhancement
help wanted
hw/MateCard
invalid
meta
missing core feature
question
sw/FTM
sw/Web
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AfRA/AfRApay#19
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
This still needs a confirmation dialog
.Web - Implement card deletionto Implement card deletionI've implemented a basic card deletion confirmation dialog.
Still need to actually render the card preview into the dialog.
As well as modifying
async Task RenderCard(...)
to render a card without the delete button nor blurring enabled.Shouldn't be too difficult, but I'm struggling with not properly understanding C# here.
For now just displays the card number as a placeholder instead.
Further testing shows that something seems to be breaking the JS that opens the modal dialog when certain strings are used for the cardID (i.e. just numbers).
Strings might need to be properly escaped during insertion.