Skip to content

feat(consumer): Expose local_id accessor on NodeId#690

Draft
SuchAFuriousDeath wants to merge 1 commit intoAccessKit:mainfrom
SuchAFuriousDeath:add-node-id-accessors
Draft

feat(consumer): Expose local_id accessor on NodeId#690
SuchAFuriousDeath wants to merge 1 commit intoAccessKit:mainfrom
SuchAFuriousDeath:add-node-id-accessors

Conversation

@SuchAFuriousDeath
Copy link
Contributor

Turns out one more change is required for emilk/egui#7853 😅

@DataTriny
Copy link
Member

The fact that you cannot get the local ID out of a consumer node ID is on purpose and I would really like to keep it that way. Have you tried refactoring the egui accessibility inspector using Tree::locate_node before submitting this PR? This is the dedicated API to extract both the local node ID and the tree ID, whereas with the proposed changes you would only get half the information, meaning it will break once/if egui starts using subtrees.

@SuchAFuriousDeath
Copy link
Contributor Author

I see. Thanks, I'll see if that works for egui.

@SuchAFuriousDeath SuchAFuriousDeath marked this pull request as draft February 27, 2026 09:49
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