Commit graph

4704 commits

Author SHA1 Message Date
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
amblued
f36ca9317d
feat(web): add a global memo composer to the sidebar (#6219) 2026-08-21 21:14:28 +08:00
amblued
57a4b7aee6
chore(go): upgrade to Go 1.27 (#6217) 2026-08-20 23:37:02 +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
amblued
cf1be15f3e
refactor(fileserver): fix stale README and simplify file serving (#6208) 2026-08-18 21:22:26 +08:00
Johnny
16cd3107bf
feat(link-preview): support standards-based metadata (#6206) 2026-08-18 09:16:04 +08:00
Johnny
f3a6bfa8d9
chore(deps): update backend dependencies (#6199) 2026-08-17 09:17:58 +08:00
boojack
6b999e42fe
chore: update README.md
add star-history badges

Signed-off-by: boojack <stevenlgtm@gmail.com>
2026-08-16 22:23:34 +08:00
Wally
f954434920
fix(store): begin sqlite memo mutations with BEGIN IMMEDIATE (#6192) 2026-08-16 22:18:08 +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
questfever
011a0e8360
refactor: replace Split in loops with more efficient SplitSeq (#6187)
Signed-off-by: questfever <questfever@outlook.com>
2026-08-16 21:46:16 +08:00
boojack
14d757ce1f fix(editor): preserve IME composition during content sync 2026-08-14 00:08:45 +08:00
boojack
a569775120 chore(web): standardize UUID generation 2026-08-13 22:45:08 +08:00
Johnny
7d971b1c61
feat(storage): add named attachment storage drivers (#6184) 2026-08-13 22:37:11 +08:00
guomengjia618-dot
bba1d6d497
fix(i18n): correct French memo link label (#6182)
Co-authored-by: guomengjia618-dot <271711167+guomengjia618-dot@users.noreply.github.com>
2026-08-12 20:52:25 +08:00
boojack
34e2a59a4a chore: simplify issue templates 2026-08-12 00:04:02 +08:00
Johnny
57bfe0a70f
feat(filter): support memo location filters (#6181) 2026-08-12 00:00:37 +08:00
Johnny
da81b6b48f
feat: persist and display client media metadata (#6180) 2026-08-11 23:47:21 +08:00
Chen, Ting-An
38bc02c3cc
chore(i18n): complete Traditional Chinese translations (#6177) 2026-08-11 18:33:15 +08:00
Johnny
9a928c2868
feat: insert attachment images into memo content (#6172) 2026-08-10 22:53:07 +08:00
Johnny
bd636a4365
feat: support memo-scoped Markdown attachment images (#6169) 2026-08-09 23:27:18 +08:00
Johnny
4e8b262d6d
refactor(memo-views): replace shortcuts with saved views (#6167) 2026-08-09 20:27:27 +08:00
kpab
6c22f9562b
i18n(ja): add missing Japanese translations (#6165) 2026-08-09 16:24:47 +08:00
boojack
b7f28659bf chore: update sponsors 2026-08-09 00:29:25 +08:00
Johnny
f75d49f9b6
fix(web): restore sidebar and outline behavior (#6161) 2026-08-08 08:58:07 +08:00
s4kura
e5ed6e7ec6
fix: align memo outline links with rendered headings (#6159) 2026-08-07 09:51:48 +08:00
Wally
3f567fda45
fix(web): keep share token on shared-memo attachment thumbnails (#6155) 2026-08-07 00:21:53 +08:00
johnnyjoygh
ec689c3a03 chore(sidebar): replace static mode with a library-content fallback
The rail had two navigation grammars for the same destinations: a
compact icon strip on recognized routes, and StaticNavigation — full
labeled rows — on everything else (/about, /403, /404, wildcard).
Crossing onto one of those pages rearranged the entire rail, and any
route nobody remembered to classify silently inherited the alternate
layout.

Make the frame invariant instead: header, global strip, contextual
content, footer — on every route. Pages without a specific sidebar
tenant now fall back to the default library content (the home
collection for signed-in users, explore for guests), following the
convention that error and utility pages render inside the persistent
shell rather than degrading it. The memo-detail route gets the same
fallback while the page has not yet published its descriptor, instead
of a blank scroll area.

Off the collection routes the library is display-plus-navigation, so
StatisticsView and TagsSection accept a navigationTarget: calendar and
tag clicks land on / or /explore with the filter in the query string,
which RootLayout's route-change effect would otherwise wipe.

StaticNavigation is deleted, About returns to living only in the user
menu (the showAbout prop is gone), and the guest strip now marks About
active on /about.
2026-08-07 00:04:04 +08:00
Johnny
bdf87e8699
fix(api): omit unset message fields from gateway JSON (#6156) 2026-08-06 23:21:21 +08:00
boojack
d722608947 fix(sidebar): stop the month calendar growing with the rail
Calendar cells were `aspect-square w-full`, so cell height was a pure
function of rail width. Dragging the rail from 224px to its 400px max
took the calendar block from 231px to 382px — a 65% jump that pushed
Views and Tags out of view, left a 12px numeral floating in a 50px box,
and turned the selected day into a 50x50 slab against a rail whose every
other row is 30px.

Split the cell in two: the button spans its whole column and takes the
pointer, while a chip inside it carries the fill, the ring and the today
dot, and stops growing at `maxSize`. A chip is therefore
`min(column, 30px)` — narrow rails are untouched (224px still yields
25px cells, 170px of grid) and wider ones spend the surplus on hit area
instead of height, holding the grid at 200px from 258px up.

The today dot stops detaching as a side effect: it is positioned against
a chip that no longer grows, rather than against a cell floor that
drifted 19px below the numeral at full width.
2026-08-06 22:59:21 +08:00
Johnny
abe87d9440
feat(sidebar): make the desktop rail resizable (#6148)
Signed-off-by: Johnny <johnnyjoygg@gmail.com>
2026-08-06 19:18:38 +08:00
Anupam Mediratta
3b8d2558ed
fix: upgrade golang.org/x/crypto to 0.52.0 (CVE-2026-39829) (#6152) 2026-08-06 15:25:04 +08:00
boojack
5192732cee fix(web): keep task checkboxes controlled so check-all updates render
remark-gfm passes checked as undefined for unchecked task items, so the
Base UI Checkbox mounted uncontrolled and permanently ignored the
checked=true arriving after "Check all tasks" rewrote the memo content.
Coerce the prop to a boolean so the checkbox is always controlled.

Also drop the `${updateTime}` suffixes from memo React keys and the
comment editor cache key: a protobuf-es Timestamp stringifies to
"[object Object]", so the suffix was a constant — the keys were
effectively name-only already, and now say so honestly.

Fixes usememos/memos#6143
2026-08-06 09:09:37 +08:00
johnnyjoygh
4eee9a5fb4 chore(web): prune frontend dependencies
- Upgrade Base UI and i18n packages for TypeScript 7 support
- Remove unused runtime, type, and build dependencies
- Delete the orphaned UUID helper
2026-08-06 00:13:09 +08:00
johnnyjoygh
b930b1090a refactor(sidebar): reduce tooltip noise and refine tags
- Centralize tooltip timing and limit hints to useful content.\n- Simplify tag hierarchy presentation and align compact tag rows.
2026-08-05 23:52:13 +08:00
johnnyjoygh
6fbc81337f chore(sidebar): improve view and tag controls
- expose display settings from the Views header and refine layout controls
- add explicit tag list/tree navigation with accessible expansion behavior
- cover view persistence, menu behavior, and tag tree construction
2026-08-05 23:12:49 +08:00
johnnyjoygh
d14a542002 chore(web): add static navigation for default routes
- Show auth-aware common destinations when a route has no contextual sidebar.
- Restore About as a standalone page and route all About entries to it.
2026-08-05 21:46:34 +08:00
johnnyjoygh
83eab44695 fix(web): preserve memo scope across global navigation 2026-08-05 09:32:41 +08:00
Johnny
4d2667983f
feat(web): unify navigation in a route-aware sidebar (#6144) 2026-08-05 09:05:57 +08:00
Justin Zobel
156ee7edac
chore(ci): remove stale issue and pull request automation (#6133)
Remove the aggressive 14-day stale and 3-day close policy so valid issues and contributions are not discarded during maintainer review delays.
2026-08-02 21:19:03 +08:00
Johnny
d617f652b0
fix(markdown): support word-internal apostrophes in tags (#6135) 2026-08-02 21:08:57 +08:00
Johnny
8648b97b9e
feat(user): define username format and mention syntax (#6134) 2026-08-02 19:57:16 +08:00