Skip to content

feat: add history manager to track AI responses and transformations#273

Open
saurondark22 wants to merge 2 commits into
theJayTea:mainfrom
saurondark22:history-manager
Open

feat: add history manager to track AI responses and transformations#273
saurondark22 wants to merge 2 commits into
theJayTea:mainfrom
saurondark22:history-manager

Conversation

@saurondark22
Copy link
Copy Markdown

@saurondark22 saurondark22 commented Jun 5, 2026

This PR adds a full history tracking system that lets users browse, search, and reuse their past AI-generated responses and text transformations across sessions.

Changes:

  • Added history_manager.py — a dedicated module for persisting and querying history entries with metadata (timestamp, original text, transformed text, provider used, tool applied)
  • Added ui/HistoryWindow.py — a full scroll able UI window for browsing history, expand-collapse each history entry.
  • Integrated history tracking into WritingToolApp.py — all AI responses and transformations are automatically saved after generation

Key features:

  • Persistent storage across application restarts.
  • expand-collapse each history entry.
  • Tracks which provider and tool generated each result.
  • saved in history.json in same executable folder

Why this matters: Users frequently want to revisit or reuse previous AI outputs. Without history, these are lost once the popup closes sometimes destructive when undo unavailable. This makes WritingTools significantly more useful for iterative writing workflows.

I'll keep this as a draft for now, test it myself, compile a list of quality‑of‑life improvements, and also examine what happens as the history builds up.

@saurondark22 saurondark22 marked this pull request as ready for review June 6, 2026 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant