Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

I now that the basics of the modeling was coming from Hydra::Works::Collections.  Is that still the case?

Yes, with other application behaviors injected in Hyrax:

Collection Controller

Is this coming from Hydra::Collections gem?

No, Hydra::Collections was merged into CurationConcerns, which became Hyrax. Controller code for collections lives:

Also note the My and Dashboard extensions:

Collection Management Views

Views are all here for user collections: https://github.com/samvera/hyrax/tree/master/app/views/hyrax/collections

And here for admin sets: https://github.com/samvera/hyrax/tree/master/app/views/hyrax/admin/admin_sets

See also the collection- and admin set-related presenters and search builders that control what entities you see when browsing to these views.

Where is the code for listing collections?

...

Are there checks in Hyrax that prevent a collection being nested in a collection?  Hydra::Works::Collections has the infrastructure that should allow for this.

I don't believe so, no.

Adding works

Where all can a work get added to a collection?  I am looking for the appropriate place to do multi-membership validation.

In the Work edit view and in the Your Works view (/dashboard/my/works).

Potential Pitfalls