Commit Graph

10 Commits

Author SHA1 Message Date
johnnyjoygh 5f3969a830 feat(reactions): add full emoji picker
Let people use any Unicode emoji through a searchable, virtualized
picker.
Keep reaction counts accurate and requests optimistic and idempotent.
Refresh demo content so signed-in visitors can participate.

BREAKING CHANGE: Remove the MEMO_RELATED instance setting and
memoRelatedSetting configuration value. Remove their declarations and
lifecycle references from configuration files; existing reactions are
preserved.
2026-11-14 20:46:46 +08:00
johnnyjoygh bb7114651e chore: upgrade ui lib 2026-11-13 09:13:37 +08:00
Johnny 99a7e33e77 feat(web): adopt @usememos/ui as the design system (#6528) 2026-11-06 08:25:06 +08:00
ABird af38e75e2d refactor(api)!: drop the v1 version marker (#6447) 2026-10-08 21:49:37 +08:00
bluedbird 73306272f9 chore: tweak heatmap calendar cells
Calendar day cells drop the printed count and carry activity as a
GitHub-style background instead: four primary-tinted levels keyed to the
same all-time ceiling the sidebar heatmap uses, so a day reads alike in
both. Today and the open day share one 22px rounded badge on the
numeral,
primary for today and a quiet foreground wash for the open day, nested
in
a halo when both coincide. The cell type follows the sidebar row
grammar:
13px on 18px lines from the column axis, weight only for the open day,
and a strip of 36px photo marks under the excerpt.

The floating memo panel gets a popover surface and a new float shadow
token in every theme, and its resize trigger becomes a grip pill that
appears only while the pointer is over the edge strip.
2026-09-12 00:51:06 +08:00
boojack 98d8322f14 chore(web): polish the memo card and editor styles
The sidebar was recently tightened onto one grammar: 28px rows on a
shared
rail, two chrome type tokens (13px and 11px), quiet kit controls,
outline
focus, and accent fill reserved for the one thing that is on. The memo
card
and editor still mixed 32px and 24px controls, 12px and 14px chrome
type,
bordered "slab" sections, ring focus, and hand-rolled control looks.

Memo card
- The header is a fixed 24px row; time and creator are 13px, the creator
  collapses to one line with a 20px avatar.
- Attachments are part of the memo, not a labelled section: media
  renders as
  the bare gallery, and audio, files, relations and the location are one
  list
  of 28px rows whose glyphs sit on the memo's text edge and whose
  details sit
  on one trailing rail. A file row reveals its download arrow on hover;
  an
  audio row plays from its slot and opens a small player from its name.
- Relations carry their direction as trailing detail instead of a header
  and
  tabs. Reactions are pills, since they are tokens on the memo rather
  than
  controls; your own reaction and the add control take the accent while
  on.
- The comment strip is a titled row list with a View all action.

Memo editor
- Every toolbar control is 28px: quiet formatting segments with
  aria-pressed,
  an outline insert square matching the sidebar's compose control, a
  quiet
  visibility chip built like the scope pill, a quiet Cancel and a small
  Save.
- Attachment, relation and location rows share the metadata row grammar;
  their controls overlay the trailing edge on hover so the detail rail
  never
  moves. The tag autocomplete matches the small dropdown.

The row grammar lives in MetadataSection.tsx with its own helpers (icon
slot,
detail rail, remove control, list container) and stays deliberately
separate
from the sidebar's. Every Lucide glyph in these views draws at stroke
1.8, and
the last ring-based focus sites move to the outline constant.
2026-09-11 23:21:50 +08:00
boojack 9c3bd44a1b chore(web): migrate UI primitives to Base UI 2026-07-14 09:06:40 +08:00
Johnny f87f728b0f feat: react query migration (#5379) 2025-12-24 22:59:18 +08:00
Johnny edd3ced9bf refactor: migrate to connect-rpc (#5338) 2025-12-11 19:49:07 +08:00
Johnny 07072b75a7 chore: reorganize reaction components 2025-11-30 12:48:21 +08:00