Use one responsive search surface in Aliki - #1804
Open
st0012 wants to merge 1 commit into
Open
Conversation
st0012
requested a deployment
to
fork-preview-protection
August 31, 2026 14:29 — with
GitHub Actions
Waiting
Member
Author
|
@codex review |
st0012
commented
Aug 31, 2026
| html += `<span class="search-type search-type-${this.escapeHTML(typeClass)}">${typeLabel}</span>`; | ||
| } | ||
|
|
||
| html += '</p>'; |
Member
Author
There was a problem hiding this comment.
This is an unrelated fix that doesn't affect user behaviour.
st0012
force-pushed
the
codex/unify-aliki-search
branch
from
August 31, 2026 15:37
fb76f22 to
90f7141
Compare
st0012
requested a deployment
to
fork-preview-protection
August 31, 2026 15:37 — with
GitHub Actions
Waiting
st0012
force-pushed
the
codex/unify-aliki-search
branch
from
August 31, 2026 17:54
90f7141 to
4e29cdc
Compare
st0012
requested a deployment
to
fork-preview-protection
August 31, 2026 17:54 — with
GitHub Actions
Waiting
st0012
marked this pull request as ready for review
August 31, 2026 18:32
Contributor
There was a problem hiding this comment.
Pull request overview
Unifies Aliki search across responsive layouts and makes complete result cards clickable.
Changes:
- Uses one search form and result list across layouts.
- Adds responsive overlay behavior and full-card link targets.
- Tests
/shortcut focus behavior and updates design documentation.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
test/rdoc/generator/aliki/search_test.rb |
Tests shared search opening via /. |
lib/rdoc/generator/template/aliki/js/aliki.js |
Unifies search interaction and lifecycle logic. |
lib/rdoc/generator/template/aliki/DESIGN.md |
Documents responsive shared search. |
lib/rdoc/generator/template/aliki/css/rdoc.css |
Adds compact overlay and card-wide links. |
lib/rdoc/generator/template/aliki/_sidebar_search.rhtml |
Adopts shared result identifiers. |
lib/rdoc/generator/template/aliki/_header.rhtml |
Replaces separate forms with shared markup. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+12
to
+13
| <div class="search-backdrop" data-search-close></div> | ||
| <div id="search-surface" class="search-surface"> |
st0012
force-pushed
the
codex/unify-aliki-search
branch
from
August 31, 2026 18:36
4e29cdc to
671dc73
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 5 out of 5 changed files in this pull request and generated no new comments.
Suppressed comments (1)
lib/rdoc/generator/template/aliki/_header.rhtml:13
- On compact layouts this element becomes a modal overlay and the page is scroll-locked, but the previous
role="dialog"/aria-modal="true"semantics were removed. Assistive technology will treat it as an ordinary header region rather than announce a modal search surface. Please apply dialog semantics while the compact surface is open (and remove them in the desktop presentation), restoring them on close.
<div id="search-surface" class="search-surface">
Collaborator
|
🚀 Preview deployment available at: https://0b38709c.rdoc-6cd.pages.dev (commit: 671dc73) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Aliki had two separate search problems on compact layouts:
/focused the hidden desktop field instead of opening the visible search surface.The first problem came from rendering separate desktop and compact search forms. Aliki now renders one search form and one result list. CSS presents the same markup inline on larger screens and as an overlay on smaller screens, so the search logic no longer needs separate paths.
Each result anchor now covers its full card. This makes the entire result clickable while preserving standard link actions.
aliki-search-after.mp4