NodeTypeBrowser: SearchBar in header + text highlighting + stable selection on filter change#3022
Draft
NodeTypeBrowser: SearchBar in header + text highlighting + stable selection on filter change#3022
Conversation
Co-authored-by: fabiencastan <153585+fabiencastan@users.noreply.github.com>
…ibility Co-authored-by: fabiencastan <153585+fabiencastan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add button to open node categories panel in GraphEditor
Add node type browser panel to GraphEditor
Feb 28, 2026
Co-authored-by: fabiencastan <153585+fabiencastan@users.noreply.github.com>
Copilot
AI
changed the title
Add node type browser panel to GraphEditor
Add NodeTypeBrowser panel to GraphEditor with resizable layout and proper text wrapping
Mar 2, 2026
Co-authored-by: fabiencastan <153585+fabiencastan@users.noreply.github.com>
Copilot
AI
changed the title
Add NodeTypeBrowser panel to GraphEditor with resizable layout and proper text wrapping
NodeTypeBrowser: search/filter, auto-selection, hide on create
Mar 2, 2026
Co-authored-by: fabiencastan <153585+fabiencastan@users.noreply.github.com>
Copilot
AI
changed the title
NodeTypeBrowser: search/filter, auto-selection, hide on create
NodeTypeBrowser: SearchBar in header, text highlighting, hide on node creation
Mar 2, 2026
Co-authored-by: fabiencastan <153585+fabiencastan@users.noreply.github.com>
Copilot
AI
changed the title
NodeTypeBrowser: SearchBar in header, text highlighting, hide on node creation
NodeTypeBrowser: SearchBar in header + text highlighting + stable selection on filter change
Mar 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces the inline
TextFieldsearch inNodeTypeBrowserwith the reusableSearchBarcomponent placed in the panelheaderBar(matchingImageGallery). Matched text is highlighted in the selection blue color in both the node list and the documentation panel. Filter changes no longer reset the selection unless the selected node is filtered out.Features list
SearchBar(toggle: true) inheaderBar— consistent withImageGallerypatternactivePalette.highlightblue in node names and documentation textMarkdownTextwhen no filter is active; switches toRichTextwith injected<font>tags when filteringImplementation remarks
SearchBar placement —
headerBar: RowLayout { SearchBar { id: searchBar; toggle: true; ... } }, identical toImageGallery. ThefilterTextproperty reads directly fromsearchBar.text.toLowerCase().Text highlighting —
highlightText(plainText, searchTerm)HTML-escapes the input then wraps each case-insensitive match:A
hasActiveFilterbool property centralises thefilterText !== ""guard used across node list labels, the doc heading, and the doc body.Stable selection on filter change —
applyFilter()(called by the 150 ms debounce timer) checks whether the currently selected node still matches the filter. If yes, it re-syncs bothcategoryList.currentIndexandnodeList.currentIndexto the node's position in the updated filtered lists without touchingselectedNodeName. Only when the node is filtered out does it fall back toselectFirstCategory().Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.