- Drop the top margin of the first block so a leading heading sits flush
with the memo header; headings also reset when they open a nested
block.
- Calmer heading scale (24/20/18px, semibold, no h1/h2 rules) shared
with
the editor's heading lines via headingTypeClass, so edit and view
match.
- Headings get more space above than below to bind to their content.
- Unify block spacing (mb-2, no top margin) across code, table, mermaid;
give hr a real section break (my-4).
- Trim trailing margins inside list items so nested lists don't add
gaps;
mute list markers.
- Inline code sizes relative to its context; blockquotes drop italics
(poor CJK obliques) for a quieter neutral border; images get rounded
corners matching attachments.
The composer's visibility control becomes AudienceMenu, a dropdown that
replaces the popover with a nested Space select, and it replaces the
Move to Space dialog.
- Visibility options come first, as two-line rows (label, then a
description that wraps for long translations) in a 224px menu.
- Space is an optional row below them that never names the empty state:
"Add to space" until one is chosen, then the Space itself. The
selected Space in the submenu toggles back off (a check at rest, an ✕
on hover, focus, or touch). A Space the author has left stays listed
so it can be removed.
- Editing a top-level memo the user can manage now offers the Space row;
comments never do, and a new memo composed inside a Space stays fixed
to it. A Space change is saved with the edit, sending space and
visibility together, and shows "Memo moved".
- The Move to Space dialog and its More submenu entry are removed.
- Copy: "Add to space", "Remove from {{space}}", the Space audience is
now "Members · Everyone in {{space}}", shorter English descriptions,
and short Russian visibility labels.
The sidebar scope menu gets the same row grammar: its Browse/Spaces half
and account half used different insets, icon sizes, row heights, and
text sizes. Every row now has 4px section padding, 28px height, 13px
text, and a 20px leading slot with a 14px glyph, so icons, the avatar,
and Space marks share a column and all text starts at the same x.
Section labels reuse SidebarSectionHeader, the Spaces "+" lines up with
the row chevrons, and the Inbox chip uses the 11px step.
Explore and other creator-less scopes mix authors, but the calendar and
map were built for one person's memos.
Calendar:
- Excerpts lead with their author's avatar when no creator is selected.
- From xl the grid always makes room for the day panel instead of being
covered; the panel narrows (to its 320px minimum) so columns keep
preview width, and cells between 64 and 100px use a slim preview.
- Cells with no room for a preview (phones) carry one mark under the
date: the first photo, else the day's authors in a mixed scope, else a
glyph of written lines.
Map:
- Pins follow the calendar's mark order: the memo's first photo, else
its author's avatar in a mixed scope, else the dot. Hover text names
the author, and updates once authors resolve.
- A place label is its author's words: the panel title uses one only
when it speaks for every selected memo, and "Write here" never copies
another author's label into a new memo.
- Guests are not asked to add a location, and the tile error no longer
says "your memos".
Shared day/place panel: pin marks only in a single creator's scope,
creators resolved in one batch, and an empty day says so.
With a creator and a Space both selected, the switcher trigger showed
only
the creator avatar, hiding which Space was active. It now shows the
creator
avatar, a hairline slash, and the Space mark with its title; the creator
name moves to the tooltip so the Space title keeps the width.
User avatars are now always round, separating people from square Space
marks, and the instance logo keeps its square shape. In the trigger the
avatar draws 22px inside the Space mark's 24px slot so the solid circle
does not outweigh the pale tile.
Closes#6381
Explore mixed other users' pinned memos to the top and showed the pinned
mark on them. Pinning is the owner's arrangement of their own memos, so
pinned-first ordering and the mark now apply only when the feed is
scoped
to one creator (Home, user profile); Explore stays chronological.
When neither side of the user menu has room, the theme and language
submenus now fall back below the row, like nested submenus do, instead
of overflowing the viewport.
Calendar and Map are reading views like Timeline, so signed-out visitors
can now open them and see the memos readable to them. Their Space
variants still require sign-in, and composing stays signed-in only.
Navigation:
- Guests get Timeline, Calendar, Map; Attachments stays signed-in only.
The About pill is gone; About lives in the scope menu and the common
sidebar for everyone.
- One NavPill renders every nav control, from a single destination list.
- A memo list without a creator is Explore, so Timeline sends guests
there directly instead of through the Home redirect.
Scope menu:
- One UserMenu for both cases: preferences, then account pages when
signed in. Guests sign in from the sidebar footer only.
- Guests no longer see a Browse control whose only option is Explore.
- Theme and Language are submenus instead of dialogs; a choice applies
at once, saved to the account or kept locally for guests.
- The system theme listener reads the latest preference, so local guest
choices follow OS changes correctly.
Timestamp: the card timestamp was a button that navigated in script, so
it
had no URL preview and could not be opened in a new tab. It is now a
real
link that keeps the origin page and underlines on hover. On the memo's
own
page it renders as plain text, since the link would point at itself.
Action menu: ordered by how often each action is used, showing only what
applies:
- Owner: Open, Edit, Pin | Archive, one task action, Copy > (link,
content),
then More > (Move, Delete) when the memo can move, otherwise Delete.
- Archived: Restore | Delete.
- Comment: Edit | task action, Copy | Delete.
- Viewer: Open, Copy.
Open is a real link (new DropdownMenuLinkItem kit wrapper), hidden on
the
memo's own page. Check all / Uncheck all collapse into one item chosen
by
whether tasks are still open. Move only appears when there is a Space to
move to or leave, and a comment's copied link lands on the comment
inside
its parent memo.
Detail sidebar: remove the back-to-origin row. It duplicated browser
back
and the navigation above it, pushed a new history entry instead of going
back, sat inside the mobile drawer, and labelled most origins as Home.
Returning to the origin after archive or delete is unchanged.
Refs #6359
Use one SVG composition with scene-specific marks for memo, search, and
inbox empty states. Remove the sprite pool and unused placeholder
variants so callers supply the scene and localized message directly.
Cover transaction rollback, stale state, permissions, cache invalidation, batch deletion, and concurrent writes across all three database drivers.
Reject nil attachment bindings and enforce effective lifecycle policies before memo mutations reach the driver.
The MCP catalog survived the recent API changes because it is derived
from OpenAPI, but three things drifted around it, and fixing them
surfaced a fourth.
- mcp: the adapter built each in-process API request with httptest,
whose fixed peer address (192.0.2.1) overrode the caller's resolved
address on the client-address middleware's second pass. Every
anonymous MCP caller shared one rate-limit bucket. The adapter now
presents the address resolved for the /mcp request as the peer.
- mcp: the full SpaceService is curated as space_* tools. Space and
member updates drop path-bound fields and rely on the gateway's
update-mask inference; accepting and declining an invitation no
longer require an empty body for a body: "*" binding whose only
field comes from the path.
- mcp/evals: answers re-pinned to the current seed (four users,
22 top-level memos, 35 reactions, four spaces) and extended with
space questions.
- store/sqlite: transactions begin IMMEDIATE. Token authentication
records the token's last-used time asynchronously on every request,
and the space drivers read before they write in a deferred
transaction; when the background commit landed in between, SQLite
refused the upgrade with SQLITE_BUSY without consulting the busy
timeout. Roughly half of space creates over MCP failed. Taking the
write lock up front keeps the parent-delete serialization the design
relies on, so the SQLite stale-snapshot test now asserts that a
concurrent delete waits for the open transaction instead.
An active application ADMIN now passes every memo-local authorization
check on named operations: authorship, audience, Space membership and
participation, attachment and reaction ownership. Structural validity
still applies, an archived admin holds no privilege, and collection
listings keep the audience predicate so feeds never surface other users'
private memos.
- core/access: admin bypass in the read policy; CanManageMemo and
CanManageAttachment as the shared author-level predicates.
- store: drivers read the actor's role alongside its lifecycle state in
the mutation transaction; validators accept an admin where they
required the author or a member; shared attachment binding and
removal predicates.
- api: handlers use the shared predicates; admins may place memos in
any existing Space and see a memo's Space by name.
- web: one canManageMemo helper replaces the ad hoc creator checks.
- docs: multi-spaces design revised in place; share RPC comments
updated.