-
Notifications
You must be signed in to change notification settings - Fork 17
feat: adds global nodes management form #613
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
feat: adds global nodes management form #613
Conversation
louisgreiner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks very nice and the search bar is really good.
I wonder if we could ask user's confirmation when checking the box for all the nodes at once? This component already exists in the application I think, we can reuse it.
PS: you should make your PR into mrd/new-nodes-management-system I think, we use this as feature branch
...ditor-edit-tools-view-component/global-nodes-management/global-nodes-management.component.ts
Outdated
Show resolved
Hide resolved
...tor-edit-tools-view-component/global-nodes-management/global-nodes-management.component.html
Outdated
Show resolved
Hide resolved
This commit handles various feedbacks from reviewers on PR: #613 Details: - Fixes some FR translations - Renames "visible nodes" as "matching nodes" - Caches the matching nodes array - Adds a confirmation modal when clicking the global checkbox
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, except these few comments 👍
...ditor-edit-tools-view-component/global-nodes-management/global-nodes-management.component.ts
Outdated
Show resolved
Hide resolved
This commit handles various feedbacks from reviewers on PR: #613 Details: - Fixes some FR translations - Renames "visible nodes" as "matching nodes" - Caches the matching nodes array - Adds a confirmation modal when clicking the global checkbox
...tor-edit-tools-view-component/global-nodes-management/global-nodes-management.component.html
Show resolved
Hide resolved
This commit handles various feedbacks from reviewers on PR: #613 Details: - Fixes some FR translations - Renames "visible nodes" as "matching nodes" - Caches the matching nodes array - Adds a confirmation modal when clicking the global checkbox
...ditor-edit-tools-view-component/global-nodes-management/global-nodes-management.component.ts
Outdated
Show resolved
Hide resolved
This commit handles various feedbacks from reviewers on PR: #613 Details: - Fixes some FR translations - Renames "visible nodes" as "matching nodes" - Caches the matching nodes array - Adds a confirmation modal when clicking the global checkbox
This commit handles various feedbacks from reviewers on PR: #613 Details: - Fixes some EN translation - Fixes onClickGlobalCheckbox final apply process - Makes component no longer standalone, to fit other components declaration - Adds more space between name and short name columns
dcfaea2 to
91f53ba
Compare
|
Many thanks for the last changes, this looks very good to me now :) |
This commit addresses issue: OpenRailAssociation/osrd#13292 Details: - Adds new component GlobalNodesManagementComponent in app/view/editor-edit-tools-view-component - The new component controls the isCollapsed state of the nodes - Adds EN and FR translations for the new component - Adds the new component to the existing EditorEditToolsViewComponent panel
91f53ba to
1873eec
Compare
Description
This PR depends on PR #554. It should only be merged once #554 is merged as well.
This PR adds a new block in the "Edit" side panel, to allow controlling the
isCollapsedstate of the nodes.This form displays:
isCollapsedstateIssues
Checklist
documentation/