feat(ui): add database stats card on database page
Show table info (entry count, oldest/newest dates, total DB size) in a new card on the database page, with auto-refresh and i18n support. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -92,7 +92,13 @@
|
||||
"dangerZone": "Danger Zone",
|
||||
"dangerWarning": "Warning: This action is irreversible!",
|
||||
"emptyAllTables": "Empty all sensor tables",
|
||||
"emptyTablesNote": "Note: Configuration and timestamp tables will be preserved."
|
||||
"emptyTablesNote": "Note: Configuration and timestamp tables will be preserved.",
|
||||
"statsTitle": "Database Information",
|
||||
"statsDbSize": "Total size:",
|
||||
"statsTable": "Table",
|
||||
"statsCount": "Entries",
|
||||
"statsOldest": "Oldest",
|
||||
"statsNewest": "Newest"
|
||||
},
|
||||
"logs": {
|
||||
"title": "The Log",
|
||||
|
||||
Reference in New Issue
Block a user