Closed laritakr closed 1 week ago
17 files ± 0 17 suites ±0 2h 7m 38s :stopwatch: - 11m 53s 6 716 tests +12 6 147 :white_check_mark: - 259 297 :zzz: ±0 272 :x: +271 13 241 runs +66 12 348 :white_check_mark: - 431 395 :zzz: ±0 498 :x: +497
For more details on these failures, see this check.
Results for commit 552d5648. ± Comparison against base commit 52af985f.
Refs
Summary
Building on prior work to dynamically render attributes for the simple schema, this implements a very basic view of attributes on a resource's show view for flexible schemas. More detail is needed in the sample m3 profile to fill in other options (such as
render_as
and locale details)I currently have it set up to use the most recent schema for view definition, since we don't want to have to edit, save, and index every work if we change something regarding views.
As long as a term has a basic
view:
definition section in the schema, it will render from the attributes partial:label:
string is provided, the label will be renderedScreenshots
![Screenshot 2024-06-28 at 1 52 50 PM](https://github.com/samvera/hyrax/assets/17851674/f4b65b07-9074-4745-ab18-4c61c4cce948) ![Screenshot 2024-06-28 at 1 53 18 PM](https://github.com/samvera/hyrax/assets/17851674/0a508e96-359f-48bc-a730-fc21038d38ce)