feat(collections): show and edit the own notes of a saved place

A saved place has carried notes for a while (the API and the assistant write
them), but neither the phone sheet nor the desktop detail showed them, so
notes written there were invisible. Both now show them under the
description when there are any, and edit them beside it, through the shared
form hook.

Addresses discussion #3168.
This commit is contained in:
Maurice
2026-11-27 23:13:31 +01:00
parent 59b8d00373
commit dd1a117b92
32 changed files with 110 additions and 4 deletions
+2
View File
@@ -64,6 +64,8 @@ const collection: TranslationStrings = {
'collections.changeCover': 'تغيير الغلاف',
'collections.description': 'الوصف',
'collections.descriptionPlaceholder': 'أضف وصفًا…',
'collections.notes': 'ملاحظات',
'collections.notesPlaceholder': 'ملاحظاتك الخاصة…',
'collections.links': 'روابط',
'collections.linkLabel': 'التسمية',
'collections.addLink': 'إضافة رابط',
+2
View File
@@ -36,6 +36,8 @@ const collection: TranslationStrings = {
'collections.changeCover': 'Üzlüyü dəyiş',
'collections.description': 'Təsvir',
'collections.descriptionPlaceholder': 'Təsvir əlavə edin…',
'collections.notes': 'Qeydlər',
'collections.notesPlaceholder': 'Öz qeydləriniz…',
'collections.links': 'Linklər',
'collections.linkLabel': 'Etiket',
'collections.addLink': 'Link əlavə et',
+2
View File
@@ -36,6 +36,8 @@ const collection: TranslationStrings = {
'collections.changeCover': 'Alterar capa',
'collections.description': 'Descrição',
'collections.descriptionPlaceholder': 'Adicione uma descrição…',
'collections.notes': 'Notas',
'collections.notesPlaceholder': 'Suas anotações…',
'collections.links': 'Links', // same-as-en
'collections.linkLabel': 'Rótulo',
'collections.addLink': 'Adicionar link',
+2
View File
@@ -36,6 +36,8 @@ const collection: TranslationStrings = {
'collections.changeCover': 'Canviar portada',
'collections.description': 'Descripció',
'collections.descriptionPlaceholder': 'Afegeix una descripció…',
'collections.notes': 'Notes',
'collections.notesPlaceholder': 'Les teves notes…',
'collections.links': 'Enllaços',
'collections.linkLabel': 'Etiqueta',
'collections.addLink': 'Afegir enllaç',
+2
View File
@@ -43,6 +43,8 @@ const collection: TranslationStrings = {
'collections.changeCover': 'Změnit obálku',
'collections.description': 'Popis',
'collections.descriptionPlaceholder': 'Přidejte popis…',
'collections.notes': 'Poznámky',
'collections.notesPlaceholder': 'Vlastní poznámky…',
'collections.links': 'Odkazy',
'collections.linkLabel': 'Popisek',
'collections.addLink': 'Přidat odkaz',
+2
View File
@@ -36,6 +36,8 @@ const collection: TranslationStrings = {
'collections.changeCover': 'Titelbild ändern',
'collections.description': 'Beschreibung',
'collections.descriptionPlaceholder': 'Beschreibung hinzufügen…',
'collections.notes': 'Notizen',
'collections.notesPlaceholder': 'Eigene Notizen…',
'collections.links': 'Links', // same-as-en
'collections.linkLabel': 'Bezeichnung',
'collections.addLink': 'Link hinzufügen',
+2
View File
@@ -36,6 +36,8 @@ const collection: TranslationStrings = {
'collections.changeCover': 'Change cover',
'collections.description': 'Description',
'collections.descriptionPlaceholder': 'Add a description…',
'collections.notes': 'Notes',
'collections.notesPlaceholder': 'Your own notes…',
'collections.links': 'Links',
'collections.linkLabel': 'Label',
'collections.addLink': 'Add link',
+2
View File
@@ -36,6 +36,8 @@ const collection: TranslationStrings = {
'collections.changeCover': 'Cambiar portada',
'collections.description': 'Descripción',
'collections.descriptionPlaceholder': 'Añade una descripción…',
'collections.notes': 'Notas',
'collections.notesPlaceholder': 'Tus notas…',
'collections.links': 'Enlaces',
'collections.linkLabel': 'Etiqueta',
'collections.addLink': 'Añadir enlace',
+2
View File
@@ -36,6 +36,8 @@ const collection: TranslationStrings = {
'collections.changeCover': 'Muuda kaanepilti',
'collections.description': 'Kirjeldus',
'collections.descriptionPlaceholder': 'Lisa kirjeldus…',
'collections.notes': 'Märkmed',
'collections.notesPlaceholder': 'Sinu märkmed…',
'collections.links': 'Lingid',
'collections.linkLabel': 'Nimetus',
'collections.addLink': 'Lisa link',
+2
View File
@@ -36,6 +36,8 @@ const collection: TranslationStrings = {
'collections.changeCover': 'Changer la couverture',
'collections.description': 'Description', // same-as-en
'collections.descriptionPlaceholder': 'Ajouter une description…',
'collections.notes': 'Notes',
'collections.notesPlaceholder': 'Vos notes…',
'collections.links': 'Liens',
'collections.linkLabel': 'Libellé',
'collections.addLink': 'Ajouter un lien',
+2
View File
@@ -36,6 +36,8 @@ const collection: TranslationStrings = {
'collections.changeCover': 'Αλλαγή εξωφύλλου',
'collections.description': 'Περιγραφή',
'collections.descriptionPlaceholder': 'Προσθέστε μια περιγραφή…',
'collections.notes': 'Σημειώσεις',
'collections.notesPlaceholder': 'Οι σημειώσεις σας…',
'collections.links': 'Σύνδεσμοι',
'collections.linkLabel': 'Ετικέτα',
'collections.addLink': 'Προσθήκη συνδέσμου',
+2
View File
@@ -43,6 +43,8 @@ const collection: TranslationStrings = {
'collections.changeCover': 'החלפת שער',
'collections.description': 'תיאור',
'collections.descriptionPlaceholder': 'הוספת תיאור…',
'collections.notes': 'הערות',
'collections.notesPlaceholder': 'ההערות שלך…',
'collections.links': 'קישורים',
'collections.linkLabel': 'תווית',
'collections.addLink': 'הוספת קישור',
+2
View File
@@ -36,6 +36,8 @@ const collection: TranslationStrings = {
'collections.changeCover': 'Borító módosítása',
'collections.description': 'Leírás',
'collections.descriptionPlaceholder': 'Adjon hozzá leírást…',
'collections.notes': 'Jegyzetek',
'collections.notesPlaceholder': 'Saját jegyzetek…',
'collections.links': 'Hivatkozások',
'collections.linkLabel': 'Címke',
'collections.addLink': 'Hivatkozás hozzáadása',
+2
View File
@@ -29,6 +29,8 @@ const collection: TranslationStrings = {
'collections.changeCover': 'Ubah sampul',
'collections.description': 'Deskripsi',
'collections.descriptionPlaceholder': 'Tambahkan deskripsi…',
'collections.notes': 'Catatan',
'collections.notesPlaceholder': 'Catatan Anda…',
'collections.links': 'Tautan',
'collections.linkLabel': 'Label', // same-as-en
'collections.addLink': 'Tambah tautan',
+2
View File
@@ -36,6 +36,8 @@ const collection: TranslationStrings = {
'collections.changeCover': 'Cambia copertina',
'collections.description': 'Descrizione',
'collections.descriptionPlaceholder': 'Aggiungi una descrizione…',
'collections.notes': 'Note',
'collections.notesPlaceholder': 'Le tue note…',
'collections.links': 'Link',
'collections.linkLabel': 'Etichetta',
'collections.addLink': 'Aggiungi link',
+2
View File
@@ -29,6 +29,8 @@ const collection: TranslationStrings = {
'collections.changeCover': 'カバーを変更',
'collections.description': '説明',
'collections.descriptionPlaceholder': '説明を追加…',
'collections.notes': 'メモ',
'collections.notesPlaceholder': '自分用のメモ…',
'collections.links': 'リンク',
'collections.linkLabel': 'ラベル',
'collections.addLink': 'リンクを追加',
+2
View File
@@ -29,6 +29,8 @@ const collection: TranslationStrings = {
'collections.changeCover': '커버 변경',
'collections.description': '설명',
'collections.descriptionPlaceholder': '설명 추가…',
'collections.notes': '메모',
'collections.notesPlaceholder': '나만의 메모…',
'collections.links': '링크',
'collections.linkLabel': '레이블',
'collections.addLink': '링크 추가',
+2
View File
@@ -36,6 +36,8 @@ const collection: TranslationStrings = {
'collections.changeCover': 'Omslag wijzigen',
'collections.description': 'Beschrijving',
'collections.descriptionPlaceholder': 'Voeg een beschrijving toe…',
'collections.notes': 'Notities',
'collections.notesPlaceholder': 'Je eigen notities…',
'collections.links': 'Links', // same-as-en
'collections.linkLabel': 'Label', // same-as-en
'collections.addLink': 'Link toevoegen',
+2
View File
@@ -50,6 +50,8 @@ const collection: TranslationStrings = {
'collections.changeCover': 'Zmień okładkę',
'collections.description': 'Opis',
'collections.descriptionPlaceholder': 'Dodaj opis…',
'collections.notes': 'Notatki',
'collections.notesPlaceholder': 'Twoje notatki…',
'collections.links': 'Linki',
'collections.linkLabel': 'Etykieta',
'collections.addLink': 'Dodaj link',
+2
View File
@@ -50,6 +50,8 @@ const collection: TranslationStrings = {
'collections.changeCover': 'Изменить обложку',
'collections.description': 'Описание',
'collections.descriptionPlaceholder': 'Добавьте описание…',
'collections.notes': 'Заметки',
'collections.notesPlaceholder': 'Ваши заметки…',
'collections.links': 'Ссылки',
'collections.linkLabel': 'Название',
'collections.addLink': 'Добавить ссылку',
+2
View File
@@ -43,6 +43,8 @@ const collection: TranslationStrings = {
'collections.changeCover': 'Zmeniť obálku',
'collections.description': 'Popis',
'collections.descriptionPlaceholder': 'Pridajte popis…',
'collections.notes': 'Poznámky',
'collections.notesPlaceholder': 'Vlastné poznámky…',
'collections.links': 'Odkazy',
'collections.linkLabel': 'Popisok',
'collections.addLink': 'Pridať odkaz',
+2
View File
@@ -36,6 +36,8 @@ const collection: TranslationStrings = {
'collections.changeCover': 'Byt omslag',
'collections.description': 'Beskrivning',
'collections.descriptionPlaceholder': 'Lägg till en beskrivning…',
'collections.notes': 'Anteckningar',
'collections.notesPlaceholder': 'Egna anteckningar…',
'collections.links': 'Länkar',
'collections.linkLabel': 'Etikett',
'collections.addLink': 'Lägg till länk',
+2
View File
@@ -29,6 +29,8 @@ const collection: TranslationStrings = {
'collections.changeCover': 'เปลี่ยนปก',
'collections.description': 'คำอธิบาย',
'collections.descriptionPlaceholder': 'เพิ่มคำอธิบาย...',
'collections.notes': 'บันทึก',
'collections.notesPlaceholder': 'บันทึกของคุณ…',
'collections.links': 'ลิงก์',
'collections.linkLabel': 'ป้ายกำกับ',
'collections.addLink': 'เพิ่มลิงก์',
+2
View File
@@ -36,6 +36,8 @@ const collection: TranslationStrings = {
'collections.changeCover': 'Kapağı değiştir',
'collections.description': 'Açıklama',
'collections.descriptionPlaceholder': 'Bir açıklama ekleyin…',
'collections.notes': 'Notlar',
'collections.notesPlaceholder': 'Notlarınız…',
'collections.links': 'Bağlantılar',
'collections.linkLabel': 'Etiket',
'collections.addLink': 'Bağlantı ekle',
+2
View File
@@ -50,6 +50,8 @@ const collection: TranslationStrings = {
'collections.changeCover': 'Змінити обкладинку',
'collections.description': 'Опис',
'collections.descriptionPlaceholder': 'Додайте опис…',
'collections.notes': 'Нотатки',
'collections.notesPlaceholder': 'Ваші нотатки…',
'collections.links': 'Посилання',
'collections.linkLabel': 'Підпис',
'collections.addLink': 'Додати посилання',
+2
View File
@@ -29,6 +29,8 @@ const collection: TranslationStrings = {
'collections.changeCover': 'Đổi ảnh bìa',
'collections.description': 'Mô tả',
'collections.descriptionPlaceholder': 'Thêm mô tả…',
'collections.notes': 'Ghi chú',
'collections.notesPlaceholder': 'Ghi chú của bạn…',
'collections.links': 'Liên kết',
'collections.linkLabel': 'Nhãn',
'collections.addLink': 'Thêm liên kết',
+2
View File
@@ -29,6 +29,8 @@ const collection: TranslationStrings = {
'collections.changeCover': '更換封面',
'collections.description': '描述',
'collections.descriptionPlaceholder': '新增描述…',
'collections.notes': '備註',
'collections.notesPlaceholder': '你的備註…',
'collections.links': '連結',
'collections.linkLabel': '標籤',
'collections.addLink': '新增連結',
+2
View File
@@ -29,6 +29,8 @@ const collection: TranslationStrings = {
'collections.changeCover': '更换封面',
'collections.description': '描述',
'collections.descriptionPlaceholder': '添加描述…',
'collections.notes': '备注',
'collections.notesPlaceholder': '你的备注…',
'collections.links': '链接',
'collections.linkLabel': '标签',
'collections.addLink': '添加链接',