constellation-app / constellation

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

Fix incorrect warning when opening file #2112

Closed Quasar985 closed 3 months ago

Quasar985 commented 3 months ago

Prerequisites

Description of the Change

Fixed bug that would cause a warning to be shown, telling users that the file they were opening in word cloud would be overridden.

Alternate Designs

N/A

Why Should This Be In Core?

N/A

Benefits

Bug fix, minimizing confusion.

Possible Drawbacks

None.

Verification Process

  1. Open Consty
  2. Open world cloud view
  3. Open file in "background File" parameter
  4. Observe that override warning is no longer shown when opening file.

Applicable Issues

https://github.com/constellation-app/constellation/issues/2111

Auriga2 commented 3 months ago

Thought it'd be convenient if we can restrict the file types to text files. Currently it displays the entire directory including .bak, .star, .gif and all.

sonarcloud[bot] commented 3 months ago

Quality Gate Failed Quality Gate failed

Failed conditions
79.5% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud