Commit graph

4750 commits

Author SHA1 Message Date
Johnny
60b89736a2
feat(editor): autofocus Home on initial desktop load (#6275) 2026-09-05 07:43:20 +08:00
Ruben Pari
f8b55ad16e
fix(i18n): align Chinese sensitive content labels (#6274) 2026-09-05 07:21:35 +08:00
johnnyjoygh
55d8e6ad42 chore(web): compact user profile header and in-place views on profiles
The user page at /u/:username now opens with a compact identity block
(40px
avatar, name, handle, clamped bio) instead of a hero header with a share
button, and the list beneath it follows the user's column setting like
Explore does. In grid mode the header spans every column via a new
ColumnGrid
header slot, exposed through PagedMemoList.renderHeader. Loading shows a
skeleton after the standard delay, not-found renders a body instead of a
toast fired from render, and visitors get an explicit empty message.

Saved views now apply on profile routes too. A single profile-route
matcher
in lib/memo-views replaces five separate spellings,
isMemoCollectionRoute
names the routes where views, calendar days and tags narrow the list in
place, and the sidebar shows the Views section on every such route for
signed-in users. The never-taken navigation-target branch in the
collection
sidebar is removed along with its props.
2026-09-05 00:22:05 +08:00
Johnny
dfa0fda766
feat(filter): support space placement in saved views (#6267) 2026-09-04 09:29:09 +08:00
Johnny
230e3a1d11
feat(spaces): deliver invitations to the inbox (#6266) 2026-09-04 08:58:49 +08:00
johnnyjoygh
e963d326ab chore(mcp): satisfy revive lint rules 2026-09-04 08:19:44 +08:00
johnnyjoygh
1ed894bee4 chore(web): bump CodeMirror packages
Update @codemirror/view 6.43.6 -> 6.43.10, commands 6.10.4 -> 6.11.0,
state 6.7.1 -> 6.7.2, lang-markdown 6.5.0 -> 6.5.2 and @lezer/markdown
1.6.4 -> 1.7.2 to pick up upstream composition and Android/iOS fixes
while investigating #6183.
2026-09-03 23:43:38 +08:00
johnnyjoygh
652957c0f9 fix(mcp): expose standard JSON Schema formats in tool schemas
The gnostic OpenAPI generator hardcodes `format: enum`, `format: bytes`,
and `format: field-mask` on string properties. These are OpenAPI-only
markers; MCP clients treat tool schemas as JSON Schema 2020-12 and warn
or fail on them (zod-based parsers log "unknown format" for every tool
on every load, ajv strict mode rejects the definitions).

Normalize schemas as they leave the resolver and when parameter schemas
are cloned: drop `format: enum` (the `enum` keyword is already present),
rewrite `format: bytes` to `contentEncoding: base64`, and drop
`format: field-mask`. The generated openapi.yaml is unchanged.

A catalog test now walks every curated tool's input and output schema
and fails on any format outside the registered allowlist.

Fixes #6262
2026-09-03 21:53:03 +08:00
johnnyjoygh
b88a71540a feat(web): add 0.5x and 0.75x audio playback speeds
Voice notes recorded quickly or in noisy surroundings are easier to
follow when slowed down. The speed button still starts at 1x and cycles
through 1.5x and 2x before wrapping to the slow rates.

Closes #6263
2026-09-03 21:34:38 +08:00
johnnyjoygh
e87dfe637d test(sidebar): align compact navigation assertions 2026-09-03 21:33:10 +08:00
johnnyjoygh
02caf98c7b chore: separate the header brand from the navigator
The space switcher and the navigator pills shared one grammar (rounded
pill, same padding, 16-20px glyph, labels on the same rail), so the
header read as two rows of a list. Make the brand a title (24px mark,
15px semibold, small chevron), keep only the bordered compose control in
the header, move search to the trailing end of the navigator, and size
the nav pills as 28px squares to match compose.
2026-09-03 09:23:01 +08:00
boojack
6346bed57f
chore: update README.md
Signed-off-by: boojack <stevenlgtm@gmail.com>
2026-09-03 00:16:08 +08:00
johnnyjoygh
882664d9d6 refactor(calendar): collapse the activity calendar to the month grid
Only the month view is rendered anywhere, so drop the unused year
calendar, the size variants and the helpers that existed for them.

- Build the month grid in one place (monthDays.ts) with the week-start
  rotation and out-of-month padding, and test it.
- Keep every chip visual in cellStyles.ts. A selected day now owns its
  fill outright so the empty-cell hover tint cannot swap the accent out.
- MonthCalendar derives maxCount from its own data instead of taking it
  as a prop; the index exports only what callers use.
2026-09-02 22:55:51 +08:00
johnnyjoygh
aba1f7384d feat(sidebar): separate checked filters from current rows
The rail used one fill for two meanings: the page you are on and a
filter that is on. A view, a tag and a calendar day could light three
rows like three current pages, while the view itself was never echoed
above the list.

- Split sidebarRowStateClasses into idle / current / checked. Nav pills,
  settings sections and list scopes stay filled; views, tags (flat and
  tree) and the selected calendar day take the checked look: foreground
  text, accent icon and count, a 2px accent mark in the rail inset, no
  surface.
- Echo the active view as a filter chip like a tag, and format the day
  chip as a date.
- Make the tags list/tree toggle surface-free so only rows carry a fill.
- Tighten rows from 32px to 28px; nav pills keep their 32px square.
2026-09-02 22:50:29 +08:00
johnnyjoygh
ce0dd23d2f fix(ui): refine compact navigation and memo actions 2026-09-02 22:22:13 +08:00
johnnyjoygh
5a65350400 fix(sidebar): flatten account footer surface 2026-09-02 20:45:43 +08:00
Johnny
d79b2e1dc3
feat(sidebar): redesign memo detail navigation (#6261) 2026-09-02 20:20:22 +08:00
johnnyjoygh
245e5e3a3e chore: prioritize access policies in system settings 2026-09-01 23:30:43 +08:00
johnnyjoygh
191ec01d11 fix(sidebar): unify layout rails and spacing
Keep the primary navigator compact and horizontal while aligning header, content, and footer controls on shared artwork and label rails. Add regression coverage for symmetric popovers, compact hit targets, and mobile drawer accessibility.
2026-09-01 23:24:50 +08:00
Johnny
673b9df05f
feat(editor): add Markdown formatting shortcuts (#6258) 2026-09-01 21:54:55 +08:00
johnnyjoygh
ee3a0a2bba chore(sidebar): add common content and clarify navigation 2026-09-01 21:24:56 +08:00
johnnyjoygh
de843f658a chore: slim down the view options popover
Drop the title bar and section micro-headers, and let the layout
switcher recede: transparent track with an accent fill on the active
segment only, which also reads correctly in dark mode.
2026-08-31 23:56:36 +08:00
boojack
04be0d9ee6 chore(web): unify sidebar rows on a shared row grammar
Align every sidebar list (tags in both modes, views, settings, memo
detail) on shared slot and count-rail primitives so icons, labels, and
digits sit on the same vertical lines. Tree branches show their # mark
at rest and swap in the chevron on hover or keyboard focus; views rows
gain glyphs and move onto the same grammar, with ViewsSection extracted
to its own module.
2026-08-31 23:40:47 +08:00
boojack
5b2bd74bdb chore: remove promotional branding output 2026-08-31 21:33:29 +08:00
elonfliter
59541ea438
refactor(webhook): iterate hostname labels with SplitSeq (#6251) 2026-08-31 09:04:15 +08:00
boojack
dcef4188db chore: tweak README 2026-08-30 12:49:04 +08:00
boojack
2c7cf91aac
fix(editor): enable native mobile text assistance (#6248) 2026-08-30 11:59:16 +08:00
boojack
80832c0ad1
chore(main): release 0.31.0-rc.1 (#6121) 2026-08-30 09:44:33 +08:00
boojack
a7208701d1
fix(store): harden 0.31 migration upgrades (#6247) 2026-08-30 09:24:56 +08:00
Abdellatif Anaflous
d5849bdf52
fix(attachment): detect heic/heif mime type from filename extension (#6246)
Signed-off-by: Abdel <hktitof@gmail.com>
2026-08-30 09:09:53 +08:00
boojack
0e9e94e0e8 chore(release): enable rc.1 prereleases 2026-08-28 23:11:12 +08:00
boojack
5b6d8f87bf
refactor(server): remove RSS feed support (#6243) 2026-08-28 23:06:25 +08:00
boojack
171687c456
fix(map): restore keyless OpenStreetMap tiles (#6242) 2026-08-28 22:41:36 +08:00
boojack
3cb98f26ae chore(ci): manage stale issues and pull requests 2026-08-28 22:02:13 +08:00
Chen, Ting-An
9fd3885e43
fix(i18n): complete Traditional Chinese space translations (#6241) 2026-08-28 21:47:31 +08:00
amblued
22a5f3385b fix(ui): refine space labels and sidebar menus
Keep long Space titles readable without expanding compact surfaces.

Fold Inbox into the user menu and align sidebar popups with the rail.
2026-08-28 01:01:01 +08:00
amblued
9d2b77ced8 feat(space): add client-defined UIDs and identity cues
- Generate UUID v4 values in the client with validated custom UID
  support.\n- Show immutable UIDs where Space titles need
  disambiguation.\n- Standardize Space surfaces on the Lucide Astroid
  icon.
2026-08-28 00:33:09 +08:00
amblued
040f9ae717 fix(web): make archived independent of space scope 2026-08-26 23:43:05 +08:00
amblued
fc7970a2d1 fix(spaces): add context to summary query errors
Preserve the underlying database error across all drivers and cover the wrapping behavior with focused tests. Make creation tests wait for the asynchronous completion callbacks to avoid timing-dependent assertions.
2026-08-26 22:47:54 +08:00
ABird
854d893fc6
feat(spaces): add settings management (#6234) 2026-08-26 22:20:40 +08:00
amblued
cdd13ca24e feat(spaces): unify collection scope across resource pages
- Treat All as an unfiltered Space collection while preserving exact Space filters.
- Keep global resources outside remembered Space context and preserve memo navigation origins.
- Surface Space placement consistently across memo, attachment, and visibility UI.
2026-08-26 09:16:28 +08:00
ABird
05f882e43a
feat(spaces): add consent-based member invitations (#6232) 2026-08-25 23:21:19 +08:00
amblued
45c3a79b12 fix(settings): validate memo content length limit 2026-08-24 23:35:32 +08:00
ABird
66b9cb49c1
feat(spaces): add space-aware UI and filtering (#6230) 2026-08-24 23:13:55 +08:00
amblued
6da8461e1d
feat(spaces): add multi-space memo collaboration (#6228) 2026-08-23 19:36:50 +08:00
amblued
fc6cbab7d0
fix(editor): scope view toggles to inline presentations (#6227) 2026-08-23 16:26:17 +08:00
amblued
76a7629243
feat(instance): persist access mode independently of URL (#6225) 2026-08-22 14:15:31 +08:00
amblued
ee6560e0d9 chore: streamline ignore rules 2026-08-22 10:34:28 +08:00
amblued
fe9a9bdf64
refactor(reaction): link reactions to memo IDs (#6221) 2026-08-22 00:12:35 +08:00
amblued
79baf2eab7 chore(link-preview): remove site-specific image fallback 2026-08-21 21:22:56 +08:00