Skip to content

Implement issue 802 - #815

Merged
SeanFeldman merged 3 commits into
paolosalvatori:mainfrom
NaorisKong:main
Dec 4, 2024
Merged

SeanFeldman merged 3 commits into
paolosalvatori:mainfrom
NaorisKong:main

Conversation

@NaorisKong

@NaorisKong NaorisKong commented Dec 2, 2024 •

Copy link
Copy Markdown
Contributor

Fixes #802

just implement the feature when refresh the topic node.
not sure is it necessary to implement at other mode(Queues, Eventhhubs), as their Treeview structure was different.
not keep subscription node and rule node expaned, as it will add some ugly compare code in Foreach cycle and in daily use I just want keep subscriptions node expaned.

Comment thread src/ServiceBusExplorer/Forms/MainForm.cs Outdated
private void RefreshIndividualTopic(TreeNode selectedNode)
{
var wasTopicNodeExpanded = selectedNode.IsExpanded;
var wasSubscriptionsNodeExpaned = false;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A minor spelling error: wasSubscriptionsNodeExpaned -> wasSubscriptionsNodeExpanded

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@ErikMogensen ErikMogensen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very good!

@SeanFeldman
SeanFeldman merged commit d42b13b into paolosalvatori:main Dec 4, 2024
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.

Keep the subscriptions nodes showing and expanded when a topic is refreshed

3 participants