0.3.0: ricerca nel testo, caselle di spunta toccabili, tag

- Ricerca nel testo: la cartella viene percorsa ricorsivamente e le note .md
  scaricate una alla volta (il WebDAV non cerca nel contenuto), con avanzamento,
  possibilità di fermare e il passaggio che contiene la parola. La ricerca per
  titolo nella lista resta istantanea.
- Caselle di spunta: "- [ ]" e "- [x]" diventano caselle toccabili
  nell'anteprima; il tocco riscrive quella sola riga e salva subito, e l'editor
  segue (senza, uscendo riscriverebbe la versione vecchia sul server).
- Tag: front-matter (tags: [a, b], lista a trattini o separata da virgole) e
  #tag nel testo; pastiglie in cima all'anteprima, #tag toccabili, nuova
  schermata Tag con il conteggio per tag. Il blocco front-matter non viene più
  stampato come testo.
- tests/qml_contract_check.py: confronta i nomi JS e le proprietà usati dalla
  QML con i sorgenti, le pagine raggiungibili e i parametri dei gestori dei
  segnali — la classe di errori che la compilazione non vede.
- Catalogo italiano aggiornato (25 stringhe nuove); repo ripulito dai residui di
  build e .gitignore esteso.
This commit is contained in:
kaneda committed 2026-11-08 20:55:22 +01:00
1 parent aab29c76cb
commit 8259297a27
15 files changed
+1280 -64

No files matched your search

+12 -1
View File
@@ -47,6 +47,16 @@ Page {
if (notify) banner.show(qsTr("Saving..."), false)
}
// Called by the preview when it changes the note (a checked box): the text
// typed here must follow, or leaving the editor would write the old version
// back over the server copy. `saved` says whether the change already
// reached the server, and therefore whether the note is still dirty.
function externalUpdate(text, saved) {
if (saved) initialContent = text
editor.text = text
dirty = !saved
}
Connections {
target: dav
onFileReady: {
@@ -100,7 +110,8 @@ Page {
MenuItem {
text: qsTr("Preview")
onClicked: pageStack.push(Qt.resolvedUrl("PreviewPage.qml"),
{ dav: page.dav, noteName: page.noteName, notePath: page.notePath, markdown: editor.text })
{ dav: page.dav, noteName: page.noteName, notePath: page.notePath,
markdown: editor.text, owner: page })
}
MenuItem {
text: qsTr("Delete note")