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

I251 subject search box #238

Merged
merged 5 commits into from
Dec 5, 2022
Merged

I251 subject search box #238

merged 5 commits into from
Dec 5, 2022

Conversation

ShanaLMoore
Copy link
Contributor

@ShanaLMoore ShanaLMoore commented Nov 29, 2022

ref #251

This is the first PR of many. Step 1 of an epic. Most of the added files in here is from the QA (questioning authority) generator.

This only focuses on enabling library of congress search for the subject property.

On a work's form, the subject property will have a search box. Once the user starts typing, it queries library of congress and displays options that a user could select.

On save, the label will appear on the show page (not the id, which looks like a uri).

Screen Shot 2022-11-29 at 11 06 36 AM

Screen Shot 2022-11-29 at 11 07 29 AM

Screen Shot 2022-11-29 at 11 07 02 AM

@@ -0,0 +1,24 @@
url-pattern:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This file was produced by the generator. I am not sure how it gets used yet, but would prefer to keep it around for now to not forget about it later.

@@ -0,0 +1,13 @@
<%= f.input :subject,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This will eventually need to be dynamic (to work for any flex defined controlled value).

@ShanaLMoore ShanaLMoore changed the title I212 remote qa I251 subject search box Dec 5, 2022
@ShanaLMoore ShanaLMoore marked this pull request as ready for review December 5, 2022 18:25
Copy link
Contributor

@laritakr laritakr left a comment

Choose a reason for hiding this comment

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

Looks so much less involved than I expected! Good job!

@ShanaLMoore ShanaLMoore merged commit 5c16140 into main Dec 5, 2022
@ShanaLMoore ShanaLMoore deleted the i212-remote-qa branch December 5, 2022 18:44
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