Skip to content

Fix: explain that icon search is off in the live demo - #531

Merged
SandObserver merged 1 commit into
mainfrom
fix/demo-icon-search-refusal
Oct 20, 2026
Merged

SandObserver merged 1 commit into
mainfrom
fix/demo-icon-search-refusal

Conversation

@SandObserver

Copy link
Copy Markdown
Owner

Summary

  • Answer GET /api/icons/search in demo mode with 403 and code blocked.demo instead of a 502 from the unreachable catalogues.
  • Show app.iconSearchDemo in the icon field for that code, without the upload hint, and announce it.
  • Add app.iconSearchDemo to all six catalogs; update the icon picker tests to the new failure branch.

Testing
All green. Added 1 API test, which fails against the previous route.

Changelog

Checklist

  • Stays within the project constraints: one container, no runtime dependencies, no build step (see CONTRIBUTING.md).
  • Tests added or updated for new logic, and the full suite, lint, and typechecks pass.
  • Docs updated if behavior or configuration changed.

@SandObserver SandObserver added the bug Something isn't working label Oct 20, 2026
The icon catalogues are fetched from outside, which demo mode blocks, so a
search failed with a generic error. Demo mode now answers icon search with
the blocked.demo refusal, and the admin explains that icon search is off in
the live demo.
@SandObserver
SandObserver force-pushed the fix/demo-icon-search-refusal branch from 101689e to 9b2eff5 Compare October 20, 2026 21:49
@SandObserver
SandObserver merged commit 9262498 into main Oct 20, 2026
6 checks passed
@SandObserver
SandObserver deleted the fix/demo-icon-search-refusal branch October 20, 2026 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant