-
-
Notifications
You must be signed in to change notification settings - Fork 777
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
Update chip labels from plural to singular #4647
Comments
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Hi @irais-valenzuela, thank you for taking up this issue! Hfla appreciates you :) Do let fellow developers know about your:- You're awesome! P.S. - You may not take up another issue until this issue gets merged (or closed). Thanks again :) |
Availability for this week: Monday, Tuesday, Thursday 11am - 4pm |
Hello, I have a blocker more like a question. I've updated the chip label names (the variable filterName) in the filterTagComponent function in assests/js/currentProjects.js from "technologies" and "tools" to singular names of "technology" and "tool". The change is also reflected in the UI as well. Here's the code for it: ${filterName === "looking" ? "Role" : copyOfFilterName.length > 0 ? copyOfFilterName : filterName}: ${filterValue} }
I'm curious if I also have to change the data-filter attribute in the div to also have the singular label name of either "technology" or "tool" or if I should leave that as the plural form of technology and tool. The branch I'm working on is called "plural-to-singular-chip-labels-4647" if needed. Any assistance is appreciated. Thank you. |
@irais-valenzuela Assuming you have tested the filters and everything works fine, you don't have to change the data-filter attribute. But thanks for checking! |
Hi, I'm trying to finish testing my changes on my localhost but I'm unable to start the server. I keep getting errors like this:
This is the main error: Liquid Exception: Liquid syntax error (line 112): Tag '{% - for project in visible_projects -%}' was not properly terminated with regexp: /%}/ in assets/js/current-projects.js |
Availability for this week: Thursday 1pm - 6pm, Friday 11am-4pm |
Dependency
Overview
Currently, chip label prefixes for the "Technologies" and "Tools" filter groups are pluralized even if only one filter item is listed under the label. This can be confusing to users, so we want to update the chip label prefixes to "Technology" and "Tool"
Action Items
assets/js/current-projects.js
and understand how the programming of the filters and chips work.Resources/Instructions
The text was updated successfully, but these errors were encountered: