Skip to content

feat: render separate binders and names#1142

Merged
dhess merged 1 commit into
mainfrom
dhess/separate-bind-nodes
Apr 9, 2024
Merged

feat: render separate binders and names#1142
dhess merged 1 commit into
mainfrom
dhess/separate-bind-nodes

Conversation

@dhess
Copy link
Copy Markdown
Member

@dhess dhess commented Apr 9, 2024

This PR corresponds to the backend PR hackworthltd/primer#1183.

As noted in that backend PR, we cannot yet select the name nodes. We want to enable this, but it'll take some additional backend work. See hackworthltd/primer#75 and hackworthltd/primer#93.

For those nodes which have moved from `NodeFlavorTextBody` to `NodeFlavorNoBody` (things which used to have their text be the binding, such as lambdas), we now use white text on a solid background.

Signed-off-by: George Thomas <georgefsthomas@gmail.com>
Comment thread src/components/TreeReactFlow/layoutTree.ts Outdated
@dhess
Copy link
Copy Markdown
Member Author

dhess commented Apr 9, 2024

Note for posterity: this is only the first commit from the branch https://github.com/hackworthltd/primer-app/tree/georgefst/separate-bind-nodes, but it's the one that's required to make the frontend work with the latest backend API changes (separating out binders from their names). There are 3 additional commits on that branch, all of which deal with styling of nodes, and I'd like to treat those separately so that they don't block forward progress on more pressing issues. I will open additional PRs to deal with those additional commits:

@dhess dhess added this pull request to the merge queue Apr 9, 2024
Merged via the queue into main with commit 40ba3be Apr 9, 2024
@dhess dhess deleted the dhess/separate-bind-nodes branch April 9, 2024 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants