Skip to content

Added AutoApprove button for automatic approval of submitted and breaktime-conforming approvals#86

Open
luisgalvezbommer wants to merge 5 commits intoKatjaGlassConsulting:mainfrom
luisgalvezbommer:main
Open

Added AutoApprove button for automatic approval of submitted and breaktime-conforming approvals#86
luisgalvezbommer wants to merge 5 commits intoKatjaGlassConsulting:mainfrom
luisgalvezbommer:main

Conversation

@luisgalvezbommer
Copy link

image

I added an autoApprove button, which can approve all approvals shown in the table, if their status is submitted.

If there is a breaktimeissue in one approval, the autoapprove for this particular approval will fail. If there are no breaktimeissues or the breaktimeissue isn't activated, it will suceed.

Additionally i created a little spinner while waiting for approving.

I also wrote some unit tests to the function i introduced.

@luisgalvezbommer
Copy link
Author

I updated, that if the last 2 statuses of an approval are denied and not submitted (which follows after denied), that then the card-body stays red (bg-danger):
image

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.

1 participant