Skip to content

feat: add SQLite persistent history with full-text search (closes #125)#200

Open
RavindiFernando wants to merge 1 commit into
imDarshanGK:mainfrom
RavindiFernando:feat/sqlite-persistent-history
Open

feat: add SQLite persistent history with full-text search (closes #125)#200
RavindiFernando wants to merge 1 commit into
imDarshanGK:mainfrom
RavindiFernando:feat/sqlite-persistent-history

Conversation

@RavindiFernando
Copy link
Copy Markdown
Contributor

Description

Add SQLite-based persistent history with full-text search. Analysis results are now saved server-side in a SQLite database via aiosqlite. The history panel saves to the backend API after each analysis and falls back to localStorage when the backend is unavailable.

Related Issue

Fixes #125

Type of change

  • Bug fix
  • New feature / enhancement
  • Documentation update
  • Test addition
  • Refactor

Checklist

  • I have read CONTRIBUTING.md
  • My branch is up to date with main
  • I have run pytest -v and all tests pass
  • I have not introduced duplicate issues or features
  • My PR title follows the format: feat/fix/docs/test: short description
  • I have added tests for new features (Level 2 and 3 issues)
  • No hardcoded secrets or API keys in my code
  • This PR is linked to a GSSoC 2026 issue

Screenshots (if frontend change)

N/A - backend-only change with frontend JS update (no visible UI change)

Test evidence

pytest -v output :
image

API demo:
image

@imDarshanGK
Copy link
Copy Markdown
Owner

@RavindiFernando resolve the conflicts

@RavindiFernando RavindiFernando force-pushed the feat/sqlite-persistent-history branch from 3e7faf9 to ba336f6 Compare May 21, 2026 11:22
@RavindiFernando RavindiFernando force-pushed the feat/sqlite-persistent-history branch from ba336f6 to acab9e6 Compare May 22, 2026 06:34
@RavindiFernando
Copy link
Copy Markdown
Contributor Author

@imDarshanGK ,
Conflicts resolved.

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.

Add SQLite-based persistent history with full-text search

2 participants