feat: add persistent history log and TUI History tab#128
Conversation
|
@riyapetle is attempting to deploy a commit to the pie's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
Hi @pie-314! 👋 I have successfully submitted the Pull Request implementing the persistent transaction history tab as requested. The new I have attached all the requested screenshots, reproducibility steps, and implementation details directly in the PR description. Let me know if any adjustments or changes are needed during your review! |
|
@riyapetle you have to raise pr in dev branch |
|
@pie-314 I have just updated the base branch of this Pull Request to point to |
Resolves #58
📝 Details
This PR introduces a persistent history log and a new History tab in the TUI, allowing users to easily track what packages were installed or removed over time.
src/history.rs): Securely tracks and writesinstallandremoveevents to~/.local/state/trx/history.log(or respects$XDG_STATE_HOMEif set).chronodependency to utilize precise UTC ISO8601 timestamps.src/ui/app.rs&src/ui/draw.rs):Historytab cleanly integrated into the navigation cycle.k/j,Up/Down,Home/End).INSTALL, Error red forREMOVE).📸 Screenshots
🔄 Reproducibility
To test this feature locally:
cargo run.