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

Bai 551 approve reject directly from model #588

Merged
merged 11 commits into from
Jul 14, 2023

Conversation

P20179
Copy link
Member

@P20179 P20179 commented Jul 5, 2023

Have added complete functionality so that if the user has permissions to approve a model, they can do so directly from the model page, rather than having to navigate to Review. The button has been updated to reflect this and improve user experience.

One outstanding issue that has been noted is that the badges that display the 'count' of approvals (how many are remaining to be reviewed) are not synchronised on the approve button on the model page and on the Review option, as we are not using a state sharing solution like Redux.

Scenario example: If there are 2 approvals to be made and you are the approver for both, and you are on the model page, you will see a badge displaying '2' on the button on that page and on the Review tab on the left side of the screen. If you select to approve from the model page, the count there will drop to '1' but on the side will still show as '2' until you refresh the page or navigate to any other page. It won't automatically do it in snychronised real time.

We were uncertain of a solution for this, or at least within the scope of this ticket, but it would be great to hear any suggestions

@P20179 P20179 merged commit c4b231c into main Jul 14, 2023
13 checks passed
@P20179 P20179 deleted the BAI-551-approve-reject-directly-from-model branch July 14, 2023 10:32
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