Skip to content

Fix tire search dropdown: no results + icon overlap - #178

Merged
RivianTrackr merged 1 commit into
mainfrom
claude/add-stats-share-image-qmNqS
Mar 1, 2026
Merged

Fix tire search dropdown: no results + icon overlap#178
RivianTrackr merged 1 commit into
mainfrom
claude/add-stats-share-image-qmNqS

Conversation

@RivianTrackr

Copy link
Copy Markdown
Owner
  1. The tire data was passed to JS as flat numeric arrays via get_tires_as_array(), but tire-review.js accessed properties by name (t.brand, t.model, etc.), making every field undefined and the search haystack always empty. Now maps the flat rows into lightweight objects with named keys before localizing.

  2. The search icon used a Font Awesome class, but FA fonts may not load on the standalone page due to CSP restrictions. Replaced with an inline SVG so the icon always renders and never overlaps input text.

https://claude.ai/code/session_01BAc9aiNw9dh4GeqEkpkxLK

1. The tire data was passed to JS as flat numeric arrays via
   get_tires_as_array(), but tire-review.js accessed properties by name
   (t.brand, t.model, etc.), making every field undefined and the search
   haystack always empty. Now maps the flat rows into lightweight objects
   with named keys before localizing.

2. The search icon used a Font Awesome <i> class, but FA fonts may not
   load on the standalone page due to CSP restrictions. Replaced with an
   inline SVG so the icon always renders and never overlaps input text.

https://claude.ai/code/session_01BAc9aiNw9dh4GeqEkpkxLK
@RivianTrackr
RivianTrackr merged commit af1f29e into main Mar 1, 2026
6 of 7 checks passed
@RivianTrackr
RivianTrackr deleted the claude/add-stats-share-image-qmNqS branch March 1, 2026 21:03
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.

2 participants