constellation-app / constellation

A graph-focused data visualisation and interactive analysis application.
https://constellation-app.com
Apache License 2.0
385 stars 59 forks source link

Remove Deactivate on Close in Analytic View #2154

Closed Delphinus8821 closed 1 month ago

Delphinus8821 commented 1 month ago

Prerequisites

Description of the Change

Removed the code that deactivated the changes the colour, hide and size visualisation buttons made when the Analytic View closes. As the Analytic View now keeps its state for each graph, the deactivation code is not necessarily required anymore. If the Conversation View or Layers View was open when the Analytic View was closed and there were at least 2 graphs open, the deactivating of those changes would cause Constellation to become completely unresponsive.

Alternate Designs

An attempt was made to have the changes made deactivate whenever the graph stopped being active and then reactivate when it became active again. This could potentially be considered after the next release.

Why Should This Be In Core?

Fixes major bug in Core.

Benefits

Possible Drawbacks

Verification Process

Open the Analytic View, Conversation View and two graphs Close the Analytic View Observe that Constellation does not become unresponsive

Applicable Issues

1975

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud