Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Make it clear that a stale analysis is re-applied to a word chosen in the text

未关闭 适合新手
#537 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
86/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
react, typescript

调研方向

从 src/components/CatalogStaleLocations.tsx 中的 %interlinearizer_analysisCatalog_staleApplyNoTarget% 标签开始,然后追踪 usePublishedFocus 如何将所选单词提供给应用按钮。检查跳转到经文标签如何影响该焦点。完成标准是:禁用状态会说明应在哪里选择单词,并且跳转后选择单词会启用按钮。

由索引模型根据 Issue 内容生成。

描述

In the analysis catalog, each stale place has a button that re-applies the analysis to a word. Until a word is chosen, the button is disabled and reads "Select a word to apply to". Nothing says the word has to be chosen in the interlinear text, outside the catalog. A user looking at the disabled button in the catalog has no clue where to make that selection.

It's also easy to undo a choice without noticing. Clicking the place's verse label ("PHP 1:1") jumps the view there, but that move doesn't count as the reader's choice, so a word chosen before the jump stops counting.

Steps: change a glossed word's spelling in the Scripture editor, open the analysis catalog, and find the stale place under that analysis. The apply button is disabled, and it isn't clear how to enable it.

Expected: the stale place says where to choose the word, for example "Click a word in the text to apply this to". Choosing a word after jumping to the place enables the button.

Where: src/components/CatalogStaleLocations.tsx (the %interlinearizer_analysisCatalog_staleApplyNoTarget% label). The button reads the word the reader focused in the view, through usePublishedFocus.

主要语言
TypeScript
星标
2
派生
0
平均合并
1 天 13 小时
30 天内合并 PR
73

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

sillsdev/interlinearizer-extension 的其他 Issue

查看 sillsdev/interlinearizer-extension 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。