Closed jjchen20 closed 5 years ago
What should create a new tag:
2 hours dev work
Applies to all creatable tag inputs
Took about 4 hours, though I got distracted in the process. Testable on staging
I think making periods create separate tags could lead to issues, if for example if somebody wanted to put ".hack fan" or any other tag that has a period in it, this would prevent the tag from being created.
For what it's worth, currently no tags exist in the database with periods, so it's a somewhat rare case.
This looks good on staging and ready to deploy. Outlining here what creates the tag:
The search feature (#124) should also allow typing/ searching for tags using all of the options above.
Can we apply the tag generation capabilities universally across all the tags (not just the open-ended ones)?
Typing in comma or semi-colon did not create/select the tag automatically for the academic degrees:
Comma and semi-colon tag generation currently works for "Parts of Me" and "Activities I enjoy" but not "Academic Degrees," "Institutional Affiliations," "Clinical Interests," and "Professional Interests." Same rules across all tag generation will be more intuitive for users.
I added comma / semicolon / click elsewhere = complete for all creatable tags, which is everything but institutional affiliations. Since users cannot create institutional affiliations, I think it makes sense to have them select the affiliation via click, tab, or enter, and to discard something typed without a matching affiliation and they click elsewhere. Open to feedback on this.
That makes sense to me too. See #135 for similar conversation, with bug of menus staying open only after comma/semicolon tag creation.
Also see #136
In the faculty profile generation section