feat(libra): show voided transactions in standalone #92
No reviewers
Labels
No labels
app:activities
app:chat
app:events
app:forum
app:libra
app:market
app:restaurant
app:tasks
app:wallet
app:webapp
bug
enhancement
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
aiolabs/webapp!92
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/libra-show-voided"
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?
Summary
tags.includes('voided')so the count/sum/list don't pick up voided entries (which keep flag=!per the libra reject convention) once the backend stops filtering them.Context
Per libra reject semantics, voided entries keep the
!flag and append avoidedtag inline. Detection in the UI is tag-based —getStatusInfonow takes the whole transaction and returns the Voided variant when the tag is present, regardless of flag.Backend companion
aiolabs/libraPRfeat/show-voided-user-entriesremoves the backend filter that was silently dropping voided entries from/libra/api/v1/entries/user. Merge order doesn't matter, but the UX only feels right with both in place.Test plan
/libra.html): voided transactions appear in the history with strike-through styling and a grey Voided icon