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

[MNT-24698] Add aspect name to the title when there are duplicated aspect titles #10374

Merged

Conversation

tiagosalvado10
Copy link
Contributor

@tiagosalvado10 tiagosalvado10 commented Nov 8, 2024

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)

What kind of change does this PR introduce? (check one with "x")

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation
  • Other... Please describe:

What is the current behaviour? (You can also link to an open issue here)

When there are aspects with the same title in a custom model, the UI metadata panels will also have the same title. This situation creates a conflict which prevents the panels from being expanded/collapsed.

What is the new behaviour?

When setting the title for each metadata panel, it is now verified if the aspect title is duplicated, if so the aspect name is concatenated to the title, i.e, title (name) - This not only resolves the conflict but also allows to better distinguish aspects with the same title.

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...

Other information:

Further information can be found in this Jira comment

… into fix/MNT-24698_prevent-duplicated-aspect-titles
@tiagosalvado10 tiagosalvado10 merged commit 9520b2a into develop Nov 12, 2024
17 checks passed
@tiagosalvado10 tiagosalvado10 deleted the fix/MNT-24698_prevent-duplicated-aspect-titles branch November 12, 2024 15:00
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