Features
History
Every generation you've saved, searchable and re-usable.
The History page is an archive of every generation you explicitly chose to save (via the "Save to History" button on the Generate page, or automatically if you enable auto-save in Settings).
What's stored
For each generation, History keeps:
- The full output text
- The template name and category
- Provider and model used
- Word count
- A timestamp
- The original inputs (Topic, Tone, Audience — whatever the template asked for)
Storage is in localStorage under contentai-store → generations. The list is ordered most-recent first.
What you can do
Each row in the list lets you:
| Action | What happens |
|---|---|
| View | Opens a modal with the full formatted Markdown |
| Copy | Copies the raw Markdown to your clipboard |
| Download | Exports as .md |
| Save as Doc | Creates a Document in the Editor from this entry |
| Delete | Removes it from history (confirmation required) |
Searching and filtering
- Search matches against the output text, template name, and original inputs.
- Category filter — a dropdown at the top limits to one category.
- Provider filter — great when debugging "which provider wrote this?".
Bulk actions
Check the boxes to select multiple rows, then:
- Delete selected — removes them all (confirmation required)
- Export selected — downloads a ZIP of
.mdfiles
Clearing all history
The Clear all button at the top right deletes every generation. It does not delete your documents or API keys.
Privacy
Everything here is local to the browser. It never leaves your device unless you explicitly copy or download it.
Customization
Edit app/(dashboard)/history/page.tsx:
- Add pagination — the list currently renders all entries. For heavy users, add pagination or virtualized scrolling with
@tanstack/react-virtual. - Add tags — extend the
Generationinterface inlib/store.tsto includetags: string[]and let users tag entries inline. - Auto-save all generations — in
app/(dashboard)/generate/page.tsx, calladdGeneration()right after the response instead of only on button click.
Next: Settings →