Thread names can get out of sync: localStorage override vs Codex thread name (single source of truth)
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- typescript
- Lĩnh vực
- frontend
Hướng nghiên cứu
Start with src/features/threads/hooks/useThreadTurnEvents.ts and src/features/threads/hooks/useThreadActions.ts, tracing localStorage reads and thread/name/updated handling. Verify the rename action still calls thread/name/set with an optimistic update, and confirm that external Codex name updates are reflected in the thread list without a local override masking them.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
CodexMonitor persists renamed thread names in localStorage (codexmonitor.threadCustomNames) in addition to setting the name in Codex via thread/name/set.
If a local custom name exists, CodexMonitor ignores thread/name/updated events (src/features/threads/hooks/useThreadTurnEvents.ts early-return), so renames done outside CodexMonitor (Codex CLI / VSCode / another machine syncing CODEX_HOME) do not show up and the UI can diverge.
Repro
- Rename a thread in CodexMonitor.
- Rename the same thread in Codex (outside CodexMonitor) to a different name.
- CodexMonitor keeps showing the old name because the local override wins (also used when building the thread list in
src/features/threads/hooks/useThreadActions.ts).
Expected
Codex thread name is the single source of truth; CodexMonitor always reflects Codex names / thread/name/updated.
Actual
Local custom name can permanently mask Codex updates.
Suggestion
- Remove
threadCustomNamespersistence and rely only on Codex names (keep rename by callingthread/name/set, with optimistic UI update). - Optional migration: on startup, push any existing local overrides into Codex once, then clear localStorage.
- Ngôn ngữ chính
- TypeScript
- Star
- 4.3k
- Fork
- 416
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Dimillian/CodexMonitor
-
Listed in Awesome Codex CLI Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
Dimillian/CodexMonitor#590 ·
-
Unable to select the command Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 63/100
Dimillian/CodexMonitor#615 ·
-
Codex Monitor does not surface MCP browser tool approval prompts, making browser tools appear hung Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
Dimillian/CodexMonitor#612 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
Dimillian/CodexMonitor#602 · 1 bình luận · 1 reaction ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
Dimillian/CodexMonitor#599 ·
Tất cả issue của Dimillian/CodexMonitor
Issue tương tự
-
blocklist removal
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
MetaMask/eth-phishing-detect#296544 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
pastelsky/bundlephobia#1122 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
category/development priority/P2 scope/file-operations scope/testing type/enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Enatega Customer and Rider app: Add-ons price is not visible to customer after order is placed. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100