Add local-first SPA architecture and containerized production deploy.

Move data access to use-cases and IndexedDB repositories with optional
remote fallback, changelog/sync ports, and encrypted local backup.
Add production Docker Compose (nginx frontend + optional backend) and
Apache host proxy configuration for deployment.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-29 16:08:02 +03:00
co-authored by Cursor
parent b668ee8507
commit 5e0af42fce
37 changed files with 1117 additions and 51 deletions
+3 -3
View File
@@ -160,17 +160,17 @@ const newRel = ref({
interaction_intensity: 'intense',
})
const contactId = computed(() => Number(route.params.id))
const contactId = computed(() => route.params.id)
const contactRelations = computed(() =>
store.relations.filter(
(r) => r.source === contactId.value || r.target === contactId.value
(r) => String(r.source) === String(contactId.value) || String(r.target) === String(contactId.value)
)
)
const otherContacts = computed(() =>
store.contacts
.filter((c) => c.id !== contactId.value)
.filter((c) => String(c.id) !== String(contactId.value))
.slice()
.sort((a, b) => a.name.localeCompare(b.name, 'ru'))
)