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

[Signing 2] Add sign and approve to dashboard #1630

Merged
merged 1 commit into from
Mar 22, 2022
Merged

[Signing 2] Add sign and approve to dashboard #1630

merged 1 commit into from
Mar 22, 2022

Conversation

brumik
Copy link
Contributor

@brumik brumik commented Feb 9, 2022

Screenshot from 2022-02-09 15-59-13

@brumik brumik requested a review from himdel February 9, 2022 12:39
@brumik brumik mentioned this pull request Feb 9, 2022
2 tasks
@brumik brumik changed the title [Signing 2] Add sign and approve to dashboard [Signing 2] Add sign and approve to dashboard [WAIT FOR API] Mar 2, 2022
@@ -364,6 +362,11 @@ class CertificationDashboard extends React.Component<
}

private renderButtons(version: CollectionVersion) {
const canSign =
this.context.featureFlags.collection_signing === true &&
this.context.featureFlags.collection_auto_sign === true &&
Copy link
Collaborator

Choose a reason for hiding this comment

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

this is probably wrong, being able to Sign a collection should not depend on autosigning, just signing

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@himdel Maybe the canSign naming is confusing, but this says: if you approve & you can sign & it will sign on approve then isntead of Approve we display Sign and Approve. Any other case it is just an Approval.

@himdel
Copy link
Collaborator

himdel commented Mar 3, 2022

[WAIT FOR API]

Is there perhaps a specific PR this is waiting on? :)

@brumik brumik changed the title [Signing 2] Add sign and approve to dashboard [WAIT FOR API] [Signing 2] Add sign and approve to dashboard Mar 3, 2022
@brumik
Copy link
Contributor Author

brumik commented Mar 3, 2022

@himdel I just making another round of checks to make sure it works without the signing PR on the backed. This one now should be good to go without the backend changes in.

@brumik brumik merged commit ab1b372 into ansible:master Mar 22, 2022
@brumik brumik deleted the add-sign-approve-to-dashboard branch March 22, 2022 08:09
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.

None yet

2 participants