Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement issue 802 #815

Merged
merged 3 commits into from
Dec 4, 2024
Merged

Implement issue 802 #815

merged 3 commits into from
Dec 4, 2024

Conversation

NaorisKong
Copy link
Contributor

@NaorisKong NaorisKong commented Dec 2, 2024

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.

@@ -1817,6 +1817,7 @@ private void RefreshIndividualSubscription(SubscriptionDescription subscriptionD
private void RefreshIndividualTopic(TreeNode selectedNode)
{
var wasTopicNodeExpanded = selectedNode.IsExpanded;
var wasSubscriptionsNodeExpaned = false;
Copy link
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
Contributor Author

Choose a reason for hiding this comment

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

fixed

Copy link
Collaborator

@ErikMogensen ErikMogensen left a comment

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
2 checks passed
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