Repository navigation
ER: Remove unused search id query selectors #8803
Description
Activity
- addedrole: back end/devOpsTasks for back-end developersTasks for back-end developersP-Feature: Home pagehttps://www.hackforla.org/https://www.hackforla.org/Complexity: SmallTake this type of issues after the successful merge of your second good first issueTake this type of issues after the successful merge of your second good first issuesize: 0.25ptCan be done in 0.5 to 1.5 hoursCan be done in 0.5 to 1.5 hoursIssue Making: Level 2Make issue(s) from an ER or EpicMake issue(s) from an ER or EpicEREmergent RequestEmergent Request
on Sep 26, 2026 - moved this to New Issue Approval in P: HfLA Website: Project Board
on Sep 26, 2026 - addedready for dev leadIssues that tech leads or merge team members need to follow up onIssues that tech leads or merge team members need to follow up on
on Sep 26, 2026 - addedready for merge teamneeds a senior review either to do some re writing or to approve it for ready for prioritizationneeds a senior review either to do some re writing or to approve it for ready for prioritizationand removedready for dev leadIssues that tech leads or merge team members need to follow up onIssues that tech leads or merge team members need to follow up on
on Sep 26, 2026 - addedDraftIssue is still in the process of being createdIssue is still in the process of being createdP-Feature: Projects pagehttps://www.hackforla.org/projects/https://www.hackforla.org/projects/and removedP-Feature: Home pagehttps://www.hackforla.org/https://www.hackforla.org/
on Sep 27, 2026 1 remaining item
- addedIssue Making: Level 1Make issues from a template and a spreadsheetMake issues from a template and a spreadsheet
on Sep 27, 2026 castillios commented
on Sep 27, 2026 on Sep 27, 2026 · Hidden as resolvedAuthorshow commentMore actionscastillios commented
on Oct 1, 2026 on Oct 1, 2026 · Hidden as resolvedAuthorshow commentMore actions- addednon-PR contributionFor wiki additions/revisions, audit spreadsheet contributions, issue-making ERs and Epics, etc.For wiki additions/revisions, audit spreadsheet contributions, issue-making ERs and Epics, etc.and removedDraftIssue is still in the process of being createdIssue is still in the process of being createdready for merge teamneeds a senior review either to do some re writing or to approve it for ready for prioritizationneeds a senior review either to do some re writing or to approve it for ready for prioritization
on Oct 1, 2026 Hi @yepezjuan, thank you for taking up this issue! Hfla appreciates you :)
Do let fellow developers know about your:-
i. Availability: (When are you available to work on the issue/answer questions other programmers might have about your issue?)
ii. ETA: (When do you expect this issue to be completed?)You're awesome!
P.S. - You may not take up another issue until this issue gets merged (or closed). Thanks again :)
Availability: M, Th, F (5-7pm)
ETA: Thurs, Oct 8, 2026- added a sub-issue
on Oct 5, 2026 Hi @yepezjuan! Thanks for creating the issue for this ER. I have a bit of feedback before I mark it as Ready for Prioritization.
- Be sure to add capitalization to each of the action items for consistency
- There's a minor spelling error, not a big deal!: 'asstes/js/current-projects.js' should be 'assets/js/current-projects.js'
- Our Blank Issue Template unfortunately doesn't contain the Prerequisite section. Would you be able to add the following before the
Overviewsection?:###Prerequisite 1. Be a member of Hack for LA. (There are no fees to join.) If you have not joined yet, please follow the steps on our [Getting Started page](https://www.hackforla.org/getting-started) and attend an onboarding session. 2. Before you claim or start working on an issue, please make sure you have read our [How to Contribute to Hack for LA Guide](https://github.com/hackforla/website/blob/7f0c132c96f71230b8935759e1f8711ccb340c0f/CONTRIBUTING.md). - This one's on me for not initially including it in the ER, but could you add these links to the Resources section? These are the pages that will need to be tested on the devs localhost:
- Hack for LA Projects Page: https://www.hackforla.org/projects/
- Hack for LA Projects Check Page: https://www.hackforla.org/projects-check/
Thanks for your patience and work on this issue! Feel free to ping me on Slack once the edits have been made and I'll re-review ASAP.
Hi @yepezjuan, thanks for making those changes! I've marked your issue as Ready for Prioritization and will close this ER.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Emergent Requirement - Problem
In
assets/js/current-projects.js, there are two query selectors that select an id namedsearch. However, in_includes/current-projects.html, there is no existing id forsearch.We must remove any query selectors for
searchinassets/js/current-projects.jssince it is an unused id.Issue you discovered this emergent requirement in
Date discovered
9/19/2026
Did you have to do something temporarily
Who was involved
@ldaws003 @castillios
What happens if this is not addressed
Any deprecated IDs may continue to bloat the codebase if left unaddressed.
Resources
Recommended Action Items
Potential solutions [draft]
Create a small issue that lists the 2 instances of
document.querySelector('#search')to be removed fromassets/js/current-projects.js.In your issue body under the
Instructionssection, include before and after code snippets as follows:Before:
After removing
#search:Before:
After removing
document.querySelector('#search'):After listing implementation details, include an action item to test and verify that the changes still work by performing a search in both mobile and desktop views on the Projects and Projects-Check pages
Ensure your issue labels match this parent ER (with the exception of
Issue Making: Level 1,ERandnon-PR contribution)Once the overall issue has been drafted, in the sidebar under Relationships, add this ER as a parent to your issue
Review and if ready, apply the
ready for merge teamlabel