Skip to content
This repository has been archived by the owner on Mar 24, 2020. It is now read-only.

fields: add more ordered names #664

Merged
merged 1 commit into from
Jul 1, 2019
Merged

fields: add more ordered names #664

merged 1 commit into from
Jul 1, 2019

Conversation

mcritchlow
Copy link
Member

@mcritchlow mcritchlow commented Jun 21, 2019

Fixes #634

Local Checklist

  • Tests written and passing locally?
  • Code style checked?
  • QA-ed locally?
  • Rebased with master branch?
  • Configuration updated (if needed)?
  • Documentation updated (if needed)?

What does this PR do?

  • Extract out ordered roles to a YAML file (loaded via an initializer) to make it easier to adjust
    in the future
  • Add a few additional tests for new roles in the ordered listing
  • Add a few name/role examples to damsProvenanceCollection3.rdf.xml for
    testing
Why are we doing this? Any context of related work?

References #634 - RDCP would like more control over name/role ordering, so hopefully the refactoring work in this ticket of the specified role order to a YAML file will help make any future changes a bit more manageable.

@ucsdlib/developers - please review

- Extract out ordered roles to a YAML file to make it easier to adjust
  in the future
- Add a few additional tests for new roles in the ordered listing
- Add a few role examples to damsProvenanceCollection3.rdf.xml for
  testing
@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 65.801% when pulling 93c1149 on feature/more-role-order into fa51fcf on master.

Copy link
Member

@lsitu lsitu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@lsitu lsitu merged commit 3b55944 into master Jul 1, 2019
@lsitu lsitu deleted the feature/more-role-order branch July 1, 2019 15:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Re-ordering of Role types in the UI
3 participants