Type hint is selected in node graph view
还没有人认领这个 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
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
GraphiteEditor/Graphite 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
GraphiteEditor/Graphite#4396 · 2 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
GraphiteEditor/Graphite#4275 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
GraphiteEditor/Graphite#3939 · 2 条评论 · 1 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 35/100
GraphiteEditor/Graphite#4595 ·
-
难度 4/5 3-5 天 新手友好度 52/100
GraphiteEditor/Graphite#4572 · 3 条评论 ·
查看 GraphiteEditor/Graphite 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
TheLarkInn/aipm#2413 ·
-
documentation
难度 1/5 1 小时以内 新手友好度 90/100
alexgorbatchev/simple-ptt#15 ·
-
tooling
难度 2/5 1-3 小时 新手友好度 75/100
-
todo:ticket
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 75/100
taikoxyz/taiko-mono#22168 · 1 条评论 ·