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

System to hide 'Restore deleted contacts' button if there are no deleted contacts #1814

Closed
1 task done
GreggMoreland opened this issue Mar 25, 2024 · 4 comments
Closed
1 task done
Assignees

Comments

@GreggMoreland
Copy link

GreggMoreland commented Mar 25, 2024

Business Reason

As a user, I will not be able to see the 'Restore deleted contacts' button on the Manage Contacts page if I do not have any deleted contacts to recorver so that I can see what actions are available

Acceptance Criteria

Given user on Manage Contacts page

When there are no Contacts to be recovered

Then user will not see the 'Restore deleted contacts' button

QA Notes

  • BA/Design Quality Checklist complete

DEV Notes

Wireframe
Image

Design

null

FECFILE-453

@AureliaKhorsand
Copy link
Contributor

Disregard the closure. I can't read.

@AureliaKhorsand AureliaKhorsand added the UX/UI attention needed UX/UI tasks and/or redesign needed label Apr 29, 2024
@mary-tcg
Copy link

mary-tcg commented May 7, 2024

@MitchellTCG @AureliaKhorsand wireframe added

@sasha-dresden
Copy link
Contributor

Passes code review. Leaving a note here that we might want to make an api endpoint that just checks whether or not there are any deleted contacts. Currently this uses the list end point and checks the count on the front end which works fine and was quite snappy on my local. But if it proves sluggish with load, that could be an easy point of optimization.

@WiseQA
Copy link

WiseQA commented May 14, 2024

QA review verified when there are no deleted contacts for my committee the "Restore deleted contacts" button is not displayed.

Image

QA Review Completed. Moved to Stage Ready.

@WiseQA WiseQA removed their assignment May 14, 2024
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

No branches or pull requests

7 participants