feat(archive): implement comment.archived and add archive page (#1074)

* feat(archive): implement comment.archived and add archive page

Add isCommentArchived() utility, /board/:boardIdentifier/archive route,
archive view with filtered feed, and UI integration (board buttons, edit
menu, catalog row, post). Archived indicator on catalog and posts.

* fix(archive): address review feedback from Bugbot and CodeRabbit

Add missing i18n keys (archived, thread_archived, view, loading_archive),
add /archive/settings route, replace hardcoded English in archive.tsx, and
fix mobile test state.
This commit is contained in:
Tommaso Casaburi
2026-03-13 16:06:36 +08:00
committed by GitHub
parent d7703953fb
commit aedee9fb83
65 changed files with 1384 additions and 62 deletions
+8 -1
View File
@@ -307,5 +307,12 @@
"external_quote_resolution_unavailable": "External quote resolution is unavailable right now",
"external_quote_cannot_resolve": "Could not find {{quote}} in /{{board}}/",
"external_quote_unavailable": "The quoted post is unavailable",
"external_quote_publish_missing": "Cannot publish - could not find the quoted post for {{quote}}"
"external_quote_publish_missing": "无法发布 - 找不到 {{quote}} 的引用帖子",
"displaying_x_archived_threads": "正在显示 {{count}} 个已归档主题",
"displaying_x_archived_threads_from_past_x_days": "正在显示过去 {{days}} 天的 {{count}} 个已归档主题",
"no_archived_threads": "没有已归档的主题",
"archived": "已归档",
"loading_archive": "正在加载归档...",
"thread_archived": "主题已归档。",
"view": "查看"
}