Closed aldebaran30701 closed 9 months ago
@aldebaran30701 just a quick shout out to say thanks for being proactive and creating these issues to make sure things are consistent and putting fresh eyes and energy back into the app!
@cygnus-x-1 is this how you designed the Analytic view to work or is it a bug?
I ask because @aldebaran30701 and @serpens24 have fixed bugs with K-Truss and Hierarchical Clustering views to revert the graph to how it was when interactive mode is turned off or the view is closed. The analytic view seems to behave differently.
The Analytic View was designed to maintain its state (the AnalyticViewState meta-attribute) even when the view is closed (as were the clustering views originally, which is why they have that interactive button). This is currently not that useful as the Analytic View doesn't update its GUI using that state when you switch graphs or close and open the view (I think it currently just resets itself - there is a ticket for this issue). I don't mind the idea of having visual changes on the graph reset when you close the view, so long as they are then reapplied when you open the view again.
This issue is stale because it has been open for 6 months with no activity. Consider reviewing and taking an action on this issue.
Updated the expected results here -when you close the graph any changes made using the Color Hide or Resize, should be removed. There is no need to have a Reset button. When you return to the Analytic view there is no need to remember the last state as it is most likely that other changes will have been made to the graph.
This issue is stale because it has been open for 6 months with no activity. Consider reviewing and taking an action on this issue.
This issue is stale because it has been open for 6 months with no activity. Consider reviewing and taking an action on this issue.
This issue is stale because it has been open for 6 months with no activity. Consider reviewing and taking an action on this issue.
Randomly clicking between the colour, size, and hide options gave this exception:
This issue is stale because it has been open for 6 months with no activity. Consider reviewing and taking an action on this issue.
Observed a random run time error when in the analytic view and randomly clicking on the graph:
Thank you @Delphinus8821 for getting this one working, so good to see especially seeing it is an older issue. Looks really good. I did notice the same thing that you listed as a drawback in your MR - if the graph is saved the changes are retained which kind of makes sense.
Prerequisites
Help
>Support Package
Description
Adding or editing the options in the run menu of the Analytic View will stay active when the menu is closed. This makes the user run the plugin again to clear the state left by the toggled options. Is this intended behaviour? Would there be a use case for needing the colours to remain active? If so, the possibility of a clear set state button to revert without re-running a plugin or undo -ing actions.
Steps to Reproduce
Expected behaviour: Selected toggled values are cleared - when you close the graph any changes made using the Color Hide or Resize, should be removed.
Actual behaviour: Graph state remains as toggled (greyed colours, large transactions, hidden transactions)
Reproduces how often: 100%
Additional Information
There is no need to have a reset button here