diff --git a/README.fr.md b/README.fr.md index ca1b2a8..4dca7b3 100644 --- a/README.fr.md +++ b/README.fr.md @@ -191,6 +191,8 @@ avec sa propre clé. Une copie installée depuis F-Droid reçoit la 3.0.0 par F- élément vide la termine. - Épingler, favoris, couleurs, archives, corbeille (30 jours), ordre de tri, thème clair / sombre / système ; la liste à l'ouverture, **Toutes les notes** ou la **Boîte de réception** (3.5.0). +- **Recherche** : celle de l'accueil parcourt les notes qui ne sont pas archivées ; les **Archives** ont la + leur, dans leurs seules notes (3.5.0, [#72](https://github.com/gitubpatrice/notes_tech/issues/72)). ### Coffres par dossier - **Mode phrase secrète** — Argon2id (64 Mio, t = 3) et AES-256-GCM. La clé du coffre (32 octets diff --git a/README.md b/README.md index cbd9c05..839b005 100644 --- a/README.md +++ b/README.md @@ -179,6 +179,8 @@ A copy installed from F-Droid receives the 3.0.0 through F-Droid. Enter continues any list — a box, a bullet, the next number —; Enter on an empty item ends it. - Pin, favourites, colours, archive, trash (30-day retention), sort order, light / dark / system theme; the list the app opens on, **All notes** or the **Inbox** (3.5.0). +- **Search**: the home screen's looks through the notes that are not archived; the **Archive** has its own, + through its notes alone (3.5.0, [#72](https://github.com/gitubpatrice/notes_tech/issues/72)). ### Per-folder vaults - **Passphrase mode** — Argon2id (64 MiB, t = 3) and AES-256-GCM. The vault key (32 random bytes) is diff --git a/app/src/androidTest/java/com/filestech/notes_tech/data/local/LegacyDatabaseOpeningTest.kt b/app/src/androidTest/java/com/filestech/notes_tech/data/local/LegacyDatabaseOpeningTest.kt index ae3574b..c10b594 100644 --- a/app/src/androidTest/java/com/filestech/notes_tech/data/local/LegacyDatabaseOpeningTest.kt +++ b/app/src/androidTest/java/com/filestech/notes_tech/data/local/LegacyDatabaseOpeningTest.kt @@ -357,6 +357,26 @@ class LegacyDatabaseOpeningTest { assertThat(db.noteSearchDao().search("reunion").first()).isEmpty() } + /** + * D-051 (3.5.0, issue #72) : la recherche de la vue Archives trouve les notes archivées, et elles + * seules — le jumeau du test au-dessus. Et la garde du coffre y tient de même. + */ + @Test + fun la_recherche_des_archives_ne_trouve_que_les_notes_archivees(): Unit = runBlocking { + val db = openDatabase() + // Le témoin : pas encore archivée, la note est celle de l'accueil, pas des archives. + assertThat(db.noteSearchDao().search("reunion", archived = true).first()).isEmpty() + + listOf(LegacyDatabaseFixture.Fixtures.NOTE_PLAIN, LegacyDatabaseFixture.Fixtures.NOTE_LOCKED).forEach { + db.noteWriteDao().updateFlags(id = it, updatedAt = 9_999L, archived = true) + } + + assertThat(db.noteSearchDao().search("reunion", archived = true).first().map(NoteEntity::id)) + .containsExactly(LegacyDatabaseFixture.Fixtures.NOTE_PLAIN) + assertThat(db.noteSearchDao().search(LegacyDatabaseFixture.Fixtures.LOCKED_TITLE, archived = true).first()) + .isEmpty() + } + // ── 6. Refus sans destruction ──────────────────────────────────────────── @Test diff --git a/app/src/androidTest/java/com/filestech/notes_tech/ui/home/AccueilAuDemarrageTest.kt b/app/src/androidTest/java/com/filestech/notes_tech/ui/home/AccueilAuDemarrageTest.kt index bc314af..6e8b769 100644 --- a/app/src/androidTest/java/com/filestech/notes_tech/ui/home/AccueilAuDemarrageTest.kt +++ b/app/src/androidTest/java/com/filestech/notes_tech/ui/home/AccueilAuDemarrageTest.kt @@ -50,6 +50,8 @@ import java.time.ZoneOffset * The rule itself — which of saved state and setting wins — is `DossierAuDemarrageTest`, on the JVM. This * class checks that the view model applies it, and the control (the default) that it applies nothing * else. + * + * Also D-051 (3.5.0, issue #72), on the same real view model and database: the archive's own search. */ @RunWith(AndroidJUnit4::class) class AccueilAuDemarrageTest { @@ -161,6 +163,56 @@ class AccueilAuDemarrageTest { assertThat(sauvegarde.get(HomeViewModel.CLE_DOSSIER)).isNull() } + // ── D-051 (3.5.0, issue #72): the archive's own search ────────────────────────────────────────────── + + /** + * In the archive, the search looks through the archived notes alone; on the home screen, through the + * others alone. Leaving the archive clears its search, rather than going on through the other notes. + */ + @Test + fun the_archive_searches_its_own_notes_and_leaving_it_clears_the_search(): Unit = runBlocking { + val plain = LegacyDatabaseFixture.Fixtures.NOTE_PLAIN + notes.setArchived(plain, true) + // A second archived note WITHOUT the word: the whole archive is two notes, its search one — so a list + // that ignored the search could not pass for it. + val autreArchivee = notes.create(folderId = Folder.INBOX_ID, title = "Liste de courses", content = "") + notes.setArchived(autreArchivee.id, true) + // And a note that is NOT archived, holding the word: what a search outside the archive would find. + val ordinaire = notes.create(folderId = Folder.INBOX_ID, title = "Réunion de rentrée", content = "") + val accueil = accueil(SavedStateHandle()) + + withContext(Dispatchers.Main) { + accueil.onArchiveSelected() + accueil.onQueryChange("reunion") + } + // Times out if the archive ignores the search (two notes) or searches outside it (the other note). + etatCharge(accueil) { it.archive && it.notes.map { n -> n.id } == listOf(plain) } + + withContext(Dispatchers.Main) { accueil.onFolderSelected(null) } + assertThat(etatCharge(accueil) { !it.archive }.query).isEmpty() + + withContext(Dispatchers.Main) { accueil.onQueryChange("reunion") } + etatCharge(accueil) { !it.archive && it.notes.map { n -> n.id } == listOf(ordinaire.id) } + } + + /** + * Back from the archive returns to the list shown before it — here a folder (3.5.0; until then, Back left + * the app from the archive). All notes would be the wrong list: the test fails on it. + */ + @Test + fun back_from_the_archive_returns_to_the_folder_shown_before_it(): Unit = runBlocking { + val travail = LegacyDatabaseFixture.Fixtures.FOLDER_WORK + val accueil = accueil(SavedStateHandle()) + withContext(Dispatchers.Main) { accueil.onFolderSelected(travail) } + etatCharge(accueil) { it.currentFolder?.id == travail } + + withContext(Dispatchers.Main) { accueil.onArchiveSelected() } + etatCharge(accueil) { it.archive } + withContext(Dispatchers.Main) { accueil.quitterLArchive() } + + etatCharge(accueil) { !it.archive && it.currentFolder?.id == travail } + } + private suspend fun accueil(sauvegarde: SavedStateHandle): HomeViewModel = withContext(Dispatchers.Main) { HomeViewModel( notes = notes, diff --git a/app/src/androidTest/java/com/filestech/notes_tech/ui/home/AccueilTest.kt b/app/src/androidTest/java/com/filestech/notes_tech/ui/home/AccueilTest.kt index 3a06fc1..9b37da7 100644 --- a/app/src/androidTest/java/com/filestech/notes_tech/ui/home/AccueilTest.kt +++ b/app/src/androidTest/java/com/filestech/notes_tech/ui/home/AccueilTest.kt @@ -21,6 +21,7 @@ import androidx.compose.ui.test.performClick import androidx.compose.ui.test.performSemanticsAction import androidx.compose.ui.test.performTextInput import androidx.compose.ui.test.performTouchInput +import androidx.test.espresso.Espresso import androidx.test.ext.junit.runners.AndroidJUnit4 import com.filestech.notes_tech.R import com.filestech.notes_tech.domain.model.Folder @@ -73,6 +74,7 @@ class AccueilTest { private val trisChoisis = mutableListOf() private val requetes = mutableListOf() private val tiroirsOuverts = mutableListOf() + private val sortiesDeLArchive = mutableListOf() private val recherchesOuvertes = mutableListOf() private val reglagesOuverts = mutableListOf() @@ -123,6 +125,7 @@ class AccueilTest { ), onNewNote = { nouvellesNotesDemandees += Unit }, onOpenDrawer = { tiroirsOuverts += Unit }, + onQuitterLArchive = { sortiesDeLArchive += Unit }, onOpenSearch = { recherchesOuvertes += Unit }, onOpenSettings = { reglagesOuverts += Unit }, onOpenAbout = {}, @@ -459,12 +462,16 @@ class AccueilTest { assertThat(regle.actionnablesSansNom()).isEmpty() } - /** In the archive's view (3.3.0): its title, no search field, no "New note", "Unarchive" in the bar. */ + /** + * In the archive's view (3.3.0): its title, no "New note", "Unarchive" in the bar — and its OWN search + * field (D-051, 3.5.0, issue #72), which says it searches the archive, not the home screen's. + */ @Test - fun the_archive_has_its_title_no_search_no_new_note_and_unarchives() { + fun the_archive_has_its_title_its_own_search_no_new_note_and_unarchives() { poser(HomeUiState(notes = listOf(note("a", "Vieille")), loading = false, archive = true)) regle.onNode(hasText(texte(R.string.archive_title)) and isHeading()).assertExists() + regle.onNodeWithText(texte(R.string.home_search_archive_hint)).assertExists() regle.onNodeWithText(texte(R.string.home_search_hint)).assertDoesNotExist() regle.onNodeWithContentDescription(texte(R.string.home_new_note)).assertDoesNotExist() @@ -506,6 +513,55 @@ class AccueilTest { ), ) regle.onNodeWithText(enTete(11)).assertDoesNotExist() + + // D-051: nor does a search of the archive — its results come by relevance, not by month. + poser( + HomeUiState( + notes = listOf(novembre, octobre), + loading = false, + archive = true, + sort = NoteSortMode.UPDATED_DESC, + query = "vieille", + ), + ) + regle.onNodeWithText(enTete(11)).assertDoesNotExist() + regle.onNodeWithText("Vieille").assertExists() + } + + /** + * 🔴 Back in the archive goes back to the list shown before it (3.5.0, Patrice on the S9: the app + * closed). A selection goes first. The control: on an ordinary list nothing of the screen takes Back — + * it still leaves the app, as on any app's first screen. + */ + @Test + fun back_in_the_archive_goes_back_to_the_list_and_a_selection_goes_first() { + poser(HomeUiState(notes = listOf(note("a", "Vieille")), loading = false, archive = true)) + Espresso.pressBack() + assertThat(sortiesDeLArchive).hasSize(1) + + poser( + HomeUiState(notes = listOf(note("a", "Vieille")), loading = false, archive = true, selection = setOf("a")), + ) + Espresso.pressBack() + assertThat(gestesDeSelection).containsExactly("fermer") + assertThat(sortiesDeLArchive).hasSize(1) + + poser(HomeUiState(notes = listOf(note("a", "Vieille")), loading = false)) + assertThat(regle.runOnIdle { regle.activity.onBackPressedDispatcher.hasEnabledCallbacks() }).isFalse() + } + + /** + * D-051: a search of the archive that finds nothing says so — not "the archive is empty", which would + * read as if the notes were gone. The control: an empty archive with no search still says it is empty. + */ + @Test + fun a_search_of_the_archive_that_finds_nothing_says_so() { + poser(HomeUiState(notes = emptyList(), loading = false, archive = true, query = "introuvable")) + regle.onNodeWithText(texte(R.string.search_empty)).assertIsDisplayed() + regle.onNodeWithText(texte(R.string.archive_empty_title)).assertDoesNotExist() + + poser(HomeUiState(notes = emptyList(), loading = false, archive = true)) + regle.onNodeWithText(texte(R.string.archive_empty_title)).assertIsDisplayed() } /** Ouvrir une note rend **la** note, pas un identifiant reconstruit ailleurs. */ diff --git a/app/src/main/java/com/filestech/notes_tech/data/local/dao/NoteSearchDao.kt b/app/src/main/java/com/filestech/notes_tech/data/local/dao/NoteSearchDao.kt index 819375e..18c3cbc 100644 --- a/app/src/main/java/com/filestech/notes_tech/data/local/dao/NoteSearchDao.kt +++ b/app/src/main/java/com/filestech/notes_tech/data/local/dao/NoteSearchDao.kt @@ -40,10 +40,13 @@ abstract class NoteSearchDao { * dans l'index pour toute note dont `encrypted_content` n'est pas nul. La garde est donc dans * les données, pas dans cette requête — c'est plus solide, mais ça veut dire qu'un futur * changement de trigger casserait la promesse sans toucher à ce fichier. + * + * @param archived `false` : les notes ordinaires, comme la recherche de la 2.0.9 (D-036) ; `true` : les + * seules notes archivées — la recherche de la vue Archives (D-051, 3.5.0, issue #72). Jamais les deux. */ - fun search(rawInput: String, limit: Int = DEFAULT_LIMIT): Flow> { + fun search(rawInput: String, archived: Boolean = false, limit: Int = DEFAULT_LIMIT): Flow> { val match = FtsMatchExpression.from(rawInput) ?: return flowOf(emptyList()) - return searchRaw(SimpleSQLiteQuery(SEARCH_SQL, arrayOf(match, limit))) + return searchRaw(SimpleSQLiteQuery(SEARCH_SQL, arrayOf(match, if (archived) 1 else 0, limit))) } private companion object { @@ -81,7 +84,7 @@ abstract class NoteSearchDao { JOIN notes n ON n.rowid = f.rowid WHERE notes_fts MATCH ? AND n.trashed_at IS NULL - AND n.archived = 0 + AND n.archived = ? AND n.encrypted_content IS NULL ORDER BY bm25(notes_fts), n.updated_at DESC LIMIT ? diff --git a/app/src/main/java/com/filestech/notes_tech/data/repository/SearchRepository.kt b/app/src/main/java/com/filestech/notes_tech/data/repository/SearchRepository.kt index 18a2652..4538a98 100644 --- a/app/src/main/java/com/filestech/notes_tech/data/repository/SearchRepository.kt +++ b/app/src/main/java/com/filestech/notes_tech/data/repository/SearchRepository.kt @@ -32,7 +32,9 @@ class SearchRepository @Inject constructor(private val databases: DatabaseProvid * * Rend un flux vide — jamais une erreur — si la saisie ne contient aucun terme exploitable : * taper trois espaces n'est pas une faute de l'utilisateur. + * + * @param archived dans les seules notes archivées (la vue Archives, D-051) plutôt que dans les autres. */ - fun observe(query: String): Flow> = - flow { emitAll(databases.get().noteSearchDao().search(query)) }.map { it.toDomain() } + fun observe(query: String, archived: Boolean = false): Flow> = + flow { emitAll(databases.get().noteSearchDao().search(query, archived)) }.map { it.toDomain() } } diff --git a/app/src/main/java/com/filestech/notes_tech/ui/home/HomeRoute.kt b/app/src/main/java/com/filestech/notes_tech/ui/home/HomeRoute.kt index 0a0385f..76d6fe2 100644 --- a/app/src/main/java/com/filestech/notes_tech/ui/home/HomeRoute.kt +++ b/app/src/main/java/com/filestech/notes_tech/ui/home/HomeRoute.kt @@ -289,6 +289,7 @@ fun HomeRoute( // that comes while the creation runs is dropped by the ViewModel. onNewNote = dropUnlessResumed { homeViewModel.createNote() }, onOpenDrawer = { portee.launch { drawerState.open() } }, + onQuitterLArchive = homeViewModel::quitterLArchive, onOpenSearch = onOpenSearch, onOpenSettings = onOpenSettings, onOpenAbout = onOpenAbout, diff --git a/app/src/main/java/com/filestech/notes_tech/ui/home/HomeScreen.kt b/app/src/main/java/com/filestech/notes_tech/ui/home/HomeScreen.kt index 7fe9c17..0d19f47 100644 --- a/app/src/main/java/com/filestech/notes_tech/ui/home/HomeScreen.kt +++ b/app/src/main/java/com/filestech/notes_tech/ui/home/HomeScreen.kt @@ -94,6 +94,8 @@ fun HomeScreen( actionsDeSelection: ActionsDeSelection, onNewNote: () -> Unit, onOpenDrawer: () -> Unit, + /** Back in the archive: the list shown before it (3.5.0 — until then, Back left the app). */ + onQuitterLArchive: () -> Unit, onOpenSearch: () -> Unit, onOpenSettings: () -> Unit, onOpenAbout: () -> Unit, @@ -111,9 +113,11 @@ fun HomeScreen( // here, at display time, in the language the user chose (notes_tech 2.0.9 parity). val nomDuDossier = rememberFolderDisplayName() - // The archive's months, recomputed only when the list or its order changes. - val lignesDeLArchive = remember(state.notes, state.sort, state.archive) { - if (state.archive) lignesDeLArchive(state.notes, state.sort, ZoneId.systemDefault()) else emptyList() + // The archive's months, recomputed only when the list or its order changes. Not while searching the + // archive (D-051): the results come by relevance, and months over them would repeat and jumble. + val enMois = state.archive && state.query.isBlank() + val lignesDeLArchive = remember(state.notes, state.sort, enMois) { + if (enMois) lignesDeLArchive(state.notes, state.sort, ZoneId.systemDefault()) else emptyList() } val nomDuMois = rememberFormateurDeMois() val carte: @Composable (Note) -> Unit = { note -> @@ -134,6 +138,10 @@ fun HomeScreen( // Back leaves the selection first, as in every app that selects — not the app. BackHandler(enabled = state.enSelection, onBack = actionsDeSelection.onFermer) + // 🔴 Then the archive, back to the list shown before it (3.5.0, Patrice on the S9: "dès que je fais retour + // l'appli se ferme"). The archive reads as a screen of its own; Back left the app from it since 3.3.0. + // Not while selecting: the selection goes first. The open drawer goes before both (`HomeRoute`). + BackHandler(enabled = state.archive && !state.enSelection, onBack = onQuitterLArchive) Scaffold( modifier = modifier.fillMaxSize(), @@ -195,29 +203,29 @@ fun HomeScreen( if (state.vaultLostCount > 0) { BanniereBrouillonsPerdus(state.vaultLostCount, onDismissVaultLostBanner) } - // Not in the archive: the search leaves archived notes out (D-036). - if (!state.archive) { - OutlinedTextField( - value = state.query, - onValueChange = onQueryChange, - label = { Text(stringResource(R.string.home_search_hint)) }, - singleLine = true, - leadingIcon = { Icon(Icons.Filled.Search, contentDescription = null) }, - trailingIcon = { - if (state.query.isNotEmpty()) { - IconButton(onClick = { onQueryChange("") }) { - Icon( - imageVector = Icons.Filled.Close, - contentDescription = stringResource(R.string.search_clear), - ) - } + // Each list searches what it shows: here the notes that are not archived (D-036), in the archive + // the archived ones alone (D-051, 3.5.0, issue #72) — and the field says which. + val indication = if (state.archive) R.string.home_search_archive_hint else R.string.home_search_hint + OutlinedTextField( + value = state.query, + onValueChange = onQueryChange, + label = { Text(stringResource(indication)) }, + singleLine = true, + leadingIcon = { Icon(Icons.Filled.Search, contentDescription = null) }, + trailingIcon = { + if (state.query.isNotEmpty()) { + IconButton(onClick = { onQueryChange("") }) { + Icon( + imageVector = Icons.Filled.Close, + contentDescription = stringResource(R.string.search_clear), + ) } - }, - modifier = Modifier - .fillMaxWidth() - .padding(start = 16.dp, top = 8.dp, end = 16.dp, bottom = 4.dp), - ) - } + } + }, + modifier = Modifier + .fillMaxWidth() + .padding(start = 16.dp, top = 8.dp, end = 16.dp, bottom = 4.dp), + ) when { state.loading -> Box(Modifier.fillMaxSize(), Alignment.Center) { CircularProgressIndicator() } @@ -246,8 +254,8 @@ fun HomeScreen( // `key = { it.id }` stabilise l'identité des éléments entre recompositions. // Sans clé, un changement de filtre réassocie les états par position, et les // cartes se réutilisent pour la mauvaise note. - // The archive is cut into months (3.3.0); the other lists are not. - if (state.archive) { + // The archive is cut into months (3.3.0); the other lists, and its search, are not. + if (enMois) { items(lignesDeLArchive, key = { it.cle }) { ligne -> when (ligne) { is LigneDeLArchive.Mois -> IntertitreDeMois(nomDuMois(ligne.mois)) @@ -266,7 +274,8 @@ fun HomeScreen( @Composable private fun ListeVide(state: HomeUiState, onNewNote: () -> Unit) { val enRecherche = state.query.isNotEmpty() - if (state.archive) { + // A search with no result says so, in the archive too (D-051): not "the archive is empty". + if (state.archive && !enRecherche) { EmptyState( icon = Icons.Outlined.Archive, title = stringResource(R.string.archive_empty_title), diff --git a/app/src/main/java/com/filestech/notes_tech/ui/home/HomeViewModel.kt b/app/src/main/java/com/filestech/notes_tech/ui/home/HomeViewModel.kt index 44d0776..207c50c 100644 --- a/app/src/main/java/com/filestech/notes_tech/ui/home/HomeViewModel.kt +++ b/app/src/main/java/com/filestech/notes_tech/ui/home/HomeViewModel.kt @@ -155,6 +155,9 @@ class HomeViewModel @Inject constructor( /** The archive is shown (3.3.0) — `folderId` is then `null`. Saved for the same reason as it. */ private val archive = MutableStateFlow(savedState.get(CLE_ARCHIVE) ?: false) + + /** The folder shown when the archive was opened, `null` for All notes — where Back from it returns. */ + private var dossierAvantLArchive: String? = savedState[CLE_AVANT_ARCHIVE] private val query = MutableStateFlow(savedState.get(CLE_RECHERCHE).orEmpty()) private val vaultLostCount = MutableStateFlow(settings.vaultLostDrafts().size) @@ -226,8 +229,13 @@ class HomeViewModel @Inject constructor( savedState[CLE_RECHERCHE] = value } - /** A folder, or `null` for "All notes" — which leaves the archive, and the selection made in another list. */ + /** + * A folder, or `null` for "All notes" — which leaves the archive, and the selection made in another list. + * A search typed in the archive is cleared on the way out: it was looking through the archive, and kept + * it would go on looking through the other notes (D-051). + */ fun onFolderSelected(id: String?) { + if (archive.value) onQueryChange("") folderId.value = id savedState[CLE_DOSSIER] = id montrerLArchive(false) @@ -235,11 +243,15 @@ class HomeViewModel @Inject constructor( } /** - * The drawer's "Archive" (3.3.0). The search is cleared: the archive has no search field, and a - * search kept from before would still filter a list that cannot show it (the search leaves - * archived notes out, as notes_tech 2.0.9's does — D-036). + * The drawer's "Archive" (3.3.0). The search is cleared: each list searches what it shows — the home + * screen the notes that are not archived, as notes_tech 2.0.9's search (D-036), the archive its own + * (D-051, 3.5.0, issue #72) —, so a search typed elsewhere means nothing here. */ fun onArchiveSelected() { + if (!archive.value) { + dossierAvantLArchive = folderId.value + savedState[CLE_AVANT_ARCHIVE] = folderId.value + } folderId.value = null savedState[CLE_DOSSIER] = null onQueryChange("") @@ -247,6 +259,14 @@ class HomeViewModel @Inject constructor( viderLaSelection() } + /** + * Back in the archive (3.5.0): the list shown before it — a folder, or All notes. Until 3.5.0 Back left + * the app from the archive (Patrice, on the S9). A folder deleted meanwhile gives All notes. + */ + fun quitterLArchive() { + onFolderSelected(dossierAvantLArchive?.takeIf { it in state.value.folderNamesById }) + } + fun onSortSelected(mode: NoteSortMode) = settings.setSort(mode) // ── La sélection (3.3.0) ───────────────────────────────────────────────── @@ -527,7 +547,7 @@ class HomeViewModel @Inject constructor( * * ⚠️ **Une recherche ignore le filtre de dossier**, et c'est voulu : on cherche dans toutes ses * notes, pas dans celles du dossier qu'on regardait. Et elle laisse les archives de côté, comme la - * recherche de la 2.0.9 (D-036) : l'archive, elle, ignore la recherche — l'écran n'en a pas le champ. + * recherche de la 2.0.9 (D-036). L'archive a la sienne, dans ses seules notes (D-051, 3.5.0, issue #72). */ private fun listeDeNotes(): Flow>> = combine(queryFreinee, folderId, archive, settings.sort) { texte, dossier, enArchive, tri -> @@ -535,8 +555,8 @@ class HomeViewModel @Inject constructor( } .flatMapLatest { vue -> when { + vue.texte.isNotBlank() -> search.observe(vue.texte, archived = vue.archive) vue.archive -> notes.observeOutOfTrash(vue.tri, archived = true) - vue.texte.isNotBlank() -> search.observe(vue.texte) vue.dossier == null -> notes.observeOutOfTrash(vue.tri, archived = false) else -> notes.observeInFolder(vue.dossier, vue.tri) } @@ -568,6 +588,7 @@ class HomeViewModel @Inject constructor( /** Internal for the tests that restore a saved home screen. */ internal const val CLE_DOSSIER = "home.folderId" private const val CLE_ARCHIVE = "home.archive" + private const val CLE_AVANT_ARCHIVE = "home.beforeArchive" private const val CLE_RECHERCHE = "home.query" private const val CLE_SELECTION = "home.selection" } diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index d3ab275..b26abce 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -44,6 +44,7 @@ Ordner Neue Notiz Notiz suchen + Im Archiv suchen Noch keine Notizen Keine Notizen in diesem Ordner Tippen Sie auf +, um Ihre erste Notiz zu erstellen. diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 6e99b0c..2e18da2 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -47,6 +47,7 @@ Carpetas Nueva nota Buscar una nota + Buscar en el archivo Todavía no hay notas No hay notas en esta carpeta Toque el botón + para crear su primera nota. diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index e275232..7ae185a 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -49,6 +49,7 @@ Dossiers Nouvelle note Rechercher une note + Rechercher dans les archives Aucune note Aucune note dans ce dossier Tapez le bouton + pour créer votre première note. diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index d4393b4..1d2ebb8 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -47,6 +47,7 @@ Cartelle Nuova nota Cerca una nota + Cerca nell\'archivio Ancora nessuna nota Nessuna nota in questa cartella Tocchi il pulsante + per creare la sua prima nota. diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index fa2954d..280a8aa 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -63,6 +63,7 @@ Folders New note Search a note + Search the archive No notes yet No notes in this folder Tap the + button to create your first note. diff --git a/docs/16-VERSION-3.5.md b/docs/16-VERSION-3.5.md index 508ab72..dad44e8 100644 --- a/docs/16-VERSION-3.5.md +++ b/docs/16-VERSION-3.5.md @@ -20,6 +20,7 @@ | **D-049** Entrée continue une liste, toutes les listes | courriel du 11-14 | décidé (Q2) | | **C-1 à C-3** Petits correctifs (limites connues de la 3.4.0) | `15-VERSION-3.4.md` § Limites | retenus (Q4) | | **D-050** Remerciement en bas de « À propos », mains jointes en gris | Patrice, 2026-11-17 | décidé | +| **D-051** Une recherche dans les Archives, sur leurs seules notes | issue #72 (koad1x, 11-18) | décidé (Patrice, 11-18) | **Aucune migration de schéma** (Room reste en version 11), aucune permission, aucun réseau, aucun changement des formats d'export, de sauvegarde ni de note scellée : tout ce qui suit est du texte de note @@ -240,6 +241,40 @@ remerciements comme pour sms tech ». - Test JVM de la matrice (repris de `TeinteMonochromeTest`) ; l'écran À propos dans `AProposTest` si la ligne y est atteignable. +## D-051 — Une recherche dans les Archives (issue #72) + +koad1x, 2026-11-18 : *« It is not possible to search for the titles and content of archived notes within the +archive. »* Pas une panne : D-036 (3.3.0) laissait les archives hors de la recherche (Patrice : « recherche +sans archives, comme la 2.0.9 »), et donc la vue Archives sans champ — « il chercherait hors archives ». +Patrice, 11-18, après avis : le champ dans les Archives, dans la 3.5.0. + +- **Chaque liste cherche dans ce qu'elle montre** : l'accueil dans les notes non archivées (D-036 inchangé), + les Archives dans leurs seules notes. La raison qui écartait le champ en 3.3.0 — une limite, pas un + choix — tombe ; mettre les archives dans la recherche de l'accueil défairait au contraire l'archivage. +- **Requête** : la même (`NoteSearchDao.SEARCH_SQL`), `n.archived = ?` au lieu de `= 0` ; `search(…, + archived)`, `SearchRepository.observe(…, archived)`. Les deux gardes du coffre restent dans la requête. + La recherche globale (icône loupe, `SearchViewModel`) ne change pas. +- **Accueil** : en vue Archives, une saisie cherche dans les archives (`HomeViewModel.listeDeNotes`). Entrer + dans les Archives vide la recherche (déjà en 3.3.0) ; **en sortir la vide aussi** — gardée, elle + continuerait dans les autres notes. +- **Écran** : le champ dit où il cherche (`home_search_archive_hint`, 5 langues). Pendant une recherche, + liste simple, par pertinence — pas d'intertitres de mois, qui se répéteraient. Aucun résultat : « Aucun + résultat », pas « Aucune note archivée », qui laisserait croire les notes disparues. +- **Tests** : `LegacyDatabaseOpeningTest` (requête, garde du coffre comprise), `AccueilAuDemarrageTest` + (vrai ViewModel : deux notes archivées dont une seule porte le mot, plus une non archivée qui le porte — + une liste qui ignorerait la recherche, ou une recherche hors archives, ne passe pas), `AccueilTest` + (champ, mois, état vide). +- **Textes** : journaux 5081-5083 (430 à 494 caractères), description longue, README. +- **Retour dans les Archives** (vu par Patrice sur le S9 en essayant D-051 : « dès que je fais retour l'appli + se ferme », défaut présent depuis la 3.3.0) : Retour ramène à la liste montrée avant les Archives — un + dossier, ou Toutes les notes ; un dossier supprimé entre-temps donne Toutes les notes. Le tiroir ouvert + passe d'abord (`HomeRoute`), puis la sélection, puis les Archives (`HomeScreen`). Le dossier d'avant est + gardé dans l'état sauvegardé (`home.beforeArchive`). Tests : `AccueilTest` (Retour pris dans les Archives, + la sélection d'abord ; témoin : rien ne le prend sur une liste ordinaire), `AccueilAuDemarrageTest` (vrai + ViewModel : retour au dossier, pas à Toutes les notes). Contrôle négatif : les deux tombent. +- **Pas d'icône Archives dans la barre** (Patrice, 11-18 : « ok pas d'icone ») : les Archives restent dans + le tiroir, au-dessus de la Corbeille — la barre est pleine, une cinquième icône couperait le titre. + ## Petits correctifs — les limites connues de la 3.4.0 (`15-VERSION-3.4.md:234-240`) Retenus (Q4). Chacun est petit, et il ferme un écart déjà consigné. @@ -385,7 +420,7 @@ Branche `feat/3.5.0`, à partir de `main` **après** la publication de la 3.4.0. - [x] **C-1** · [x] **C-2** · [x] **C-3** (`8c1f61d`) — tests `LecteurDeFournisseurTest`, `DepotViewModelTest` ; `FournisseurDUnPartageTest`, `NotesScelleesRecuesTest`, `FichierDeNoteScelleeTest` verts. - [x] **D-050** remerciement d'« À propos » (`e3eb010`) — `TeinteMonochromeTest`, `EcranAProposEtLegalTest`. -- [x] Textes 5 langues · [x] version 3.5.0 (508) · [x] journaux 5081-5083 (398 à 479 caractères) · +- [x] Textes 5 langues · [x] version 3.5.0 (508) · [x] journaux 5081-5083 (430 à 494 caractères depuis D-051) · [x] README (+ la ligne de version restée à v3.3.0 depuis la 3.4.0), fastlane, SECURITY - [x] **Audits et relecture externe** (2026-11-17), tous appliqués : - **Relecture externe GPT-5.6 sol** (0,35 $) : 5 défauts réels. @@ -429,7 +464,10 @@ Branche `feat/3.5.0`, à partir de `main` **après** la publication de la 3.4.0. qui descendait sous le texte (« il dépasse largement la case »). Désormais un rond de 40 dp centré sur la case, celui d'une case à cocher Android, la cible de 48 dp inchangée (`9d82693`). Patrice : « c'est parfait ». -- [ ] Publication (après F-Droid 3.4.0, Q6) +- [x] **D-051** recherche dans les Archives (issue #72, 2026-11-18) et Retour dans les Archives : tests et + contrôles négatifs faits, essayés sur le S9 par Patrice (« la recherche fonctionne », « c'est bon test + ok »). PR #73. +- [ ] Publication (après F-Droid 3.4.0, Q6) — **lundi 2026-11-23** (Patrice, 11-17) **CI réparée en route** (hors 3.5.0, PR #67 puis #69, fusionnées) : l'émulateur API 29 de la CI démarrait parfois zygote avant que `on boot` (`init.ranchu.rc`) pose `dalvik.vm.heapsize` → tas de 16 Mo → Argon2 diff --git a/fastlane/metadata/android/de-DE/changelogs/5081.txt b/fastlane/metadata/android/de-DE/changelogs/5081.txt index 7d9a400..e700e04 100644 --- a/fastlane/metadata/android/de-DE/changelogs/5081.txt +++ b/fastlane/metadata/android/de-DE/changelogs/5081.txt @@ -1 +1 @@ -Neu: Checklisten. Tippen Sie beim Lesen auf ein Kästchen, um es abzuhaken. Beim Schreiben setzt ⋮ › Checkliste Kästchen vor die Zeilen, und die Eingabetaste setzt die Liste fort (auf einem leeren Eintrag beendet sie sie). Einstellungen › Startbildschirm: Alle Notizen oder Eingang. Ein Dankeschön in „Über“. Behoben: Export und Sicherung sagen, dass Notizen mit Lebensdauer fehlen; die Schnellablage meldet zu lange Einfügungen. +Neu: Checklisten. Tippen Sie beim Lesen auf ein Kästchen, um es abzuhaken. Beim Schreiben setzt ⋮ › Checkliste Kästchen vor die Zeilen, und die Eingabetaste setzt die Liste fort (auf einem leeren Eintrag beendet sie sie). Einstellungen › Startbildschirm: Alle Notizen oder Eingang. Suche im Archiv. Ein Dankeschön in „Über“. Behoben: Export und Sicherung sagen, dass Notizen mit Lebensdauer fehlen; die Schnellablage meldet zu lange Einfügungen. diff --git a/fastlane/metadata/android/de-DE/changelogs/5082.txt b/fastlane/metadata/android/de-DE/changelogs/5082.txt index 7d9a400..e700e04 100644 --- a/fastlane/metadata/android/de-DE/changelogs/5082.txt +++ b/fastlane/metadata/android/de-DE/changelogs/5082.txt @@ -1 +1 @@ -Neu: Checklisten. Tippen Sie beim Lesen auf ein Kästchen, um es abzuhaken. Beim Schreiben setzt ⋮ › Checkliste Kästchen vor die Zeilen, und die Eingabetaste setzt die Liste fort (auf einem leeren Eintrag beendet sie sie). Einstellungen › Startbildschirm: Alle Notizen oder Eingang. Ein Dankeschön in „Über“. Behoben: Export und Sicherung sagen, dass Notizen mit Lebensdauer fehlen; die Schnellablage meldet zu lange Einfügungen. +Neu: Checklisten. Tippen Sie beim Lesen auf ein Kästchen, um es abzuhaken. Beim Schreiben setzt ⋮ › Checkliste Kästchen vor die Zeilen, und die Eingabetaste setzt die Liste fort (auf einem leeren Eintrag beendet sie sie). Einstellungen › Startbildschirm: Alle Notizen oder Eingang. Suche im Archiv. Ein Dankeschön in „Über“. Behoben: Export und Sicherung sagen, dass Notizen mit Lebensdauer fehlen; die Schnellablage meldet zu lange Einfügungen. diff --git a/fastlane/metadata/android/de-DE/changelogs/5083.txt b/fastlane/metadata/android/de-DE/changelogs/5083.txt index 7d9a400..e700e04 100644 --- a/fastlane/metadata/android/de-DE/changelogs/5083.txt +++ b/fastlane/metadata/android/de-DE/changelogs/5083.txt @@ -1 +1 @@ -Neu: Checklisten. Tippen Sie beim Lesen auf ein Kästchen, um es abzuhaken. Beim Schreiben setzt ⋮ › Checkliste Kästchen vor die Zeilen, und die Eingabetaste setzt die Liste fort (auf einem leeren Eintrag beendet sie sie). Einstellungen › Startbildschirm: Alle Notizen oder Eingang. Ein Dankeschön in „Über“. Behoben: Export und Sicherung sagen, dass Notizen mit Lebensdauer fehlen; die Schnellablage meldet zu lange Einfügungen. +Neu: Checklisten. Tippen Sie beim Lesen auf ein Kästchen, um es abzuhaken. Beim Schreiben setzt ⋮ › Checkliste Kästchen vor die Zeilen, und die Eingabetaste setzt die Liste fort (auf einem leeren Eintrag beendet sie sie). Einstellungen › Startbildschirm: Alle Notizen oder Eingang. Suche im Archiv. Ein Dankeschön in „Über“. Behoben: Export und Sicherung sagen, dass Notizen mit Lebensdauer fehlen; die Schnellablage meldet zu lange Einfügungen. diff --git a/fastlane/metadata/android/de-DE/full_description.txt b/fastlane/metadata/android/de-DE/full_description.txt index da1540d..28e3231 100644 --- a/fastlane/metadata/android/de-DE/full_description.txt +++ b/fastlane/metadata/android/de-DE/full_description.txt @@ -21,7 +21,7 @@ Notes Tech: Markdown-Notizen, 100 % lokal und im Ruhezustand verschlüsselt. In Bearbeiten • Notizen öffnen sich zum Lesen (Markdown: Überschriften, Listen, Links, Checklisten zum Abhaken beim Lesen); „Bearbeiten“ zum Schreiben, automatisches Speichern • Langes Drücken wählt Notizen aus: archivieren, verschieben, in den Papierkorb mit Rückgängig, anheften, einfärben oder löschen, alle auf einmal -• Ein Archiv für die Notizen, die Sie aus Ihren Listen heraushalten +• Ein Archiv mit eigener Suche für die Notizen, die Sie aus Ihren Listen heraushalten • Notizen, die sich selbst löschen: nach 1 Stunde, 24 Stunden, 7 oder 30 Tagen oder nach dem Lesen • Versiegelt teilen: eine verschlüsselte Datei, die nur ihr Code öffnet, über jede App gesendet • Schnellablage: eine Notiz schreiben, ohne die App zu entsperren, per Schnelleinstellungs-Kachel oder Verknüpfungen des Symbols diff --git a/fastlane/metadata/android/en-US/changelogs/5081.txt b/fastlane/metadata/android/en-US/changelogs/5081.txt index a28fad4..e721c7f 100644 --- a/fastlane/metadata/android/en-US/changelogs/5081.txt +++ b/fastlane/metadata/android/en-US/changelogs/5081.txt @@ -1 +1 @@ -New: checklists. Tap a box while reading a note to tick it. While writing, ⋮ › Checklist turns lines into boxes, and Enter continues a list (Enter on an empty item ends it). Settings › Home screen: open the app on All notes or on the Inbox. About now thanks everyone who helps. Fixed: the export and the backup say they leave out notes with a lifetime; the quick drop says when a paste is too long. +New: checklists. Tap a box while reading a note to tick it. While writing, ⋮ › Checklist turns lines into boxes, and Enter continues a list (Enter on an empty item ends it). Settings › Home screen: open the app on All notes or on the Inbox. The Archive has its own search. About now thanks everyone who helps. Fixed: the export and the backup say they leave out notes with a lifetime; the quick drop says when a paste is too long. diff --git a/fastlane/metadata/android/en-US/changelogs/5082.txt b/fastlane/metadata/android/en-US/changelogs/5082.txt index a28fad4..e721c7f 100644 --- a/fastlane/metadata/android/en-US/changelogs/5082.txt +++ b/fastlane/metadata/android/en-US/changelogs/5082.txt @@ -1 +1 @@ -New: checklists. Tap a box while reading a note to tick it. While writing, ⋮ › Checklist turns lines into boxes, and Enter continues a list (Enter on an empty item ends it). Settings › Home screen: open the app on All notes or on the Inbox. About now thanks everyone who helps. Fixed: the export and the backup say they leave out notes with a lifetime; the quick drop says when a paste is too long. +New: checklists. Tap a box while reading a note to tick it. While writing, ⋮ › Checklist turns lines into boxes, and Enter continues a list (Enter on an empty item ends it). Settings › Home screen: open the app on All notes or on the Inbox. The Archive has its own search. About now thanks everyone who helps. Fixed: the export and the backup say they leave out notes with a lifetime; the quick drop says when a paste is too long. diff --git a/fastlane/metadata/android/en-US/changelogs/5083.txt b/fastlane/metadata/android/en-US/changelogs/5083.txt index a28fad4..e721c7f 100644 --- a/fastlane/metadata/android/en-US/changelogs/5083.txt +++ b/fastlane/metadata/android/en-US/changelogs/5083.txt @@ -1 +1 @@ -New: checklists. Tap a box while reading a note to tick it. While writing, ⋮ › Checklist turns lines into boxes, and Enter continues a list (Enter on an empty item ends it). Settings › Home screen: open the app on All notes or on the Inbox. About now thanks everyone who helps. Fixed: the export and the backup say they leave out notes with a lifetime; the quick drop says when a paste is too long. +New: checklists. Tap a box while reading a note to tick it. While writing, ⋮ › Checklist turns lines into boxes, and Enter continues a list (Enter on an empty item ends it). Settings › Home screen: open the app on All notes or on the Inbox. The Archive has its own search. About now thanks everyone who helps. Fixed: the export and the backup say they leave out notes with a lifetime; the quick drop says when a paste is too long. diff --git a/fastlane/metadata/android/en-US/full_description.txt b/fastlane/metadata/android/en-US/full_description.txt index 8d4d0c1..4b339ac 100644 --- a/fastlane/metadata/android/en-US/full_description.txt +++ b/fastlane/metadata/android/en-US/full_description.txt @@ -21,7 +21,7 @@ Notes Tech: 100% local Markdown note-taking, encrypted at rest. Written in Kotli Editing • Notes open to be read (Markdown: headings, lists, links, checklists you tick while reading); “Edit” to write, autosave • Long press to select notes, then archive, move, trash with Undo, pin, color or delete them at once -• An Archive for the notes you keep out of your lists +• An Archive, with its own search, for the notes you keep out of your lists • Notes that erase themselves: after 1 hour, 24 hours, 7 or 30 days, or after reading • Share a note sealed: an encrypted file that only its code opens, sent by any app • Quick drop: write a note without unlocking the app, from a quick settings tile or the icon's shortcuts diff --git a/fastlane/metadata/android/es-ES/changelogs/5081.txt b/fastlane/metadata/android/es-ES/changelogs/5081.txt index 989ed8c..a32a5f4 100644 --- a/fastlane/metadata/android/es-ES/changelogs/5081.txt +++ b/fastlane/metadata/android/es-ES/changelogs/5081.txt @@ -1 +1 @@ -Novedad: listas con casillas. Toque una casilla al leer una nota para marcarla. Al escribir, ⋮ › Lista con casillas pone casillas delante de las líneas, e Intro continúa la lista (Intro en un elemento vacío la termina). Ajustes › Pantalla de inicio: Todas las notas o Bandeja de entrada. Un agradecimiento en Acerca de. Corregido: la exportación y la copia de seguridad indican que omiten las notas con duración limitada; el depósito rápido avisa si lo pegado es demasiado largo. +Novedad: listas con casillas. Toque una casilla al leer para marcarla. Al escribir, ⋮ › Lista con casillas pone casillas delante de las líneas, e Intro continúa la lista (Intro en un elemento vacío la termina). Ajustes › Pantalla de inicio: Todas las notas o Bandeja de entrada. Búsqueda en el Archivo. Un agradecimiento en Acerca de. Corregido: la exportación y la copia de seguridad indican que omiten las notas con duración limitada; el depósito rápido avisa si lo pegado es demasiado largo. diff --git a/fastlane/metadata/android/es-ES/changelogs/5082.txt b/fastlane/metadata/android/es-ES/changelogs/5082.txt index 989ed8c..a32a5f4 100644 --- a/fastlane/metadata/android/es-ES/changelogs/5082.txt +++ b/fastlane/metadata/android/es-ES/changelogs/5082.txt @@ -1 +1 @@ -Novedad: listas con casillas. Toque una casilla al leer una nota para marcarla. Al escribir, ⋮ › Lista con casillas pone casillas delante de las líneas, e Intro continúa la lista (Intro en un elemento vacío la termina). Ajustes › Pantalla de inicio: Todas las notas o Bandeja de entrada. Un agradecimiento en Acerca de. Corregido: la exportación y la copia de seguridad indican que omiten las notas con duración limitada; el depósito rápido avisa si lo pegado es demasiado largo. +Novedad: listas con casillas. Toque una casilla al leer para marcarla. Al escribir, ⋮ › Lista con casillas pone casillas delante de las líneas, e Intro continúa la lista (Intro en un elemento vacío la termina). Ajustes › Pantalla de inicio: Todas las notas o Bandeja de entrada. Búsqueda en el Archivo. Un agradecimiento en Acerca de. Corregido: la exportación y la copia de seguridad indican que omiten las notas con duración limitada; el depósito rápido avisa si lo pegado es demasiado largo. diff --git a/fastlane/metadata/android/es-ES/changelogs/5083.txt b/fastlane/metadata/android/es-ES/changelogs/5083.txt index 989ed8c..a32a5f4 100644 --- a/fastlane/metadata/android/es-ES/changelogs/5083.txt +++ b/fastlane/metadata/android/es-ES/changelogs/5083.txt @@ -1 +1 @@ -Novedad: listas con casillas. Toque una casilla al leer una nota para marcarla. Al escribir, ⋮ › Lista con casillas pone casillas delante de las líneas, e Intro continúa la lista (Intro en un elemento vacío la termina). Ajustes › Pantalla de inicio: Todas las notas o Bandeja de entrada. Un agradecimiento en Acerca de. Corregido: la exportación y la copia de seguridad indican que omiten las notas con duración limitada; el depósito rápido avisa si lo pegado es demasiado largo. +Novedad: listas con casillas. Toque una casilla al leer para marcarla. Al escribir, ⋮ › Lista con casillas pone casillas delante de las líneas, e Intro continúa la lista (Intro en un elemento vacío la termina). Ajustes › Pantalla de inicio: Todas las notas o Bandeja de entrada. Búsqueda en el Archivo. Un agradecimiento en Acerca de. Corregido: la exportación y la copia de seguridad indican que omiten las notas con duración limitada; el depósito rápido avisa si lo pegado es demasiado largo. diff --git a/fastlane/metadata/android/es-ES/full_description.txt b/fastlane/metadata/android/es-ES/full_description.txt index 9836e8f..654f022 100644 --- a/fastlane/metadata/android/es-ES/full_description.txt +++ b/fastlane/metadata/android/es-ES/full_description.txt @@ -21,7 +21,7 @@ Notes Tech: notas Markdown 100 % locales, cifradas en reposo. Escrita en Kotlin. Edición • Las notas se abren para leer (Markdown: títulos, listas, enlaces, listas con casillas que se marcan al leer); «Editar» para escribir, guardado automático • Pulsación larga para seleccionar notas y luego archivarlas, moverlas, enviarlas a la papelera con Deshacer, anclarlas, colorearlas o eliminarlas a la vez -• Un Archivo para las notas que mantiene fuera de sus listas +• Un Archivo, con su propia búsqueda, para las notas que mantiene fuera de sus listas • Notas que se borran solas: tras 1 hora, 24 horas, 7 o 30 días, o tras la lectura • Compartir una nota sellada: un archivo cifrado que solo su código abre, enviado con cualquier app • Depósito rápido: escribir una nota sin desbloquear la app, desde un mosaico de los ajustes rápidos o los accesos directos del icono diff --git a/fastlane/metadata/android/fr-FR/changelogs/5081.txt b/fastlane/metadata/android/fr-FR/changelogs/5081.txt index cdffc77..582bf9f 100644 --- a/fastlane/metadata/android/fr-FR/changelogs/5081.txt +++ b/fastlane/metadata/android/fr-FR/changelogs/5081.txt @@ -1 +1 @@ -Nouveau : les listes à cocher. Touchez une case en lisant une note pour la cocher. En écrivant, ⋮ › Liste à cocher met des cases devant les lignes, et Entrée continue la liste (Entrée sur un élément vide la termine). Réglages › Écran d'accueil : ouvrir sur Toutes les notes ou sur la Boîte de réception. Un merci dans À propos. Corrigé : l'export et la sauvegarde disent qu'ils omettent les notes à durée de vie ; le dépôt rapide signale un collage trop long. +Nouveau : les listes à cocher. Touchez une case en lisant une note pour la cocher. En écrivant, ⋮ › Liste à cocher met des cases devant les lignes, et Entrée continue la liste (Entrée sur un élément vide la termine). Réglages › Écran d'accueil : Toutes les notes ou Boîte de réception. Recherche dans les Archives. Un merci dans À propos. Corrigé : l'export et la sauvegarde disent qu'ils omettent les notes à durée de vie ; le dépôt rapide signale un collage trop long. diff --git a/fastlane/metadata/android/fr-FR/changelogs/5082.txt b/fastlane/metadata/android/fr-FR/changelogs/5082.txt index cdffc77..582bf9f 100644 --- a/fastlane/metadata/android/fr-FR/changelogs/5082.txt +++ b/fastlane/metadata/android/fr-FR/changelogs/5082.txt @@ -1 +1 @@ -Nouveau : les listes à cocher. Touchez une case en lisant une note pour la cocher. En écrivant, ⋮ › Liste à cocher met des cases devant les lignes, et Entrée continue la liste (Entrée sur un élément vide la termine). Réglages › Écran d'accueil : ouvrir sur Toutes les notes ou sur la Boîte de réception. Un merci dans À propos. Corrigé : l'export et la sauvegarde disent qu'ils omettent les notes à durée de vie ; le dépôt rapide signale un collage trop long. +Nouveau : les listes à cocher. Touchez une case en lisant une note pour la cocher. En écrivant, ⋮ › Liste à cocher met des cases devant les lignes, et Entrée continue la liste (Entrée sur un élément vide la termine). Réglages › Écran d'accueil : Toutes les notes ou Boîte de réception. Recherche dans les Archives. Un merci dans À propos. Corrigé : l'export et la sauvegarde disent qu'ils omettent les notes à durée de vie ; le dépôt rapide signale un collage trop long. diff --git a/fastlane/metadata/android/fr-FR/changelogs/5083.txt b/fastlane/metadata/android/fr-FR/changelogs/5083.txt index cdffc77..582bf9f 100644 --- a/fastlane/metadata/android/fr-FR/changelogs/5083.txt +++ b/fastlane/metadata/android/fr-FR/changelogs/5083.txt @@ -1 +1 @@ -Nouveau : les listes à cocher. Touchez une case en lisant une note pour la cocher. En écrivant, ⋮ › Liste à cocher met des cases devant les lignes, et Entrée continue la liste (Entrée sur un élément vide la termine). Réglages › Écran d'accueil : ouvrir sur Toutes les notes ou sur la Boîte de réception. Un merci dans À propos. Corrigé : l'export et la sauvegarde disent qu'ils omettent les notes à durée de vie ; le dépôt rapide signale un collage trop long. +Nouveau : les listes à cocher. Touchez une case en lisant une note pour la cocher. En écrivant, ⋮ › Liste à cocher met des cases devant les lignes, et Entrée continue la liste (Entrée sur un élément vide la termine). Réglages › Écran d'accueil : Toutes les notes ou Boîte de réception. Recherche dans les Archives. Un merci dans À propos. Corrigé : l'export et la sauvegarde disent qu'ils omettent les notes à durée de vie ; le dépôt rapide signale un collage trop long. diff --git a/fastlane/metadata/android/fr-FR/full_description.txt b/fastlane/metadata/android/fr-FR/full_description.txt index 97a8b59..071b9e6 100644 --- a/fastlane/metadata/android/fr-FR/full_description.txt +++ b/fastlane/metadata/android/fr-FR/full_description.txt @@ -21,7 +21,7 @@ Notes Tech : prise de notes Markdown 100 % locale, chiffrée au repos. Écrite e Édition • Les notes s'ouvrent en lecture (Markdown : titres, listes, liens, listes à cocher qu'on coche en lisant) ; « Éditer » pour écrire, enregistrement automatique • Appui long pour sélectionner des notes, puis les archiver, déplacer, mettre à la corbeille avec Annuler, épingler, colorer ou supprimer d'un coup -• Des Archives pour les notes que vous gardez hors de vos listes +• Des Archives, avec leur propre recherche, pour les notes que vous gardez hors de vos listes • Des notes qui s'effacent seules : après 1 heure, 24 heures, 7 ou 30 jours, ou après lecture • Partager une note scellée : un fichier chiffré que seul son code ouvre, envoyé par n'importe quelle appli • Dépôt rapide : écrire une note sans déverrouiller l'appli, depuis une tuile des réglages rapides ou les raccourcis de l'icône diff --git a/fastlane/metadata/android/it-IT/changelogs/5081.txt b/fastlane/metadata/android/it-IT/changelogs/5081.txt index f42832f..cb63fcc 100644 --- a/fastlane/metadata/android/it-IT/changelogs/5081.txt +++ b/fastlane/metadata/android/it-IT/changelogs/5081.txt @@ -1 +1 @@ -Novità: liste con caselle. Tocchi una casella leggendo una nota per spuntarla. Scrivendo, ⋮ › Lista con caselle mette caselle davanti alle righe, e Invio continua la lista (Invio su un elemento vuoto la chiude). Impostazioni › Schermata iniziale: Tutte le note o In arrivo. Un ringraziamento in Informazioni. Corretto: l'esportazione e il backup dicono che escludono le note con una durata limitata; il deposito rapido segnala un testo incollato troppo lungo. +Novità: liste con caselle. Tocchi una casella leggendo una nota per spuntarla. Scrivendo, ⋮ › Lista con caselle mette caselle davanti alle righe, e Invio continua la lista (Invio su un elemento vuoto la chiude). Impostazioni › Schermata iniziale: Tutte le note o In arrivo. Ricerca nell'Archivio. Un ringraziamento in Informazioni. Corretto: l'esportazione e il backup dicono che escludono le note con una durata limitata; il deposito rapido segnala un testo incollato troppo lungo. diff --git a/fastlane/metadata/android/it-IT/changelogs/5082.txt b/fastlane/metadata/android/it-IT/changelogs/5082.txt index f42832f..cb63fcc 100644 --- a/fastlane/metadata/android/it-IT/changelogs/5082.txt +++ b/fastlane/metadata/android/it-IT/changelogs/5082.txt @@ -1 +1 @@ -Novità: liste con caselle. Tocchi una casella leggendo una nota per spuntarla. Scrivendo, ⋮ › Lista con caselle mette caselle davanti alle righe, e Invio continua la lista (Invio su un elemento vuoto la chiude). Impostazioni › Schermata iniziale: Tutte le note o In arrivo. Un ringraziamento in Informazioni. Corretto: l'esportazione e il backup dicono che escludono le note con una durata limitata; il deposito rapido segnala un testo incollato troppo lungo. +Novità: liste con caselle. Tocchi una casella leggendo una nota per spuntarla. Scrivendo, ⋮ › Lista con caselle mette caselle davanti alle righe, e Invio continua la lista (Invio su un elemento vuoto la chiude). Impostazioni › Schermata iniziale: Tutte le note o In arrivo. Ricerca nell'Archivio. Un ringraziamento in Informazioni. Corretto: l'esportazione e il backup dicono che escludono le note con una durata limitata; il deposito rapido segnala un testo incollato troppo lungo. diff --git a/fastlane/metadata/android/it-IT/changelogs/5083.txt b/fastlane/metadata/android/it-IT/changelogs/5083.txt index f42832f..cb63fcc 100644 --- a/fastlane/metadata/android/it-IT/changelogs/5083.txt +++ b/fastlane/metadata/android/it-IT/changelogs/5083.txt @@ -1 +1 @@ -Novità: liste con caselle. Tocchi una casella leggendo una nota per spuntarla. Scrivendo, ⋮ › Lista con caselle mette caselle davanti alle righe, e Invio continua la lista (Invio su un elemento vuoto la chiude). Impostazioni › Schermata iniziale: Tutte le note o In arrivo. Un ringraziamento in Informazioni. Corretto: l'esportazione e il backup dicono che escludono le note con una durata limitata; il deposito rapido segnala un testo incollato troppo lungo. +Novità: liste con caselle. Tocchi una casella leggendo una nota per spuntarla. Scrivendo, ⋮ › Lista con caselle mette caselle davanti alle righe, e Invio continua la lista (Invio su un elemento vuoto la chiude). Impostazioni › Schermata iniziale: Tutte le note o In arrivo. Ricerca nell'Archivio. Un ringraziamento in Informazioni. Corretto: l'esportazione e il backup dicono che escludono le note con una durata limitata; il deposito rapido segnala un testo incollato troppo lungo. diff --git a/fastlane/metadata/android/it-IT/full_description.txt b/fastlane/metadata/android/it-IT/full_description.txt index c989051..1d851c1 100644 --- a/fastlane/metadata/android/it-IT/full_description.txt +++ b/fastlane/metadata/android/it-IT/full_description.txt @@ -21,7 +21,7 @@ Notes Tech: note Markdown 100% locali, cifrate a riposo. Scritta in Kotlin. Modifica • Le note si aprono in lettura (Markdown: titoli, elenchi, link, liste con caselle da spuntare leggendo); «Modifica» per scrivere, salvataggio automatico • Pressione prolungata per selezionare le note, poi archiviarle, spostarle, metterle nel cestino con Annulla, fissarle, colorarle o eliminarle tutte insieme -• Un Archivio per le note che tiene fuori dai suoi elenchi +• Un Archivio, con la sua ricerca, per le note che tiene fuori dai suoi elenchi • Note che si cancellano da sole: dopo 1 ora, 24 ore, 7 o 30 giorni, o dopo la lettura • Condividere una nota sigillata: un file cifrato che solo il suo codice apre, inviato con qualsiasi app • Deposito rapido: scrivere una nota senza sbloccare l'app, da un riquadro delle impostazioni rapide o dalle scorciatoie dell'icona