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

Do not filter requirements by kind and other fixes #5394

Closed
wants to merge 3 commits into from

Conversation

nickgerace
Copy link
Contributor

Description

This PR ensures that the InsertApprovalModel no longer filters requirements based on entity kind. Now, it shows a requirement per entity and the labelling is expanded for this feature. This is NOT the final state we want to be in due to showing potentially too many and overwhelming results for the same approver groups and individuals, but this is a step in the right direction.

This PR also ensures that the approval status data is up to date on the requester's side when requesting approvals. This is due to a potential race or missing edge case when the change set moves from an "open" to a "needsapproval" state. A corresponding "TODO" has been added to the problem area, but the current fix is sufficient in the interim.

In addition to these changes, both the requirements and actions are now scrollable. We now also show the email for a user (though truncation may not work at this time) as well as right padding for the status text (e.g. "Waiting..." which has now been capitalized to match the other states).

One final change, we now always allow users to reject the changes, even if all approvals have been met.

@github-actions github-actions bot added the A-web label Jan 30, 2025
Copy link

github-actions bot commented Jan 30, 2025

Dependency Review

✅ No vulnerabilities or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Files

nickgerace and others added 3 commits January 31, 2025 14:27
This commit ensures that the InsertApprovalModel no longer filters
requirements based on entity kind. Now, it shows a requirment per
entity and the labelling is expanded for this feature. This is NOT the
final state we want to be in due to showing potentially too many and
overwhelming results for the same approver groups and individuals, but
this is a step in the right direction.

This commit also ensures that the approval status data is up to date
on the requester's side when requesting approvals. This is due to a
potential race or missing edge case when the change set moves from an
"open" to a "needsapproval" state. A corresponding "TODO" has been
added to the problem area, but the current fix is sufficient in the
interim.

In addition to these changes, both the requirements and actions are now
scrollable. We now also show the email for a user (though truncation may
not work at this time) as well as right padding for the status text
(e.g. "Waiting..." which has now been capitalized to match the other
states).

One final change, we now always allow users to reject the changes, even
if all approvals have been met.

Co-authored-by: Wendy Bujalski <[email protected]>
Signed-off-by: Nick Gerace <[email protected]>
@nickgerace
Copy link
Contributor Author

Closed in favor of #5403

@nickgerace nickgerace deleted the nick/9337ba7 branch February 1, 2025 00:08
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.

2 participants