Show voided transactions in user-entries endpoint #34
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/show-voided-user-entries"
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
/api/v1/entries/userno longer silently drops transactions taggedvoided, so users can see their rejected entries instead of having them disappear from history.voidedtag (the reject convention keeps flag=!), giving the grey "Voided" icon precedence over the flag-based branch. Without this, voided rows would render as orange "Pending" once the backend stops filtering them.Context
Per libra reject semantics, rejected entries keep the
!flag and append avoidedtag inline for audit. The pending-approvals endpoint still filters voided — only the user-facing journal listing changes.Webapp companion
aiolabs/webappPRfeat/libra-show-voidedships the standalone UI changes (inline strike-through styling + Pending-section exclusion). Merge order doesn't matter, but the UX only feels right with both in place.Test plan
/libra/api/v1/entries/usernow returns voided entries for a regular user (e.g. Nancy)