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

feat: Modular autocomplete functionality for various contexts #386

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Samk13
Copy link
Member

@Samk13 Samk13 commented May 18, 2024

❤️ Thank you for your contribution!

Description

  • This autocomplete feature is designed to be reusable for different contexts beyond affiliations by overriding the variables in the template.
  • Gently guide users to select consistent names for the same affiliations especially if user info changes are disabled.
  • Allows overriding API endpoints, URLs, input IDs, and language at the template level
  • Added support for dynamically setting the autocomplete language
  • Implemented input sanitization and caching for performance
  • This feature will only work on selected pages.

auto-complete-feature
aff_autocomplete_userProfile_page
aff_autocomplete_signup_page

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.

* This feature is designed to be reusable for different contexts beyond affiliations by overriding the variables in the template.
* Introduced modular autocomplete functionality
* Allows overriding API endpoints, URLs, input IDs, and language at the template level
* Added support for dynamically setting the autocomplete language
* Enhanced URL matching to handle trailing slashes
* Implemented input sanitization and caching for performance
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.

None yet

1 participant