8000 [1244] Make LibraryPackage's isStandard checkbox read-only by gdaniel · Pull Request #1286 · eclipse-syson/syson · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[1244] Make LibraryPackage's isStandard checkbox read-only #1286

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

Merged

Conversation

gdaniel
Copy link
Contributor
@gdaniel gdaniel commented May 10, 2025

This PR makes LibraryPackage's isStandard checkbox read-only in the details view. The issue originally proposes to remove the checkbox, but I think it provide relevant information to the end user.
Making it read-only let the user get the information while enforcing the fact that SysON does not support non-SysML, non-KerML standard libraries.

Note that the PR does not address the question of the textual import of a standard library package.

Fixes #1244

PLEASE READ ALL ITEMS AND CHECK ONLY RELEVANT CHECKBOXES BELOW

Project management

  • Has the pull request been added to the relevant milestone?
  • Have the priority: and pr: labels been added to the pull request? (In case of doubt, start with the labels priority: low and pr: to review later)
  • Have the relevant issues been added to the pull request?
  • Have the relevant labels been added to the issues? (area:, type:)
  • Have the relevant issues been added to the same project milestone as the pull request?

Changelog and release notes

  • Has the CHANGELOG.adoc + doc/content/modules/user-manual/pages/release-notes/YYYY.MM.0.adoc been updated to reference the relevant issues?
  • Have the relevant API breaks been described in the CHANGELOG.adoc + doc/content/modules/user-manual/pages/release-notes/YYYY.MM.0.adoc?
  • In case of a change with a visual impact, are there any screenshots in the doc/content/modules/user-manual/pages/release-notes/YYYY.MM.0.adoc?
  • In case of a key change, has the change been added to Key highlights section in doc/content/modules/user-manual/pages/release-notes/YYYY.MM.0.adoc?
  • Are the new / upgraded dependencies mentioned in the relevant section of the CHANGELOG.adoc + doc/content/modules/user-manual/pages/release-notes/YYYY.MM.0.adoc?

Documentation

  • Have you included an update of the documentation in your pull request? Please ask yourself if an update (installation manual, user manual, developer manual...) is needed and add one accordingly.

Tests

  • Is the code properly tested? Any pull request (fix, enhancement or new feature) should come with a test (or several). It could be unit tests, integration tests or cypress tests depending on the context. Only doc and releng pull request do not need for tests.

Copy link
Member
@AxelRICHARD AxelRICHARD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will handle the comments myself, rebase and merge the PR, thank you.

CHANGELOG.adoc Outdated
@@ -35,6 +35,8 @@ When end-users click on _New Object_ on a semantic element, and select a `ViewUs
- https://github.com/eclipse-syson/syson/issues/1255[#1255] [general-view] Improve label of `TransitionUsage` to display the "AcceptParameterPart".
- https://github.com/eclipse-syson/syson/issues/1210[#1210] general-view] Add the `parameters` compartment on `ActionDefinition` in the _General View_ diagram.
- https://github.com/eclipse-syson/syson/issues/1267[#1267] [general-view] Improve the New Perform tool selection dialog to display existing actions in a tree.
- https://github.com/eclipse-syson/syson/issues/1244[#1244] [details] Make LibraryPackage's `isStandard` checkbox read-only in the details view.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make LibraryPackage's isStandard checkbox read-only in the details view. => Make LibraryPackage's isStandard checkbox read-only in the Details view.

@@ -181,6 +181,8 @@ image::StateTransitionUsageLabels.png[TransitionUsage labels]
image::release-notes-GV-actionDefinition-parameters.png[Parameters compartment on ActionDefinition]

- In the _General View_ diagram, the selection dialog to reference an existing `Action` when creating a new `Perform Action` has been improved to present those `Actions` in a hierarchical way.
- Make LibraryPackage's `isStandard` checkbox read-only in the details view.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make LibraryPackage's isStandard checkbox read-only in the details view. => Make LibraryPackage's isStandard checkbox read-only in the details view. => Make LibraryPackage's isStandard checkbox read-only in the Details view.

Bug: #1244
Signed-off-by: Gwendal Daniel <gwendal.daniel@obeosoft.com>
@AxelRICHARD AxelRICHARD force-pushed the gda/enh/makeIsStandardCheckboxReadOnlyInDetailsView branch from 50846f2 to e95fefc Compare May 13, 2025 17:07
@AxelRICHARD AxelRICHARD merged commit e328257 into main May 13, 2025
4 checks passed
@AxelRICHARD AxelRICHARD deleted the gda/enh/makeIsStandardCheckboxReadOnlyInDetailsView branch May 13, 2025 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove isStandard checkbox in details view of LibraryPackage
2 participants
0