atomic-junky / Monologue

Design complex dialogues for games!
https://atomic-junky.itch.io/monologue
MIT License
12 stars 2 forks source link

[REQUEST] Add node search/filter #41

Open RailKill opened 2 days ago

RailKill commented 2 days ago

Describe the feature / enhancement.

Add a 🌪️ Filter icon at the Header probably beside the Test button that when clicked, should open up a search bar that has radio button/dropdown and LineEdit to search by the following criteria:

The search/filter should basically fade out all other nodes that are outside of the search criteria and/or highlight the nodes which match the filter. There should be a hotkey that will go to next/previous node matching the criteria.

Is this a feature for a project you're working on?

Dialogues with many nodes can be difficult to find.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

Loop through all nodes in the graph edit, and apply a style to make it look faded-out if it is outside the search criteria. Also, open the side panel for the node matching the search criteria, and implement a hotkey to cycle next/previous for matching nodes.

atomic-junky commented 2 days ago

I hadn't thought of that but it's such a good idea!

atomic-junky commented 2 days ago

It can be something like in GitHub or Discord which could work like this "id: D85abe" or "node_type: Sentence Mark I love you".