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

Type hint is selected in node graph view

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

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
76/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
冷清
技术栈
javascript
领域
frontend

调研方向

从 frontend/src/components/floating-menus/NodeCatalog.svelte 第 110-111 行附近以及 frontend/src/components/widgets/inputs/TextInput.svelte 第 31-35 行附近开始。复现拖动 typed wire 后的节点目录搜索,然后跟踪焦点变化和文本选择行为。当输入框仍然获得焦点,同时已解析的类型不会被自动选中,从而输入内容能够正常缩小搜索范围时,即表示完成。

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

描述

Reproduction

  • Drag a wire from an output with a resolved type
  • Type something to narrow down your search
  • Note how the type information is lost from the search since it is automatically selected

This is really annoying UX.

The node catalogue is only temporary

Is it really? It is basically unchanged from its initial implementation for 2 years. See #2072.

Code

The node catalogue automatically focuses the input (this is desired):
https://github.com/GraphiteEditor/Graphite/blob/9f9899cfd0c2ddea4a8664358b6b1834f30adc66/frontend/src/components/floating-menus/NodeCatalog.svelte#L110-L111
When the focus is changed, the text input automatically selects all the text (not desired)
https://github.com/GraphiteEditor/Graphite/blob/9f9899cfd0c2ddea4a8664358b6b1834f30adc66/frontend/src/components/widgets/inputs/TextInput.svelte#L31-L35

主要语言
Rust
星标
27.3k
派生
1.3k
平均合并
16 小时 38 分钟
30 天内合并 PR
78

贡献指南

这个仓库没有索引到贡献指南

从这里开始

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

GraphiteEditor/Graphite 的其他 Issue

查看 GraphiteEditor/Graphite 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

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