Skip to content

Feat/sq lite audit logging - #12

Merged
tylerlv3 merged 5 commits into
mainfrom
feat/SQLite-audit-logging
Nov 22, 2025
Merged

Feat/sq lite audit logging#12
tylerlv3 merged 5 commits into
mainfrom
feat/SQLite-audit-logging

Conversation

@CarlosVasquez04

Copy link
Copy Markdown
Collaborator

Summary

I added SQLite persistence for audit logs and sensor history on the backend and wired the frontend logs modal to read from the same database. I also created a shared query that powers both the API endpoint and the UI so there is a single source of truth for log data

Type

  • [ X] Feature
  • Fix
  • Docs
  • Chore

Testing

  1. Start the backend trigger some panel and group commands.
  2. Then open the Logs view and confirm new entries appear
  3. Restart backend and frontend and confirm previous log entries still show up
  4. Use the filters and sorting in the Logs view and confirm they match what is stored in SQLite

Risk and rollout

Risk is low since this only adds a local SQLite database for logs

Checklist

  • Issue linked if applicable
  • Added or updated docs
  • [X ] CI green
  • At least one reviewer not the author

@tylerlv3
tylerlv3 merged commit 6f2b2c1 into main Nov 22, 2025
1 check passed
@tylerlv3
tylerlv3 deleted the feat/SQLite-audit-logging branch February 23, 2026 20:56
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.

2 participants