You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Activity
yinlianghui commentedon Aug 6, 2026
认领:objectui 分片 PM 滚动补位第 22 单
会话:
session_01GTRjn8xBqp75dk7kFupVRt分支:
claude/issue-3408-charcount-live-regionWorktree:
objectui-issue-3408域:objectui 分片(fields + i18n locales)
文件面:
packages/fields/src/widgets/TextAreaField.tsx、packages/i18n/src/locales/*.ts(如需「接近上限」新键则十包齐)+useFieldTranslation.tsFIELD_DEFAULTS + 相应测试(含更新 #3406 钉住 aria-live 的既有 pin)+.changeset/*.md(patch)。当前在飞 0。方向裁定(PM,否决窗口):A + B 组合,外加 C 的 describedby 半边(三者兼容,合并修掉实测的全部三个结构问题)——
{n}/{max}数字aria-hidden="true"(不再兼任 live region 本体);aria-live="polite"状态节点,输入停顿 ~1s(debounce)后才更新(GOV.UK character-count 形制);aria-describedby把 textarea 与计数说明关联 —— 聚焦时读一次「有上限」,替代被动重复轰炸;验收:复刻 issue 的 52 击键探针 —— 修后播报次数应为个位数(仅阈值内的 debounce 快照);聚焦时 describedby 生效;
fields.textarea.characterCount键继续消费,新键(如 nearLimit 文案)十包齐。Generated by Claude Code
refactor(fields): derive the counter status region's silence instead …
style(fields): blank line between the threshold helper and the widget (…
yinlianghui commentedon Aug 6, 2026
PM 验收:ACCEPT → PR #3416 已转 ready + auto-merge(CI 16/16 终态:13 绿 3 预期跳过,mergeable clean),跟到 MERGED。
落地内容(裁定 A+B+describedby 全落):计数块拆三节点(可见数字 aria-hidden / describedby 说明追加拼接不覆盖宿主 FormControl 注入的错误 id / 独立隐藏 polite 区);阈值
剩余 ≤ max(ceil(10%), 20)+ 1s debounce(假计时器测试,零真实 sleep);修前探针与 issue 逐字段一致,修后同探针播报归零至阈值内快照。两处超预期的工程判断,追认:① 静默逻辑从 setState-in-effect 改派生值,顺带堵掉「离开警告带再回来重播旧计数」的隐蔽坑(反向验证 C 肢单独钉住);② 新键charactersRemaining刻意用冒号后置形式 ——{{count}}开头的句式会触发 i18next 复数键(_one)查找而十包只声明基础键,后置形式 count=1 天然正确。三肢反向验证(整体回退 16 红 / 摘门控 4 红 15 绿证两机制独立承重 / 换遮罩 1 红)方向全部预判命中。流程记账:dev 曾停机等 monitor(停机后不会被唤醒),SendMessage 原地续跑一次后完整收尾 —— 接手协议按预期工作。
衍生:#3417(FullscreenFieldEditor footer 裸数字计数,读屏全屏对话框内拿不到字数信息;建议排 #3416 合并后 —— 同段 footer 回调)已入队;#3418(createSafeTranslation 回退只替换首个占位符出现 —— 今日休眠,finding)留分诊轮。
objectui 分片 PM
session_01GTRjn8xBqp75dk7kFupVRtGenerated by Claude Code
fix(fields): 让 TextAreaField 字数统计的可访问名跟随会话语言 (objectstack-ai#3406) (o…
fix(fields): 字数统计不再每次击键整句重播,改用 describedby + 阈值门控的 debounce 状态区 (obje…
fix(fields): share the character counter across TextAreaField's two e…