Repository navigation
ZenNotes for Android 1.1.24: Favorites on Home, gestures on every page, and the shared 2.53.0 core
ZenNotes for Android 1.1.24: Favorites on Home, gestures on every page, and the shared 2.53.0 core
Three fixes from the reports that followed 1.1.23, all in the Android shell, the Android half of the folder-vault move failure from desktop #813, and the shared ZenNotes core 2.53.0 (app core 2.51.0 before). The core brings Favorites to the home view, the Reading-mode link fix from #74, the template editor fix from #78, a per-setting answer to the vault settings question, undo history that survives switching notes, side panels that leave the note room to read, a setting that lets each note remember its own panels, and the focus fix from #65.
What changes on the phone
- Favorites on Home, and Add to Favorites in every note menu (desktop #810). Home gains a Favorites section under Recent that lists the vault's favorite notes in the order you arranged them, each with the folder it lives in. The rows behave like Recent rows: tap opens, swipe reveals Archive and Delete, long-press opens the note menu. Favoriting gains two routes on the phone: an Add to Favorites / Remove from Favorites row in the ••• sheet of the open note and in the long-press menu of any note row, next to Pin. Pin stays this phone's own list order; Favorites is the vault's list, saved in
.zennotes/vault.json, so it travels with the vault to the desktop and iPhone apps. The row is hidden for trashed notes, the section stays out of the way until you favorite something, and folder favorites are not listed on the phone. - A heading link followed in Reading mode stays in Reading mode (#74). Tapping
[[Note#Heading]]in Reading mode used to open the target in Edit mode with the cursor on the heading. The target now opens in Reading mode with the heading at the top, and Back into a note you left in Reading mode puts it back where you had scrolled. A note you last left in Edit mode still opens in Edit mode with the cursor on the heading. The link preview card that a tap used to leave sitting over the note is hidden on touch screens. - The template editor stacks on a phone (#78). Settings, Templates, edit showed the editor and the preview side by side at any width. Below 768 px the editor now sits on top and the preview under it, each scrolling on its own, and the row of variable chips scrolls sideways. Tablets from 768 px up keep the side-by-side layout.
- Trashing a note in a folder vault whose name is already in Trash works (desktop #813). Delete
Untitled.mdon the desktop while the phone's Trash already held an olderUntitled.md, and the phone's sync failed forever with "rename failed: Already exists". The desktop had trashed the note astrash/Untitled 2.md, a move that changes folder and name in one step, which Android's Storage Access Framework refuses when done as "move, then rename". The folder-vault plugin now renames in the source folder first (to a hidden temporary name when the target name is taken there), then moves, then finishes the rename, and rolls each step back if a later one fails. A sync that fails midway now saves what already landed, so a retry resumes at the failing change. - The vault settings question is asked where you are, per setting (desktop #816). When this device and another both changed a vault's settings since the last sync, the question opens right after the sync that found it, lists each section that differs with this device's value beside the cloud's, and offers This device or Cloud per section, plus This device for all and Cloud for all. Decide later keeps your settings in use; the status bar reads Settings need review until you answer.
- A task added to a past daily note after today's note was opened rolls over on the next open (desktop #817). The once-a-day marker is gone; the app remembers which past daily notes it already found free of open tasks and reads a note again as soon as it changes. Daily notes with Windows line endings roll their tasks too.
- Version details in Settings, About (desktop #814). About shows a Version details block with the app version and host (
ZenNotes 1.1.24 (android)) and an Engine line carrying the WebView's user agent, with a Copy details button. Paste it into a bug report. - Swipe gestures work on every page (#75). The flick left or right and the pull down from the top only listened over the note body, so on Home, Tasks, Quick Notes, Tags, Files, Archive and Trash they did nothing. They now answer over those pages too. A flick that starts on a note row still belongs to the row, and the headers and tab strip are left alone. Since a page has no open note, the Previous note, Next note and Outline flick actions do nothing there; Browse and the pull-down actions work everywhere.
- The open database's menu has Rename, Move to… and Delete (#77). The More sheet for an open database offered only Delete; it now has the same three actions as the database's long-press row in Browse.
- Edit/Read stays in the menu (#76). One report of the Edit/Read entry vanishing after following a link, until a restart. Not reproduced; the entry now checks two independent signals and shows when either says a note is open.
- Move a folder or database to another folder from Browse. Long-press a folder or database in Browse and choose Move to…. It offers existing folders only, never the item itself, anything under it, or a database, and refuses a destination that already holds the name. Open tabs, folder icons and colors, favorites and manual order follow the move.
- Undo survives switching notes, and renaming the open note keeps your place. Leaving a note used to throw away its undo history; it now comes back with the note, as long as the note still reads exactly as it did. Renaming or moving the note you are editing keeps the caret, the scroll position and the undo history.
- Side panels leave the note room to read in the tablet layout. In the Desktop layout, Connections, Outline, Comments and Calendar used to squeeze the note to a strip. Now the note comes first: the panels shrink, and the ones opened longest ago tuck into a slim rail at the pane's right edge, where a tap brings one back. The phone layout is unchanged: a panel opens as a full-screen sheet with a Done button.
- Each note can remember its own panels. Settings, Editor, "Keep panels when switching notes" is on by default and keeps the panels as you set them while you move between notes, as before. Turn it off and each note comes back with the panels you left it with, across restarts too. The per-note memory lives in the workspace record, never in the note itself.
- Typing goes to the search a command opened (#65). Search Text in Vault…, Search Notes… and Open Note Outline… from the command palette keep focus in their search field instead of handing it back to the note. Settings now takes focus when it opens; on the phone focus lands on the Settings window itself, so the keyboard does not cover the list.
- Type | in the [[ link picker to add display text. It takes the highlighted note and leaves the caret after a | inside the brackets, ready for the text; a half-typed name is completed first.
Desktop only, on purpose: "Keep undo history after quitting" (this app does not implement its optional bridge methods, so the setting does not appear), the update check that waits for the network (desktop #812), and zn open -n (desktop #815). Play handles updates on Android.
Under the hood
The three report fixes live in src/ui-mobile/MobileShell.tsx. The gestures use one gestureSurfaceAt helper: the note body counts as before, and otherwise the pane section counts unless the touch is on a header, the tab strip, a side panel or its tucked rail, or a text field; the flick additionally skips note rows and swipe rows on pages. The database sheet calls the public requestRenameBrowseDatabase, requestMoveBrowseDirectory and requestDeleteBrowseDirectory actions, and MobileDrawer.tsx adds the Move to… row to the Browse long-press sheet. The Edit/Read entry reads hasOpenNote from the editor presentation or selectedNote from the shell snapshot. Favorites read ShellSnapshot.favorites and call the public requestToggleNoteFavorite; mobile.css keys Home's sections off the data-home-section and data-home-favorite markers core 2.53 stamps. The hover preview card is hidden with one @media (pointer: coarse) rule.
The folder-vault plugin SafFsPlugin.java splits rename() into same-directory, cross-directory same name and cross-directory new name (rename in the source directory first, to a hidden .zn-move-<hex>-<name> temporary when the target name is taken there, then move, then the final rename; each hop rolled back on failure). Known residual: a case-only rename on case-insensitive storage now errors "already exists" instead of quietly becoming "name (1)".
Bridge: mobile-bridge.ts fills the new optional ZenAppInfo.engine with navigator.userAgent; mobile-cloud-sync.ts includes the parsed parked settings file as cloud_settings on the settings conflict so core's dialog can show a per-section diff. The undo-file bridge methods that core 2.52.0 added stay unimplemented. tooling/check-core-boundary.mjs now refuses vendored archives built from a dirty upstream working tree.
Core packages: core-2.53.0-core.h598c8d004c9228a3, built from desktop commit 3a622639 (tag v2.53.0, clean tree), replacing 2.51.0. Each archive's SHA-256 and SHA-512 matched its provenance file and every recorded source commit matched before the archives went into vendor/zennotes/.
Installing the APK
zennotes-1.1.24-universal.apk is the Google Play-signed universal APK for version 1.1.24 (27), Android 7.0 and later, same certificate as before (signer SHA-256 9f1af3a4b6b11156a6b1f49e1a54bcaecef480f18eab1692a3bd8f416af6ae50, identical to the 1.1.23 asset), attached exactly as downloaded from Play Console (31,764,081 bytes, SHA-256 6261a00e6d3407982811fd59bdaa143626627150fdbe4a0dda9d365e1fa9239b). It was checked before publishing: no com.pairip licence-check code and no CHECK_LICENSE permission, so it opens on devices without Google Play. Sideloaded over the Play-signed 1.1.23 on an Android 15 emulator, it updated in place, reopened the same vault and note, and a note written before the upgrade was still there. Sideloaded installs do not self-update; use Obtainium. The same version was sent to Google Play review on September 19 and rolls out there once approved.
Validation: 150 automated tests, boundary check (clean archives, no override), typecheck, production build, native unit tests, lint, instrumentation tests, debug build, and the signed release bundle passed; the bundle's 442 web assets and index.html match the production web build byte for byte. Android 15 emulator: Favorites added and removed from the ••• sheet and the long-press menu and shown on Home; a [[Note#Heading]] tap in Reading mode opened the target in Reading mode at the heading with no preview card left over; the template editor stacked in one column; flick and pull down on Home, Tasks, Quick Notes, Tags, Files, Archive and Trash with row swipes and headers left alone; rename, move and delete of an open database verified on the device filesystem; "Keep panels when switching notes" persisted across a force-stop relaunch; a command-opened search kept typing and Settings took focus; undo survived a note switch and a rename; | in the link picker; Browse move; a folder-vault trash into an occupied Trash name landed as Untitled 2.md. Not exercised on the phone: the per-setting Cloud conflict dialog (no Cloud account on the emulator).