Commit Graph

11 Commits

Author SHA1 Message Date
memoclaw a86a29609e feat: add blur_content attribute to tag metadata settings
Allow any tag to trigger content blurring by setting blur_content=true
in InstanceTagsSetting, replacing the previous hardcoded NSFW-only check.

Changes:
- proto: add bool blur_content field to InstanceTagMetadata (store) and
  InstanceSetting.TagMetadata (API v1); regenerate Go and TS bindings
- server: thread BlurContent through convertInstanceTagsSettingFromStore
  and convertInstanceTagsSettingToStore conversion helpers
- web/MemoView: replace tag.toUpperCase()==='NSFW' with a
  findTagMetadata() lookup on tagsSetting.blurContent; rename internal
  state nsfw/showNSFWContent/toggleNsfwVisibility to
  blurred/showBlurredContent/toggleBlurVisibility
- web/TagsSection: add blur checkbox column and new-tag blur toggle to
  the admin tags settings UI
- web/locales: rename click-to-show/hide-nsfw-content keys to
  click-to-show/hide-sensitive-content across all 30+ locale files;
  update English strings to 'sensitive content' phrasing

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-23 19:36:07 +08:00
memoclaw 9ded59a1aa
refactor(web): improve Settings page maintainability and consistency (#5757)
Co-authored-by: memoclaw <265580040+memoclaw@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-21 15:05:48 +08:00
memoclaw 7b4f3a9fa5 refactor(memo): simplify MemoDetail error handling, drop memo.failed-to-load i18n key
The failed-to-load key was only used for non-ConnectError exceptions, which
are unreachable in practice since the Connect RPC client always wraps errors
as ConnectError. Use (error as Error).message as a plain fallback instead.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-20 20:19:44 +08:00
memoclaw 5f6f624635 i18n: add missing auth.protected-memo-notice and memo.failed-to-load fallbacks to all locales
30 locale files were missing the two keys added in the auth redirect PR.
Added English fallback strings so all locales render properly until
community translations are contributed.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-20 19:41:12 +08:00
memoclaw a7cabb7ce6
refactor(web): remove masonry memo layout (#5746)
Co-authored-by: memoclaw <265580040+memoclaw@users.noreply.github.com>
2026-03-20 09:01:43 +08:00
memoclaw e0334cf0a8
refactor: restructure i18n locale keys for better maintainability (#5744)
Co-authored-by: memoclaw <265580040+memoclaw@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-20 05:56:56 +08:00
memoclaw 6f1f3d81c5
chore: remove disallow_public_visibility setting (#5743)
Co-authored-by: memoclaw <265580040+memoclaw@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-20 00:00:51 +08:00
Lincoln Nogueira d0764fb0be
i18n: update all locale translations (#5679) 2026-03-03 08:49:08 +08:00
Johnny 8cd9c591d4 chore: deprecate remove completed tasks action
- Remove menu item and dialog from MemoActionMenu
- Remove removeCompletedTasks() and hasCompletedTasks() utilities
- Remove translation keys from all 34 locale files
- Feature was not aligned with standard note-taking UX patterns
2026-01-31 21:03:05 +08:00
cui c5d9770fd1
typo: lenght to length (#5539) 2026-01-27 22:21:55 +08:00
ghose eed935ce44
feat: contribution New Locale: Galician (gl, gl_ES) (#5376)
Signed-off-by: ghose <704948+xmgz@users.noreply.github.com>
2025-12-25 08:38:24 +08:00