Wishlist for HTML/JS improvement
Open
Nobody has claimed this yet.
- Dominant language
- Racket
- Stars
- 250
- Forks
- 102
- Avg merge
- 11d 11h
- Merged PRs (30d)
- 1
Description
- Use
type="search"for the search box, which is semantically more correct and give us the "clear" button automatically in many browsers - Refactor the use of
keyCode, which is deprecated. - Refactor the use of non-standard HTML attributes. This might not be always possible because some non-standard attributes are documented publicly (e.g.,
x-source-module). - Instead of parsing the query string ourselves, use
new URL(location.href).searchParams.get(...). -
==/!=is evil. Use===/!==everywhere. - Avoid unsafe
innerHTMLset. E.g., https://docs.racket-lang.org/reference/index.html?ctxtname=%3Cdiv%20style=%22color:%20red%22%3Efoo%3C/div%3E - Replace deprecated tags with appropriate tags where applicable
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the HTML and JavaScript that generate the search box and handle query-driven pages. Review each remaining unchecked item, especially non-standard attributes, equality checks, innerHTML usage, and deprecated tags, then verify that the affected pages retain their behavior without the reported unsafe or deprecated patterns.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html, javascript
- Domain
- frontend
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100