Skip to content
This repository was archived by the owner on Apr 13, 2026. It is now read-only.

Categorize Nodes ribbon tab into Sources, Reporters, and Processors groups - #32

Merged
lunarcloud merged 2 commits into
mainfrom
copilot/categorize-ribbon-toolbox-nodes
Mar 19, 2026
Merged

lunarcloud merged 2 commits into
mainfrom
copilot/categorize-ribbon-toolbox-nodes

Conversation

Copilot AI commented Mar 19, 2026

Copy link
Copy Markdown

All node types were grouped under a single "Drag to canvas" ribbon group, making the toolbox flat and unscannable as more nodes are added.

Changes

  • AXAML (MainWindow.axaml): Replaced the single RibbonGroupBox with three labeled groups in the Nodes tab:

    • Sources — Number Producer, Random Number Generator
    • Reporters — Number Reporter
    • Processors — Arithmetic Transform, Pass Filter

    Each group gets its own Gallery wired with the same Loaded="OnNodeGalleryLoaded" handler.

  • Code-behind (MainWindow.axaml.cs): OnGalleryPointerPressed previously resolved the selected item via the named NodeGallery control. Switched to sender as ListBox so all three gallery instances correctly capture the dragged node type:

// Before
if (NodeGallery?.SelectedItem is Control selectedItem)

// After — works for any registered gallery
if (sender is ListBox gallery && gallery.SelectedItem is Control selectedItem)

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • av-build-tel-api-v1.avaloniaui.net
    • Triggering command: /usr/share/dotnet/dotnet dotnet exec --runtimeconfig /home/REDACTED/.nuget/packages/avalonia.buildservices/11.3.2/tools/netstandard2.0/runtimeconfig.json /home/REDACTED/.nuget/packages/avalonia.buildservices/11.3.2/tools/netstandard2.0/Avalonia.BuildServices.Collector.dll (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>Categorize Ribbon Toolbox's Nodes</issue_title>
<issue_description>I would like it so the nodes aren't all in the same ribbon group.
Categorize them as such: Sources, Reporters, Processors
There are not many nodes right now, so we may have small categories. But it will make the ribbon more useful</issue_description>

Comments on the Issue (you are @copilot in this section)


📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.

Co-authored-by: lunarcloud <1565970+lunarcloud@users.noreply.github.com>
Copilot AI changed the title [WIP] Categorize Ribbon Toolbox's nodes into groups Categorize Nodes ribbon tab into Sources, Reporters, and Processors groups Mar 19, 2026
Copilot AI requested a review from lunarcloud March 19, 2026 01:16
@lunarcloud
lunarcloud marked this pull request as ready for review March 19, 2026 01:18
@lunarcloud
lunarcloud merged commit cbb505d into main Mar 19, 2026
4 of 5 checks passed
@lunarcloud
lunarcloud deleted the copilot/categorize-ribbon-toolbox-nodes branch March 19, 2026 01:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Categorize Ribbon Toolbox's Nodes

2 participants