ext-apps/examples
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Olivier Chafik 8cad9f04c0
Add PDF search feature to pdf-server (#445)
* Add PDF search feature to pdf-server

Adds full-text search functionality to the PDF viewer:

- Search button in toolbar (Ctrl/Cmd+F to open)
- Search bar with input, prev/next navigation, match count
- Text extraction and caching across all pages
- Highlight overlays using DOM Range API
- Case-insensitive search across entire document
- Keyboard shortcuts: Ctrl+F (open), Enter (next), Shift+Enter (prev), Escape (close)

Changes:
- mcp-app.html: Add search button, search bar, highlight layer
- src/mcp-app.css: Add search/highlight styles and PDF.js text layer rules
- src/mcp-app.ts: Add search state, functions, event listeners

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* update screenshots

* Add fullscreen button to threejs-server

* Fix prettier formatting

* Move search bar below toolbar, right-aligned

* Make search bar compact and right-aligned

* Float search bar over page content

* Ctrl/Cmd+F toggles search; pass through to browser when empty

* Hide search nav controls until query is entered

* Skip scroll when search highlight is already visible

* Fix search bar right-edge alignment with container border

* Prevent browser find when our search is open with text

* Cmd+F when search input is focused passes through to browser find

* Fix prettier formatting in README

* Remove unrelated formatting and threejs changes from PR

* prettier

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 18:56:40 +00:00
..
basic-host fix: align basic-host dark mode styles (#438) 2026-02-12 15:28:51 +00:00
basic-server-preact Use escaped double quotes in npm scripts for Windows compatibility 2026-02-02 09:05:40 -06:00
basic-server-react Use escaped double quotes in npm scripts for Windows compatibility 2026-02-02 09:05:40 -06:00
basic-server-solid Use escaped double quotes in npm scripts for Windows compatibility 2026-02-02 09:05:40 -06:00
basic-server-svelte Use escaped double quotes in npm scripts for Windows compatibility 2026-02-02 09:05:40 -06:00
basic-server-vanillajs Use escaped double quotes in npm scripts for Windows compatibility 2026-02-02 09:05:40 -06:00
basic-server-vue Use escaped double quotes in npm scripts for Windows compatibility 2026-02-02 09:05:40 -06:00
budget-allocator-server Use escaped double quotes in npm scripts for Windows compatibility 2026-02-02 09:05:40 -06:00
cohort-heatmap-server Use escaped double quotes in npm scripts for Windows compatibility 2026-02-02 09:05:40 -06:00
customer-segmentation-server Use escaped double quotes in npm scripts for Windows compatibility 2026-02-02 09:05:40 -06:00
debug-server Use escaped double quotes in npm scripts for Windows compatibility 2026-02-02 09:05:40 -06:00
integration-server Use escaped double quotes in npm scripts for Windows compatibility 2026-02-02 09:05:40 -06:00
map-server Clarify spec and SDK: accept UIResourceMeta in both resources/list and resources/read (#410) 2026-02-04 14:26:09 +00:00
pdf-server Add PDF search feature to pdf-server (#445) 2026-02-19 18:56:40 +00:00
qr-server chore: bump to 1.0.1 - fix npm reference for ext-apps dependency in examples + update zod to 4.x (#368) 2026-01-26 21:55:15 +00:00
quickstart Use escaped double quotes in npm scripts for Windows compatibility 2026-02-02 09:05:40 -06:00
say-server chore: bump to 1.0.1 - fix npm reference for ext-apps dependency in examples + update zod to 4.x (#368) 2026-01-26 21:55:15 +00:00
scenario-modeler-server Use escaped double quotes in npm scripts for Windows compatibility 2026-02-02 09:05:40 -06:00
shadertoy-server Use escaped double quotes in npm scripts for Windows compatibility 2026-02-02 09:05:40 -06:00
sheet-music-server Use escaped double quotes in npm scripts for Windows compatibility 2026-02-02 09:05:40 -06:00
system-monitor-server Use escaped double quotes in npm scripts for Windows compatibility 2026-02-02 09:05:40 -06:00
threejs-server Use escaped double quotes in npm scripts for Windows compatibility 2026-02-02 09:05:40 -06:00
transcript-server Use escaped double quotes in npm scripts for Windows compatibility 2026-02-02 09:05:40 -06:00
video-resource-server Use escaped double quotes in npm scripts for Windows compatibility 2026-02-02 09:05:40 -06:00
wiki-explorer-server Use escaped double quotes in npm scripts for Windows compatibility 2026-02-02 09:05:40 -06:00
run-all.ts add EXAMPLE=folder-name support for tests & basic-host (#292) 2026-01-19 20:16:37 +00:00