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

🎁 Add admin dashboard data repair jobs menu #939

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

laritakr
Copy link
Contributor

@laritakr laritakr commented Dec 8, 2023

Story

Adds a new menu, Data Repair, which contains buttons to submit RolesService repair tasks as jobs.

Jobs included are:

  • CreateCollectionAccessesJob,
  • CreateAdminSetAccessesJob,
  • CreateCollectionTypeParticipantsJob,
  • GrantWorkflowRolesForAllAdminSetsJob

Refs: #844

Expected Behavior Before Changes

Expected Behavior After Changes

  • Data Repair menu appears at the bottom of admin dashboard sidebar.
  • Data Repair menu has buttons with descriptive text to submit 4 commonly requested jobs.
  • When a button is activated, a confirmation message appears to indicate that the job was submitted.

Screenshots / Video

Screenshot 2023-12-07 at 7 24 58 PM

Screenshot 2023-12-07 at 7 24 50 PM

Screenshot 2023-12-07 at 7 25 12 PM

Notes

Requires translations to run. #940

@ShanaLMoore
Copy link
Contributor

NOTE: Still need to run translations

https://playbook-staging.notch8.com/en/samvera/hyrax/how_to/generate_translations

If you run into issues, Kirk and I had to run them recently.

I tried yesterday and have a feeling our api key may be out of funds, but let me know if it's successful for you today! I ended up translating them by hand.

@laritakr laritakr mentioned this pull request Dec 8, 2023
1 task
Adds a new menu, `Data Repair` which contains buttons to submit
RolesService repair tasks as jobs.

Jobs included are:
* CreateCollectionAccessesJob,
* CreateAdminSetAccessesJob,
* CreateCollectionTypeParticipantsJob,
* GrantWorkflowRolesForAllAdminSetsJob

Refs: #844
@laritakr laritakr force-pushed the i844-troubleshooting branch from b69ab62 to 5130c25 Compare December 8, 2023 16:27
@laritakr laritakr merged commit 3e77a92 into main Dec 8, 2023
6 of 7 checks passed
@laritakr laritakr deleted the i844-troubleshooting branch December 8, 2023 16:54
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.

3 participants