Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions labs/exercise4/instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -632,13 +632,14 @@ Open: `http://localhost:3000/drafts/jsmith/search-test`

| Query | Expected |
|-------|----------|
| `session` | Pages with "session" in title/description/tags |
| `lab` | Pages with "lab" in title/description |
| An instructor name | Pages where that instructor is listed |
| A speaker name | Pages where that speaker is listed |
| A category (e.g. `infrastructure`) | Pages tagged with that category |
| Your session title (or part of it) | Your `/labs/jsmith/` page |
| `xyz123` | No results message |
| `technical` | All session pages that contain `technical` (matches `category` field) |
| `lab` | All lab pages + your `/labs/jsmith/` page (matches title and path) |
| `stefan` | 2 sessions by Stefan Seifert (matches `speaker-name` field) |
| Your first name (e.g. `sagar`) | Your `/labs/jsmith/` page (matches `instructor` field — requires your page to be published) |
| `development` | Lab pages in the development category |
| Your session or lab title (or part of it) | Your `/labs/jsmith/` page |
| `xyz123` | "No results found." message |
| `edge` | All pages matching `edge` in title or description |

Results render as Cards block cards — same dark cards with hover effect you saw in Exercise 2.

Expand Down Expand Up @@ -695,7 +696,7 @@ Replace `jsmith` with your branch name.

## Verification Checklist

- [ ] `/labs/jsmith/my-session` visible in `query-index.json`
- [ ] `/labs/jsmith/<your-page-name>` visible in `query-index.json`
- [ ] `blocks/search/search.js` and `blocks/search/search.css` created
- [ ] Search input renders on `http://localhost:3000/drafts/jsmith/search-test`
- [ ] Typing at least 3 characters triggers a search
Expand Down