Skip to content

Known issues and polish for 2.83.0 - #1056

Merged
adibhanna merged 27 commits into
v2.83.0from
fix/2.83.0-polish
Nov 5, 2026
Merged

adibhanna merged 27 commits into
v2.83.0from
fix/2.83.0-polish

Conversation

@adibhanna

Copy link
Copy Markdown
Contributor

Fixes from the 2.83.0 known issues list. Each is its own commit with a test that fails without it.

  • Palette: Go to Files, Quick Notes and Inbox go there.
  • Vault: copying folders into a new vault leaves no stray inbox folder. An untouched Welcome is recognized by its hash, and a note you edited stays.
  • Tables: an embed in an editor cell draws what read mode draws, a real image included.
  • Help: entries say where they apply. Phones and tablets, and the web client, leave out what does not exist there. Desktop is unchanged.
  • Search: a result names its folder by your label, and root-mode notes name none.
  • Connections: no hover chip or preview on touch, and the preview is opaque.
  • Sidebar: the keyboard cursor is not drawn on touch, and a menu-only selection ends with its menu.
  • Tasks: the header wraps, and the filter hint follows Vim mode.
  • Home: no Recent heading over nothing.
  • Cloud: the footer can cancel a sign-in.
  • Tablet: the shell clears the status bar, and tooltips read the keymap.
  • Toolbar and lists: a panel's button goes dark at once, and preview lines stop repeating the title.
  • Assistant server: well-formed arguments, final path checks, copy names, Unicode forms in allow entries, accented folders, and record pages as notes (matching zn's 86ed8ff and a00ca1f). The shared fixture is unchanged.
  • Tests: three editor suites finish the parse before reading the result.

Checked with typecheck, test:run, the three built-app smoke suites and CDP against the unmodified build. The phone shells pin published core, so their parts were not run on a device.

… result

These suites assert on the syntax tree's work right after a dispatch or a
mount, and a state only gets 20 ms of parsing. On a loaded runner the budget is
gone before the definition, list or fence is in the tree: `cm-markdown-links`
read no `.tok-link`, `cm-tight-list-enter` got a plain newline from Enter, and
`custom-code-languages` read no `.tok-keyword`. Each failed once on a slow
machine and passed on the rerun.

They now finish the parse first, with `forceParsing` as gates-and-cut.md says.
Each suite gains a case that mounts under a stalled clock and proves the parse
really was cut, so it fails without the helper and fails loudly if CodeMirror's
timing moves. With every clock read jumping 25 ms the link and list suites pass
whole.

Two things this does not cover. `custom-code-languages` has a second source of
load-dependent results: the TextMate tokenizer's own 20 ms line limit, which the
engine retries once on the first line. And Enter on a cut tree is a real product
behavior, not only a test artifact: the Markdown keymap reads the state's tree,
so Enter pressed while the parse has not reached the caret is a plain newline.
Neither is changed here.
A review of the scope changes in 2.83.0 found five wrong answers. Each is covered
in scope-system-folders.test.ts, and the shared fixture did not have to change.

`create_note` with `subpath: "dir\ud83d"` wrote the note and `move_note` with that
`targetSubpath` moved it, then both answered `URI malformed`, because the `link` in
the answer goes through encodeURIComponent. A client that retried made a second
note. Arguments are now made well-formed where the request arrives, with U+FFFD,
which is what a file name turned half a surrogate pair into on disk anyway.

With deny `Pub/secret.md`, `create_note` and `move_note` could land on
`archive/Pub/secret.md`, which the client then could not see. The destination check
only looked at the folder. The final path is now checked too, walking taken names
as the write will, so a numbered name onto a hidden path is refused as well, and a
move to the folder a note is already in stays the no-op it was.

`duplicate_note` of a copy could make a 213-byte name that `write_note` refused: a
200-byte title gained " copy" twice. A title at the limit now gives way to the word,
on whole characters, and the scoped check uses the same name.

With `Cafe/` and NFC `Café/` side by side, an NFD allow entry shared nothing: `spell`
found two accent-folded matches and gave up before `accentsAgree` could choose. It
now prefers the path equal after case and Unicode form, and only then folds accents.

Deny `Journal` also hid `Ärchive/Journal/x.md`, because a path's system folder was
found after folding accents. A real path now goes by case and Unicode form. A deny
entry still folds accents, since a near miss in an entry must over-hide.

The Go `zn mcp` in ZenNotes/tui mirrors these scope rules and was not changed here.
… `inbox` folder

Open an empty folder and the app seeds `inbox/Welcome.md` without writing the
layout to vault.json. Copy folders in, and the layout, still inferred, turns to
root mode: the system Inbox row became a plain lowercase `inbox` folder holding a
Welcome note nobody asked for.

Root mode is the right answer there, since it shows what was copied, so that part
stays. What goes is the leftover. When a vault that has not stated its layout
reads as root mode, an `inbox/` holding only an untouched Welcome, or nothing, is
removed. That runs on open, which heals a vault that already turned, and after a
root-level change while the app is running. Switching a stated vault to root mode
does the same.

"Untouched" means the bytes hash to a text this app seeded. Every one from the
git history is listed, as the phones already do for their own seed, and the first
test fails if the current text is not among them. A note you edited stays where it
is, and so does anything else in that folder. Such a vault shows `inbox` as an
ordinary folder with nothing hidden.

It deliberately does not state inbox mode at the seed, which would hide everything
copied in behind the banner. It does not infer inbox mode from a non-empty `inbox/`
as the phones do either, which would turn a flat Obsidian vault with a folder of
that name upside down. A remapped inbox and a capitalized `Inbox/` are the owner's
by name and are left alone.
`| ![[Note]] | x |` drew a broken image in the table widget, because a cell goes
through `renderMarkdown` on its own and that pipeline makes every `![[...]]` an
`<img>`. Read mode shows a link there: `expandEmbeds` turns a note's embed on a
table row into a link, and the asset pass turns the rest into pictures or links.
The widget had neither step.

It was worse than the report. A real `![[pic.png]]` was broken in a cell too: the
`<img>` kept the source's `pic.png`, which loads nothing from a vault. Nothing ever
resolved it.

A cell now takes both steps. A note's embed becomes a link, by the same rule as
`expandEmbeds` and through a helper that sits beside it, so a code span stays text.
A name with no file extension becomes a link too, drawn as a broken link until the
note exists. A picture loads through `resolveLocalAssetUrl`, and any other file
(`.tldraw`, `.pdf`) is a plain link. The picture stays inside its cell. An idle cell
holding an embed redraws when the lists it depends on change, since the asset list
can arrive after the first paint. The cell's source is untouched.

An `.excalidraw` embed in a cell still draws nothing in the editor, as before.
"Go to Files" opened nothing. It called `setView({ kind: 'assets' })`, which only
means something to the note list layout, while the sidebar's Assets row calls
`openAssetsView()`. `setView` also clears the selected note, so the title and the
status bar changed while the note stayed open in front of you.

"Go to Quick Notes" and "Go to Inbox" made the same call, and the pinned pane's
"Reveal in files" did too. Files and Quick Notes now open their pages, as Archive
and Trash always have. Inbox has no page, so it opens its row in the sidebar and
puts the cursor there, keeping the note open. The note list layout still gets
`setView`, since that layout shows the folder.

A vault that keeps its notes at the root has no Inbox row, so the command is not
offered there.

The reported "Assets table header after Enter on a no-match search" was not that:
the page text held NAME, FOLDER and TAGS because Enter opens the New note dialog,
and those are its fields.
The iPad and Android tablet Help explained Import, opening a vault in the file
manager, Quick Look, the floating capture window, Raycast, updates and the whole
CLI, none of which exist there. The web client had most of the same problem.

An entry can now say where it applies, `only: 'desktop' | 'computer' | 'workflows'`,
and HelpView reads the manual through `helpForHost`. An entry with no tag shows
everywhere. The desktop app gets every entry in the same order, which a test holds
it to. The web client keeps what a terminal can do against a server and drops what
only the desktop app installs, and shows workflows when its server runs them.

Two passing mentions stay on phones, inside entries that otherwise apply: the
cover card says Quick Look draws covers, and the tabs card lists Reveal in Finder.
…name none

In a vault that keeps its notes at the root, every note at the root sat in search
results labeled INBOX. The row printed `n.folder`, the internal bucket name, which
also ignored a custom system folder label. Search Text in Vault, Embed Existing
Drawing and the Tags view printed it too, the last one in a vault with an Inbox.

`noteAreaLabel` answers for all of them: the label, custom ones included, or nothing
for the notes of a root-mode vault.

The Quick Capture window's note picker still prints the bucket name. It runs without
the store that holds the vault's settings, so it has nothing to decide with.
…eview

A Connections card wears a "hover" chip, which on an iPad or an Android tablet names
something that cannot be done. It now carries `zn-hover-only`, which hides it wherever
nothing can hover. A finger on a card also fired `pointerenter` and opened the
preview on its way to opening the note, so the row now ignores a touch pointer.

The word was also the preview's own heading, reachable with `p` from a keyboard on
those same devices. It now says Preview. The `p` hint keeps "hover preview", since it
only shows at a keyboard.
After ⌘2 closed Connections, the panel was gone at once while its toolbar button
stayed lit for another 150 ms: `transition-colors` faded the background out. A
button that shows state should change with that state, so the pane toolbar's
buttons no longer fade.
The preview asked for `bg-paper-100/98` and `backdrop-blur-md`. 98 is not on the
opacity scale, so Tailwind generated no background at all, and the blur drew the note
behind it through the header and the body. The preview is a solid surface now, with
no blur, which is what the class was trying to say.
Trash rows read "Old meeting notes" and then "Old meeting notes The agenda…". The
excerpt is the opening of the body with its Markdown stripped, so a note that starts
with a heading carries its title in it. Archive, Quick Notes, the note list, the
Tags view and Connections cards all print it under a title too.

Those rows now drop the title from the line they show. The excerpt itself is
unchanged, since search reads it and the server and CLI build their own.
…ws Vim mode

On an iPad the Tasks filter's placeholder was clipped to "/ to fc", and when
"scanning…" appeared it pushed Refresh and Close off the edge: the header was one row
that could only shrink the input. It now wraps, so the buttons move to a second row
when they do not fit.

The placeholder named `/` with Vim off, where that key does nothing. It now says just
"Filter…" there, and the Tags view's does the same.
While Cloud was connecting, the footer showed "Connecting to Cloud…" with no action:
`showAction` left that phase out, so the only Cancel was in Settings → Cloud. On a
phone, where that row is the way into Cloud, a browser that never came back left
nothing to press.

The action now reads Cancel during a sign-in and does what Settings does, through
`logoutCloudAccount`, and the footer goes back to Connect. It keeps
`data-cloud-sync-action`, so the shells' 44 px rule applies, and desktop gets it too.

The iPhone's footer only draws in the attention and error phases, so that shell has
to add `connecting` for this to show there.
…thing

With no notes, Home's Recent section showed its heading above the three create
buttons that stand in for a list. Nothing there is recent, so the heading now appears
with the list and not before it.
…licate anywhere

Two extra highlights, both on rows nobody had picked.

On a touch device the sidebar drew the keyboard's cursor. Nothing moves that cursor
without a keyboard, so it stayed where a tap or a render left it: the Inbox wore its
ring after launch, and after a vault filled, Archive stayed tinted until another row
was tapped, holding `data-sidebar-idx=3`. Lists, boards and grids already leave the
cursor undrawn on such a device through `useKeyboardCursor`, and the sidebar now does
the same. Only the drawing changes: the index and its anchoring stay, and a focused
sidebar no longer strips the active row's tint there, since nothing else is marking it.

Opening a menu on a row selects that row, which stayed selected after the menu
closed. After Duplicate, from a long press or a right-click, the source stayed lit
beside the copy it opened. A selection made only for the menu now ends with the menu.
One the person made with Shift or Cmd stays.
…he right keys

On an Android tablet the title row sat under the status bar, since the shell only
insets the page on a phone. The app shell now keeps below `safe-area-inset-top`
wherever the page draws under a bar. That is 0 on desktop, and a phone shell's own
padding already says the same thing.

The tooltips said ⌘1 and ⇧⌘E on Android, because they were written out by hand, and
so did the same tooltips on Windows and Linux. They now read the keymap, so a phone
or PC reads Ctrl+1, a Mac and an iPad read ⌘1, a rebound action names its new key,
and an unbound one names none. The same goes for the other keys spelled out in the
sidebar's Search and Quick Notes, Home, the empty pane, the comment box and the
onboarding tips. The rest of the app's written-out keys are in the manual, which
translates them.
Every other page names itself in the title bar. Assets fell through to the vault's
name, which read as though Go to Files had gone nowhere.
…n name one

On a local vault the bundled server left the pages in a `.base` database out of
`list_notes` and `list_tasks`, though `read_note` and `search_text` could reach them.
Under a path scope they did not exist at all. A deny entry on a page or a database
counted as naming nothing, so the fail-closed rule shut the client out of everything,
with a message saying the entry was renamed or deleted when it was not. A server has
listed these pages since #527, so the answers depended on where the vault was.

The server now opens a local vault with record pages on, so they are in the listings,
tasks, tags and backlinks, and a scope judges them by path like any other note. A
deny entry hides just that page or database, an allow entry on either shares it, and
an entry that really names nothing still stops the client. A database with no pages
yet can be named too. This matches zn's 86ed8ff.

It stays strict. A database's `data.csv` and `schema.json` are not listed and stay out
of reach, nothing can be created or moved into a `.base` folder under a scope, a
folder holding a hidden page cannot go as a whole, and a scoped client cannot delete a
database folder as a folder. The CLI's listings are unchanged, since they draw a
database as one thing, and so is the shared fixture.

`spell` already goes exact, then lower-cased NFC, then folded, each pass counting one
path once, as zn's a00ca1f does. It gains direct tests here.
…layout

The pinned pane's title reveals its note in the sidebar, and it took the path's first
segment for a system folder. In a vault that keeps notes at the root, `Projects/x.md`
asked for a folder called `Projects`, and in one with a moved system folder it asked
for the directory's own name. It also went through `setView`, which blanked the title
and the status bar while the open note stayed.

It now resolves the path through `sidebarRevealTarget`, opens the folders above the
note, and puts the cursor on its row, or on the folder when a windowed list has not
drawn the row. The note list layout still gets `setView`, with the right folder.
"Quit (⌘Q) and relaunch" named a Mac key on every platform. The sentence says what
to do without it, so the key is gone rather than gated. The source check that keeps
written-out Mac keys out of the components now covers this file too.
The picker and the note chip printed the internal bucket name, so a root note in a
vault that keeps notes at its root read "inbox", and a custom label was ignored.

The window has no store, but it does not need one: its prefs already come from the
same storage, which holds the labels, and `getVaultSettings` is on the bridge. It now
uses `noteAreaLabel` like the other result rows, and the row's path comes from
`noteFolderSubpath`, so a moved system folder is not repeated in it. If the settings
cannot be read, the rows read as they would in a vault with an Inbox.
…safe

Review of the seeded inbox change found four ways it took too much.

An empty `inbox/` was removed on open and from the watcher, with no message, though
nothing shows this app made it: someone who keeps one, or a capture tool writing to
it, lost the folder. An empty folder now goes only on an explicit switch to root
mode, and the automatic paths act only when a verified Welcome is there.

An edit landing between the hash and the delete was lost. The Welcome is now renamed
aside, hashed again where nothing can save to it, and then deleted or put back. A
file saved after the rename keeps the folder.

Comments on an untouched Welcome ended up orphaned, so a Welcome with a comments
sidecar now stays. The note's creation record goes with it when it does leave.

Choosing Vault root in onboarding removed the Welcome, and switching back to Inbox did
not restore it, so the vault opened blank. The Welcome now goes only when there is
something else at the root to look at. A vault that says root keeps being looked at,
so the Welcome leaves once the folders arrive.
… connected

The footer can be behind the account: the browser may finish between the last look
and the click, and Cancel then signed the new account out. It now reads the account
status first. A connected account is left alone and a sync is requested, and only a
sign-in still in progress is cancelled.
…ection stays

A tablet in a keyboard case with no trackpad likely still reports a coarse pointer, so
its keys moved a cursor nobody could see. `useKeyboardCursor` now draws the cursor once
a key is pressed outside a text field, and stops when a finger touches the screen. A
text field does not count, since that is where an on-screen keyboard types, so touch
alone stays cursorless. This reaches every list that uses the hook. Its test file is
rewritten and keeps both earlier cases.

One row selected with Cmd lost its selection when a menu on it closed, because only a
selection of two or more counted as the person's. Any selection the row was already in
now stays.
`duplicate_note` on a record page under a scope wrote `Alpha copy.md` into the `.base`
folder, where nothing is meant to be created. A rename, move, archive or trash took a
page out of step with its database, whose schema names its pages and whose row titles
follow them, and a scoped client may not even see that database. All five now refuse,
as zn's 3333194 does. Reading and writing a page still work, a hidden page still
answers as a missing one, an archived page cannot be restored through a scope since a
destination never reaches a `.base` folder, and at full access a page stays an ordinary
note. The Help says what a path scope can do with one.

The check of a new note's final path stopped silently after 10,000 taken names and
let the write go ahead. It now refuses. And a note's path now goes through `spell`, as
zn's 265723f does, so an NFD `Café/x.md` beside `Cafe/x.md` is found.

The shared fixture is unchanged.
…Windows

CI on Windows failed on three things this branch added, none of them product code.

Two checks read `EditorPane.tsx` and looked for a newline, which a Windows checkout
writes as CRLF. The third was an unhandled error: revealing a row focuses the sidebar
with retries, those tests have no sidebar to settle on, and a retry fired after the
test's window was torn down. The tests now wait those retries out.

With EditorPane.tsx converted to CRLF, the source checks pass here too.
…base as a folder

`delete_note` on a record page leaves the same stale `pages` entry in the database's
`schema.json` as the other five, so under a path scope it now gets the same refusal,
as zn's a702472 does. A full-access delete is unchanged.

A local vault's folder listing already leaves `.base` folders out, so a scoped client
there could not list, rename or delete one. A server's listing does include them, and
through this server a scoped client on a remote vault could. Under a path scope they
now drop out of the view on both, as zn's 3442647 does, while a path can still name
one in an entry. At full access, or with a scope that only limits access, nothing
changes.

Two tests from the earlier record page commit passed for the wrong reason: they left
out `confirm`, or spelled `oldSubpath` wrong, so the tool refused before any scope
check. They now send real arguments and assert the scope's answer. The shared fixture
is unchanged, and the Help says what a path scope can do.
@adibhanna
adibhanna merged commit 4e8c13f into v2.83.0 Nov 5, 2026
17 of 18 checks passed
@adibhanna
adibhanna deleted the fix/2.83.0-polish branch November 5, 2026 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant