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

implement group-edit #157

Merged
merged 7 commits into from
Feb 6, 2024
Merged

implement group-edit #157

merged 7 commits into from
Feb 6, 2024

Conversation

hjmodi
Copy link
Contributor

@hjmodi hjmodi commented Jan 22, 2024

No description provided.

@hjmodi hjmodi requested a review from ligangty January 22, 2024 16:00
@hjmodi hjmodi force-pushed the group-edit branch 2 times, most recently from dd6a617 to 1cf06e0 Compare January 22, 2024 17:10
Copy link
Member

@ligangty ligangty left a comment

Choose a reason for hiding this comment

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

See comments

@ligangty
Copy link
Member

@hjmodi BTW, I've added the mock APIs for the endpoints, see #159

@hjmodi hjmodi force-pushed the group-edit branch 3 times, most recently from ae3b157 to dc8fec3 Compare January 29, 2024 21:27
@hjmodi
Copy link
Contributor Author

hjmodi commented Jan 29, 2024

@hjmodi BTW, I've added the mock APIs for the endpoints, see #159

using it now :)

@hjmodi hjmodi requested a review from ligangty January 29, 2024 21:31
Copy link
Member

@ligangty ligangty left a comment

Choose a reason for hiding this comment

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

Did some test and found issues:

  1. When create new group, the available is not shown.
  2. When edit the group, after adding/removing the constituents and click save to send the requests, the group json sent is not correct for the constituents part. (The added/removed constituents are not saved in sent group json)

Signed-off-by: Harsh Modi <[email protected]>
It was being overwritten by old changelog
from data.metadata.changelog

Signed-off-by: Harsh Modi <[email protected]>
@hjmodi
Copy link
Contributor Author

hjmodi commented Feb 1, 2024

Did some test and found issues:

  1. When create new group, the available is not shown.
  2. When edit the group, after adding/removing the constituents and click save to send the requests, the group json sent is not correct for the constituents part. (The added/removed constituents are not saved in sent group json)

both are fixed now. PTAL

@hjmodi hjmodi requested a review from ligangty February 1, 2024 23:37
Copy link
Member

@ligangty ligangty left a comment

Choose a reason for hiding this comment

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

All looks good except a small issue.

Remove the package itself from available list
Remove duplicates if there are any
Remove all other packages of not the same type

Signed-off-by: Harsh Modi <[email protected]>
Copy link
Member

@ligangty ligangty left a comment

Choose a reason for hiding this comment

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

LGTM

@ligangty ligangty merged commit c03c1a9 into Commonjava:main Feb 6, 2024
2 checks passed
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