Add fetch metadata buttons to submissions form; add new fields#81
Merged
Conversation
3mcd
commented
Sep 11, 2023
3mcd
commented
Sep 11, 2023
5a196e6 to
02f47a2
Compare
02f47a2 to
5d2df7f
Compare
5d2df7f to
dc22455
Compare
3mcd
commented
Sep 12, 2023
Collaborator
Author
There was a problem hiding this comment.
Don't forget to set this in your .env.local for both core and integrations!
87f9287 to
2e68884
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Issue(s) Resolved
Resolves #56.
This PR adds specced fields to the submissions integration, including fields for Abstract (called Description in core atm), DOI, URL, and Manager's Notes. Auto-fill buttons were also added for Title, URL, and DOI fields.
Also added/changed are:
useLocalStoragehook for client-side persistence (used to persist current submission form state)API_KEYenv var (don't forget to update your.env.localfile when testing/after merge"*"in integration manifest filesTest Plan
Screenshots (if applicable)
Caveats
The manager's notes field doesn't work yet, I think because there is a space/apostraphe in the field name. We'll address this when we standardize the manifest/field names/etc.