-
Notifications
You must be signed in to change notification settings - Fork 136
Add orcid sub-property type to compound metadata #7484
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
Open
ShanaLMoore
wants to merge
21
commits into
nested-compound-metadata-foundation
Choose a base branch
from
orcid-badge-compound-metadata
base: nested-compound-metadata-foundation
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 20 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
294f526
Recognize orcid and badge_for in compound schema
ShanaLMoore 855bcb7
Add orcid_badge helper for compound rendering
ShanaLMoore 2566f88
Inline orcid badge next to sibling in show
ShanaLMoore 641f40b
Add orcid form input to compound row
ShanaLMoore eb53303
Validate orcid sub-property format on save
ShanaLMoore 17f5e45
Validate orcid declarations in m3 profile
ShanaLMoore fcc45ba
Add participant_orcid to sample participants compound
ShanaLMoore 0178608
Add English orcid compound locale keys
ShanaLMoore d213ad9
Translate orcid compound keys to six locales
ShanaLMoore 9ff128b
Document type: orcid sub-property and badge_for
ShanaLMoore 2f2cd5f
Resolve orcid badge asset path in renderer context
ShanaLMoore d5c4104
Facet-link sub-property values via search_field
ShanaLMoore 74e4e5e
Apply participants to Monograph and GenericWork
ShanaLMoore 28ce594
Update compound form spec for orcid sub-property
ShanaLMoore b396796
Keep unparseable orcid as standalone row
ShanaLMoore 8dc12f9
Clarify orcid form input comment
ShanaLMoore 628a20d
Use GenericWorkResource in central m3 participants
ShanaLMoore 5557740
Order orcid badge img properties alphabetically
ShanaLMoore a44ffe6
Quiet hound complaints in compound_metadata.js
ShanaLMoore 3a586c2
Alphabetize properties in compound_metadata.scss
ShanaLMoore 4d37dde
Use non-block link_to in orcid_badge helper
ShanaLMoore File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,11 +6,11 @@ | |
| // in _collections.scss) that would otherwise turn each entry into a bordered | ||
| // flex row. These rules override it regardless of source order. | ||
| .hyrax-compound-values { | ||
| border: 0 !important; | ||
|
ShanaLMoore marked this conversation as resolved.
|
||
| display: block !important; | ||
|
ShanaLMoore marked this conversation as resolved.
|
||
| flex-direction: column; | ||
| border: 0 !important; | ||
| padding: 0 !important; | ||
| max-width: 100%; | ||
| padding: 0 !important; | ||
|
ShanaLMoore marked this conversation as resolved.
|
||
|
|
||
| // Force block flow on the entries/sub-properties; the label/value spans stay | ||
| // inline so each sub-property reads as "Label: value" on one wrapping line. | ||
|
|
@@ -23,17 +23,17 @@ | |
| .hyrax-compound-subproperty, | ||
| .hyrax-compound-subproperty-label, | ||
| .hyrax-compound-subproperty-value { | ||
| background: none; | ||
| border: 0 !important; | ||
|
ShanaLMoore marked this conversation as resolved.
|
||
| padding: 0 !important; | ||
| margin: 0; | ||
| background: none; | ||
| padding: 0 !important; | ||
|
ShanaLMoore marked this conversation as resolved.
|
||
| } | ||
|
|
||
| // A light divider between entries. | ||
| .hyrax-compound-entry + .hyrax-compound-entry { | ||
| border-top: 1px solid $gray-200 !important; | ||
|
ShanaLMoore marked this conversation as resolved.
|
||
| margin-top: 0.5rem; | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Properties should be ordered border-top, margin-top, padding-top |
||
| padding-top: 0.5rem !important; | ||
|
ShanaLMoore marked this conversation as resolved.
|
||
| border-top: 1px solid $gray-200 !important; | ||
| } | ||
|
|
||
| .hyrax-compound-subproperty { | ||
|
|
@@ -48,3 +48,17 @@ | |
| margin-right: 0.25rem; | ||
| } | ||
| } | ||
|
|
||
| // Small inline ORCID iD badge appended next to a sibling sub-property value | ||
| // when a `type: orcid` sub-property declares `badge_for:`. | ||
| .hyrax-compound-orcid-badge { | ||
| display: inline-block; | ||
| margin-left: 0.25rem; | ||
| vertical-align: baseline; | ||
|
|
||
| img { | ||
| height: 1em; | ||
| vertical-align: -0.125em; | ||
| width: auto; | ||
| } | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.