Skip to content
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

DRYD-1326: Update exit reasons list #23

Merged
merged 3 commits into from
Jan 20, 2024

Conversation

mikejritter
Copy link
Contributor

What does this do?
Adds values to exit reasons list

Why are we doing this? (with JIRA link)
Jira: https://collectionspace.atlassian.net/browse/DRYD-1326

This is just updating the exit reasons list to include additional values for PublicArt

How should this be tested? Do these changes have associated tests?

  • Run the devserver
  • Create an object exit
  • See the new values for 'Exit reason'

Dependencies for merging? Releasing to production?
The old value for returnofloan did not have any spaces in it, so I left it as is.

Has the application documentation been updated for these changes?
No

Did someone actually run this code to verify it works?
@mikejritter tested against a local instance

@@ -3,28 +3,13 @@ import { defineMessages } from 'react-intl';
export default {
exitReasons: {
values: [
'deaccession',
'disposal',
'returnofloan',
Copy link
Collaborator

@ray-lee ray-lee Jan 19, 2024

Choose a reason for hiding this comment

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

You actually need to keep these values. The messages can be deleted because they'll be inherited, but the values won't. The values need to be repeated, because if they were merged, you wouldn't be able to control the ordering. (Also you wouldn't be able to delete values, if that's what you wanted.)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah I see, I should have tested again before pushing but moved on to some other things.

Copy link
Collaborator

@ray-lee ray-lee left a comment

Choose a reason for hiding this comment

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

Looks good.

@ray-lee ray-lee merged commit 34065b1 into collectionspace:master Jan 20, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants