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

Read network area diagram metadata from JSON format #103

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

massimo-ferraro
Copy link
Contributor

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Does this PR already have an issue describing the problem?
no

What kind of change does this PR introduce?
feature

What is the current behavior?
The network area diagram metadata in included in SVG, and the viewer read it from the SVG file

What is the new behavior (if this is a feature change)?
The network area diagram metadata in included in a JSON file, and the viewer read it from the JSON file

Does this PR introduce a breaking change or deprecate an API?

  • Yes
  • No

If yes, please check if the following requirements are fulfilled

  • The Breaking Change or Deprecated label has been added
  • The migration steps are described in the following section

What changes might users need to make in their application due to this PR? (migration steps)
The constructor of the NetworkAreaDiagramViewer has a new additional parameter: the metadata.
Examples are provided in the demo/src/diagram-viewers/add-diagrams.ts file

Signed-off-by: massimo.ferraro <massimo.ferraro@soft.it>
Copy link

sonarqubecloud bot commented Oct 2, 2024

Quality Gate Failed Quality Gate failed

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

See analysis details on SonarCloud

@flo-dup flo-dup merged commit 24e729a into integration/nad_4.6.0 Oct 31, 2024
4 of 5 checks passed
@flo-dup flo-dup deleted the nad_json_metadata branch October 31, 2024 14:49
flo-dup pushed a commit that referenced this pull request Oct 31, 2024
Signed-off-by: massimo.ferraro <massimo.ferraro@soft.it>
flo-dup pushed a commit that referenced this pull request Oct 31, 2024
Signed-off-by: massimo.ferraro <massimo.ferraro@soft.it>
flo-dup pushed a commit that referenced this pull request Oct 31, 2024
Signed-off-by: Massimo Ferraro <massimo.ferraro@soft.it>
flo-dup pushed a commit that referenced this pull request Nov 4, 2024
Signed-off-by: Massimo Ferraro <massimo.ferraro@soft.it>
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.

2 participants