Commit graph

2914 commits

Author SHA1 Message Date
Johnny
ad6433c51a
feat(web): calendar day panel refinements (#6280) 2026-09-06 13:15:17 +08:00
Johnny
500bb716bc
feat(web): add a calendar view of your memos (#6277) 2026-09-05 12:51:39 +08:00
johnnyjoygh
50e71e2192 chore(editor): name the commit action by host and surface its shortcut
The save button now reads Save in the composer, Update when editing, and
Comment in the comment editor, with a Cmd/Ctrl+Enter chip inside it that
is
hidden on coarse pointers. Saving keeps the verb and swaps the chip for
a
spinner in the same grid cell, so the button no longer changes width;
the
"Saving..." string is removed from every locale. Hosts that close after
saving hold a short "Saved" confirmation while the caches refresh, then
reset and close; the in-place composer clears immediately as before.
2026-09-05 10:19:22 +08:00
johnnyjoygh
5ad4aea565 chore(sidebar): move tag layout toggle into a menu 2026-09-05 10:17:19 +08:00
Johnny
bf1f742321
feat(search): add expression mode to Quick Find (#6276) 2026-09-05 09:14:08 +08:00
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
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
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
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
2c7cf91aac
fix(editor): enable native mobile text assistance (#6248) 2026-08-30 11:59:16 +08:00
boojack
171687c456
fix(map): restore keyless OpenStreetMap tiles (#6242) 2026-08-28 22:41:36 +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
f36ca9317d
feat(web): add a global memo composer to the sidebar (#6219) 2026-08-21 21:14:28 +08:00
amblued
e99ae78012
fix(markdown): avoid parsing currency as inline math (#6216) 2026-08-20 19:47:10 +08:00
amblued
e67ec79351
fix(web): correct RTL layout behavior (#6215) 2026-08-19 21:14:51 +08:00
amblued
488b71a00a chore(sidebar): animate global navigator pill transitions
Give the home/attachments/inbox navigator one shared pill anatomy so the
active label expands and collapses as a single smooth motion: constant
px-[7px] padding with the label in a grid column animating 0fr to 1fr,
tooltips kept mounted via Base UI's disabled prop, and the scope control
as one always-mounted uncontrolled DropdownMenu that vetoes the menu and
navigates when off the scope routes. The unread badge scales in and out,
and the scope chevron rotates while its menu is open.

The tooltip anchors to a wrapper span because a disabled tooltip stamps
data-trigger-disabled on its trigger element, which Base UI's shared
floating logic would read as the menu trigger being disabled.
2026-08-19 19:35:37 +08:00
amblued
38412eb75a
fix(storage): proxy S3 attachments through authenticated routes (#6210) 2026-08-18 23:38:35 +08:00
shiva
c9324f9519
chore: add Hebrew language support (#6203)
Co-authored-by: AlloyQA Runner <runner@alloyqa.invalid>
2026-08-18 21:24:27 +08:00
johnnyjoygh
bbb23958b2 fix(editor): match tag autocomplete on path segments
Tag completion filtered candidates with a full-path prefix test, so a
nested tag was only reachable by retyping its whole ancestry: `#Mem`
offered nothing for `software/hosted/Memos`.

Rank candidates instead — full-path prefix, then path-segment start,
then any other position — and keep that order by opting out of
CodeMirror's own fuzzy filtering.

Fixes #6190
2026-08-16 22:09:04 +08:00
Valentin Sonin
4b561d89a8
chore: update russian localization (#6195) 2026-08-16 21:48:52 +08:00