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

🎁 Select Admin Set while selecting work type #14

Closed
3 tasks
Tracked by #6830
laritakr opened this issue Jun 5, 2024 · 1 comment
Closed
3 tasks
Tracked by #6830

🎁 Select Admin Set while selecting work type #14

laritakr opened this issue Jun 5, 2024 · 1 comment

Comments

@laritakr
Copy link

laritakr commented Jun 5, 2024

SOW

Summary

The administrative set needs to be picked before you create a work (so contexts can be implemented

Allinson Flex's Contexts feature requires that we select an admin set prior to displaying the form, as part of selecting the work type.

Modify Hyrax to allow selection from a list of the user's authorized admin sets while selecting the work type. (See Allinson Flex screenshot below)

see: https://github.com/samvera-labs/allinson_flex/blob/main/app/views/shared/_select_work_type_modal.html.erb

Acceptance Criteria

  • The admin set is selected from a dropdown list on the same modal as the work type selection.

Screenshots or Video

Screenshot 2024-06-05 at 2 36 13 PM

Testing Instructions

  • Select option to create a new work
    • Verify that modal pop-up shows dropdown containing all of the admin sets a user can create works in
  • Select a work type and create work
    • Very that work creates in the selected admin set

Notes

@laritakr laritakr changed the title Select Admin Set while selecting work type 🎁 Select Admin Set while selecting work type Jun 5, 2024
@laritakr laritakr self-assigned this Jun 6, 2024
@laritakr
Copy link
Author

laritakr commented Jun 13, 2024

Pull Request: samvera/hyrax#6829

Waiting to try to get it approved in Hyrax

@jillpe jillpe closed this as completed Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants