Commit Graph
14 Commits
Author SHA1 Message Date
junvandCopilot 0adad147f5 fix: dynamic API docs URLs match browser address
OpenAPI schema now derives the server URL from the incoming request
(Host header + X-Forwarded-Proto/X-Forwarded-Host for reverse proxies).
Curl examples in API docs use $BASE_URL placeholder which is replaced
at serve-time with the actual origin, so docs work correctly behind
nginx or any reverse proxy with a custom domain.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-23 17:12:35 +11:00
junvandCopilot b36d3e53b5 feat: accessibility overhaul, agent-friendly API, standardized errors
P0 fixes:
- Image result cards are now real <a> links (open-in-new-tab, Cmd-click, copy-link)
- aria-label on all icon-only buttons (settings, clear, close, nav, toggles, delete)
- Search input semantics: label, name=q, type=search, combobox ARIA pattern
- Visible focus-visible ring on all interactive elements, removed bare outline-none

P1 fixes:
- Skip to main content link for keyboard navigation
- Proper heading hierarchy (h1/h2) and landmark elements (nav, main, aside)
- aria-live regions for loading/results/error announcements
- Custom favicon SVG (eliminates 404 console errors)
- Dialog/modal semantics with role=dialog and aria-modal

P2 API improvements:
- result_id, rank, engine on every result; timestamp, total_results, has_next on response
- Standardized APIError model (code/message/details/retry_hint) on all error responses
- X-Response-Time-Ms and rate-limit headers on all responses
- curl examples and sample JSON in OpenAPI docs for every endpoint
- Global exception handler returns consistent error JSON
- engines parameter in URL for reproducible sessions

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-23 17:06:09 +11:00
junvandCopilot bd22089d23 Update CHANGELOG and FEATURES docs for v1.3.0
- Lightbox navigation with arrow keys
- Visited link styling
- Mobile settings modal fix
- Search stats collapsed by default on mobile

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-23 16:28:04 +11:00
junv a09c245d6e UI update 2026-02-23 16:24:33 +11:00
junv 40ef206667 update 2026-02-23 16:22:07 +11:00
junv b1e6712283 update image 2026-02-23 16:13:45 +11:00
junv 16968b8565 add masonry image layout 2026-02-23 16:09:52 +11:00
junv 7c0430f2dc Update google and bing search logic 2026-02-23 15:55:25 +11:00
junv e78f9e95ef Add paging 2026-02-23 15:05:01 +11:00
junv cb1469c23d Update settings! 2026-02-23 14:56:27 +11:00
junv 2144687bd3 Add feature to exclude results from a website 2026-02-23 14:50:31 +11:00
junv 47d6cba194 Add justfile 2026-02-23 14:45:18 +11:00
junv 8ded475231 Update 2026-02-23 14:41:23 +11:00
junv 9d36d4aba9 Done by copilot 2026-02-23 14:37:07 +11:00