Skip to content

refactor(linkprojects): Consolidate link projects modal implementations#1667

Open
Anushreebasics wants to merge 1 commit into
eclipse-sw360:mainfrom
Anushreebasics:modal
Open

refactor(linkprojects): Consolidate link projects modal implementations#1667
Anushreebasics wants to merge 1 commit into
eclipse-sw360:mainfrom
Anushreebasics:modal

Conversation

@Anushreebasics
Copy link
Copy Markdown
Contributor

@Anushreebasics Anushreebasics commented Apr 30, 2026

Closes #1505

Summary

This change removes the duplicate Link Projects modal logic by consolidating both flows into the shared component at [LinkProjectsModal.tsx]. The project details page now uses the shared component in direct mode, and the project add summary flow uses it in callback mode.

What changed:

Unified the two Link Projects implementations behind a single component API.
Preserved the direct PATCH flow for project details.
Preserved the callback-based payload update flow for project add summary.
Kept search, sorting, pagination, selection, and success/error handling intact.

@Anushreebasics
Copy link
Copy Markdown
Contributor Author

@deo002 @amritkv @GMishx please review

@GMishx
Copy link
Copy Markdown
Member

GMishx commented Apr 30, 2026

@deo002 @amritkv @GMishx please review

Github already send a notification when you open a PR. Please stop tagging me in every comment 🙏

@Anushreebasics
Copy link
Copy Markdown
Contributor Author

@deo002 @amritkv @GMishx please review

Github already send a notification when you open a PR. Please stop tagging me in every comment 🙏

Got it, sorry for the spam

@deo002 deo002 self-assigned this May 5, 2026
@Anushreebasics Anushreebasics mentioned this pull request May 5, 2026
5 tasks
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.

Code Unification

3 participants