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

signup: Implement autocomplete for affiliations in custom user registration template #329

Closed

Conversation

Samk13
Copy link
Member

@Samk13 Samk13 commented May 17, 2024

❤️ Thank you for your contribution!

Description

  • Add autocomplete functionality for user affiliations without third-party libraries.
  • Gently guide users to select consistent names for the same affiliations especially if user info changes are disabled.
  • Fetch suggestions from affiliations API based on user input and display in .
  • Cache suggestions for performance and use a debounce mechanism to limit API calls using vanilla JS.
    auto-complete-feature

Once accepted, after agreeing on where the script should reside and how should be imported e.g invenio-theme, we should update invenio_accounts register_user and user profile template pages.

Checklist

Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:

Frontend

Reminder

By using GitHub, you have already agreed to the GitHub’s Terms of Service including that:

  1. You license your contribution under the same terms as the current repository’s license.
  2. You agree that you have the right to license your contribution under the current repository’s license.

@Samk13 Samk13 force-pushed the signup-affiliations-autocomplete branch from 1feaacc to 77e5066 Compare May 17, 2024 18:01
…n template

* Add autocomplete functionality for user affiliations without third-party libraries.
* Fetch suggestions from affiliations API based on user input and display in .
* Cache suggestions for performance and use a debounce mechanism to limit API calls using vanilla JS.
@Samk13 Samk13 force-pushed the signup-affiliations-autocomplete branch from 77e5066 to d5c5512 Compare May 17, 2024 19:04
@Samk13
Copy link
Member Author

Samk13 commented May 18, 2024

Closing this issue in favor of inveniosoftware/invenio-theme#386

@Samk13 Samk13 closed this May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Released | Done 🚀
Development

Successfully merging this pull request may close these issues.

1 participant