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

associate object with parent in admin UI #103

Open
ebenenglish opened this issue Jan 16, 2019 · 0 comments
Open

associate object with parent in admin UI #103

ebenenglish opened this issue Jan 16, 2019 · 0 comments

Comments

@ebenenglish
Copy link
Collaborator

Descriptive Summary
When creating a new Newspaper* object in the admin UI, users should have the ability to associate the object with an existing parent object.

Ideally, the UI would display a field that:

  1. indicates parent object type appropriately
    (for example, a NewspaperIssue add/edit form would indicate that a parent NewspaperTitle object is being related)
  2. limits parent objects for selection appropriately
    • drop-down only populated with appropriate parent objects, OR
    • autocomplete lookup to allow the user to easily select an appropriate parent.

Some post-submission validation may be necessary as well. A user should not be able to create an incorrect association (say, setting a NewspaperTitle object as the parent of a NewspaperArticle).

Rationale
Being able to assign parent associations helps ensure the items will get the proper relationships in Fedora and Solr. These relationships drive many of the features for front-end interaction, search, navigation, etc.

Expected behavior
As an admin user
When I am on the add/edit form for an object
And I click on the Relationships tab
I should see an input control for the appropriate parent type
And when I select a parent in the input control
And successfully submit the form
The relationship should be saved in Fedora and Solr
So that my item has the correct parent relationship

Additional info
n/a

This ticket will be complete when:
Functionality and user story described above is implemented and tested.

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

1 participant