feat(database): add account-scoped database manager

This commit is contained in:
Codex committed 2026-09-28 18:55:30 +08:00
1 parent 1606c41f43
commit 33e80a566e
18 files changed
+444 -25

No files matched your search

+50 -1
View File
@@ -9,7 +9,56 @@
"calendar": "CALENDAR",
"system": "SYSTEM",
"browser": "BROWSER",
"terminal": "TERMINAL"
"terminal": "TERMINAL",
"database": "DATABASE"
},
"db": {
"title": "Database Manager",
"loginBody": "Inspect and edit the records stored for your current account.",
"server": "Server",
"username": "Username",
"password": "Password",
"warningTitle": "Direct database access",
"warningBody": "Changes here write to the cloud database immediately. Invalid JSON or deleted records can affect your Life OS data. Export a backup before making major changes.",
"acknowledge": "I understand I am directly editing my database records.",
"login": "Enter database",
"connected": "Connected to your account's records.",
"sessionExpired": "The database session expired. Sign in again.",
"requestFailed": "Database request failed.",
"ownData": "CURRENT ACCOUNT ONLY",
"directMode": "Direct record editor · changes are saved to D1",
"logout": "Log out",
"tables": "Tables",
"memories": "Memories",
"goals": "Goals",
"tasks": "Tasks",
"museum": "Favorites",
"profile": "Profile",
"settings": "Settings",
"system": "System",
"refresh": "Refresh",
"newRecord": "New record",
"newRevision": "new",
"count": "{count} records",
"empty": "No records in this table.",
"selectRow": "Select a row to inspect its JSON.",
"recordId": "Record ID",
"json": "Record JSON",
"editorHint": "Keep the ID in the JSON identical to the record ID. A conflict means this row changed since you opened it.",
"create": "Create",
"save": "Save",
"delete": "Delete",
"cancel": "Cancel",
"previous": "Previous",
"next": "Next",
"invalidJson": "The JSON is invalid.",
"idMismatch": "The JSON object and record ID do not match.",
"saveConfirm": "Write record {id} directly to the database?",
"deleteConfirm": "Delete record {id} from the database? This cannot be undone here.",
"saved": "Record saved.",
"deleted": "Record deleted.",
"reloadHint": "The desktop keeps a local cache. Reload after database changes to refresh other apps.",
"reloadDesktop": "Reload desktop"
},
"common": {
"save": "SAVE",