GraphiteEditor / GraphiteEditor/Graphite

Exposing a value to the graph should add and connect up an equivalent value node

オープン
#2,447 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
Good First Issue Graphene
主要言語
Rust
スター
27.2k
フォーク
1.3k
平均マージ
20時間 5分
マージ済み PR(30日)
57

説明

Related: https://github.com/GraphiteEditor/Graphite/issues/2567

If you click the dot to expose an input to the graph...

![Image](https://github.com/user-attachments/assets/8a44a7b9-990f-481c-945f-341969fcf14c)

(here, the top one is exposed and the other two are not)

...it removes the control from the Properties panel and puts a connector on the node in the graph.

But that connector starts out connected to nothing. And whatever value the user had typed in the Properties panel previously, isn't represented anymore.

We want to have the process of clicking to expose an input to create a value node in the graph which is set to the same value as the Properties panel had. (This will require the creation of new value nodes, since not all representable Properties panel types have a value node yet.)

As a stretch goal, we also would like the reverse to occur: if a user un-exposes a node, it should evaluate what its current value is and set that to the input in the Properties panel. Perhaps only optionally, though, because the current behavior might be desired some (most?) of the time. This aspect can wait to be figured out or we can break it out into a separate issue.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start by tracing the graph input exposure interaction, the Properties panel input handling, and existing value-node creation paths. Implement the core behavior so exposing an input creates and connects an equivalent value node with the prior Properties-panel value, including any missing representable value-node types; the un-expose behavior is optional and can remain separate.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
rust
領域
frontend
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
42/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。