-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Refactor IdentifiersInput Vue component to not need isEdition
checks
#10301
Comments
@cdrini I'd like to be assigned to this issue |
Awesome, thank you @schu96 ! |
This issue has been marked "Needs: Review Assignee" since there have been no updates within the past two weeks |
Bump, awaiting review |
This issue has been marked "Needs: Review Assignee" since there have been no updates within the past two weeks |
Bump |
This issue has been marked "Needs: Review Assignee" since there have been no updates within the past two weeks |
I think we can remove all the references to
isEdition
(or similar) from this code. Most of the logic was just checking forsaveIdentifiersAsList
, and now that that abstraction has come out, I think these can be cleared up as well! Instead ofedition_popular
, we can just have apopular_ids="['project_gutenberg', 'isbn']"
and so on. This doesn't have to be edition-specific, and can just be a list of identifiers to be extracted from the pool of identifiers to be listed at the top. And then you can just check if there are any popular identifiers.(Addendum of #10032)
Relevant Files
https://github.com/internetarchive/openlibrary/blob/master/openlibrary/components/IdentifiersInput.vue
Stakeholders
@schu96
The text was updated successfully, but these errors were encountered: