-
Notifications
You must be signed in to change notification settings - Fork 42
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
UIU-3119: Pronoun Field - User Record Edit #2848
Conversation
"users": "16.3", | ||
"users": "16.4", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dropping support for an interface version is a breaking change. You must update the major version of this package in package.json
or surround this new functionality with an <IfInterface>
conditional that specifies the minimum version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done @zburke. Could you please check if it's correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Full disclosure: I saw the updated okapiInterface version in the first revision and did not read past that for my initial review.
Now that I'm looking at the details, this work may be backwards compatible depending how mod-users is implemented. If it ignores unknown fields (as it should IMO) then you're safe and the original commit, sans the interface version update, would be just fine. If mod-users panics when it receives unknown fields, as many of our modules do 🙄 , then we do need to bump the interface version. In any case, the current implementation is correct, and if you're happy with it then so am I.
Not sure I understand this part @zburke. How would this work if we're not specifying the interface version required for this frontend functionality to work? |
Quality Gate passedIssues Measures |
An |
I have tested it locally with |
Setting the interface version in UI code isn't the thing you need to test here. You need to test against a BE that only provides 16.3. |
Add
pronouns
field to user edit view and displaypronouns
in its header alongside with user's name if they're present.https://folio-org.atlassian.net/browse/UIU-3119