Skip to content

Added free keyword text area#694

Open
SonAndrea wants to merge 2 commits into
mainfrom
652-free-text-keywords
Open

Added free keyword text area#694
SonAndrea wants to merge 2 commits into
mainfrom
652-free-text-keywords

Conversation

@SonAndrea
Copy link
Copy Markdown
Collaborator

@SonAndrea SonAndrea commented Mar 31, 2026

Allows for users to input a maximum of 40 characters for a keyword when editing meta data. Additionally, kept the selector for preexisting keywords for easy of use.

@SonAndrea SonAndrea linked an issue Mar 31, 2026 that may be closed by this pull request
@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 31, 2026

Deploy Preview for dailp ready!

Name Link
🔨 Latest commit 82e7bc0
🔍 Latest deploy log https://app.netlify.com/projects/dailp/deploys/69f0c654e0cf9d00089e88e0
😎 Deploy Preview https://deploy-preview-694--dailp.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@SonAndrea SonAndrea linked an issue Mar 31, 2026 that may be closed by this pull request
@chullings chullings requested a review from alisony755 April 15, 2026 19:09
alisony755
alisony755 previously approved these changes Apr 28, 2026
Copy link
Copy Markdown
Collaborator

@alisony755 alisony755 left a comment

Choose a reason for hiding this comment

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

This looks good and works well! I like the option to add either an existing keyword or a custom one.

onRemove?: (index: number) => void
addButtonLabel: string
customForm?: React.ReactNode
children?: React.ReactNode
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

It might be helpful to be slightly more clear about the purpose of children, either with a comment or renaming it to something like freeInput.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Or additionalForm like you use for subject headings

@alisony755 alisony755 dismissed their stale review April 28, 2026 21:10

I'm not sure if they're supposed to, but the keyword changes (as well as the changes to the other metadata fields) don't persist after the modal is submitted?

Copy link
Copy Markdown
Collaborator

@alisony755 alisony755 left a comment

Choose a reason for hiding this comment

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

Sorry my previous comments were not accurate! I was not logged in with an editor account, which is why editing wasn't working. I tested it again and the free text entry for keywords works well!

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.

Spatial Coverage Free Text Inputs Free text keywords

2 participants