-
Notifications
You must be signed in to change notification settings - Fork 48
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
pkp/pkp-lib#7135 Multiple author affiliations #417
Conversation
I am waiting for a variant of the FieldBaseSuggest.vue component. After this, this PR can be wrapped up. |
9585b32
to
0f99897
Compare
I have done a force push, because there was an error rebasing a couple of days ago. The PR is clean and up to date again. |
Hi @jardakotesovec, I have implemented everything we discussed and all seems to work. There are some notes:
|
4404b20
to
bcb04a5
Compare
bcb04a5
to
50944ca
Compare
d63cc11
to
fb96c5f
Compare
Hi @jardakotesovec, I have implemented the new FieldRorAutosuggest (FieldAffiliationsRorAutoSuggest) component of @blesildaramirez. I think the PR is ready for review now. Thanks. @bozana: fyi |
I am copying this from Mattermost to here, so it's on the list to check. As mentioned before, I think AbortController in src/composables/useFetch.js is not working as intended. Removing or adding async / await does not help. You can recreate this with the following two files, which are also in this PR.
|
c76963b
to
81b0017
Compare
6465c23
to
cc16dda
Compare
e98b0ef
to
4ab556d
Compare
3d146b2
to
e6f32bf
Compare
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.
Thank you for the updates. Could you please check couple more? Should be easy updates.
if (field.name === 'affiliations') { | ||
field.primaryLocale = activeForm.primaryLocale; | ||
field.locales = activeForm.supportedFormLocales; | ||
} |
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.
Do we need to copy this from form to the field? By looking to FieldBase I see that it should be getting these two information as props - primaryLocale and locales.
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.
How would I get these from FieldBase in my component FieldAffiliations? Can you help me with this?
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.
This means that its being passed to all fields. Including your one. So if you just add it to the FieldAffiliation props - it should become available to you.
e6f32bf
to
12dea61
Compare
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.
At some point we should do some screen reader accessibility testing. But don't have bandwidth for that at this point.
I think its in good enough shape to be merged. Thank you for the hard work on this!
12dea61
to
34e219c
Compare
Related issues:
Pull requests: