scientist-softserv / amigos

0 stars 0 forks source link

🎁 Implement UI to upload yamls #9

Closed ShanaLMoore closed 2 weeks ago

ShanaLMoore commented 1 month ago

SOW

Summary

Allinson Flex provides a UI that allows users to upload their metadata schema YAML files. Once imported, the models will behave according to the definitions in the YAML files.

For Valkyrie/Hyrax, currently, the YAML files must be predefined and deployed. This UI will enable non-developers to define or change their application's models.

The backend work is covered by #5.

This task focuses solely on the frontend work, which should be contributed back to Hyrax.

Acceptance Criteria

A user can upload metadata profiles from a UI. The UI shouldn't display if the HYRAX_FLEXIBLE env var isn't set

Screenshots or Video

Testing Instructions

Notes

ShanaLMoore commented 1 month ago

boiler plate started on Hyrax branch: metadata-profiles-ui . I pulled over the necessary files from AllinsonFlex. We will still need to add actions and hooks into the backend implementation to make it work.

Blocked from completion until back end work is further along.

Image

Allinson Flex UI

Image

kirkkwang commented 2 weeks ago

Work done on this PR: https://github.com/samvera/hyrax/pull/6836