---
estimated_steps: 21
estimated_files: 4
skills_used: []
---

# T02: Remove fallback banner, clean up footer, and bump version

Three independent frontend cleanups:
1. Remove the yellow 'semantic search unavailable' fallback banner from SearchResults
2. Clean up the footer to hide commit info when value is 'dev' (already partially done — verify and simplify)
3. Bump package.json version to 0.8.0

## Steps

1. Read `frontend/src/pages/SearchResults.tsx` — remove the fallback banner JSX block (the `{!loading && fallbackUsed && results.length > 0 && (...)}` section around lines 101-105). Keep the `fallbackUsed` state variable — it's harmless and the API still returns it
2. Read `frontend/src/App.css` around line 1119 — remove the `.search-fallback-banner` CSS rule block (approximately lines 1119-1127)
3. Read `frontend/src/components/AppFooter.tsx` — the footer already conditionally renders commit as a link vs plain text. Simplify: when `__GIT_COMMIT__` is 'dev', hide the commit section entirely (remove the else branch that shows plain 'dev' text, and the separator before it)
4. Edit `frontend/package.json` — change version from '0.1.0' to '0.8.0'
5. Run `cd frontend && npm run build` to verify zero build errors

## Must-Haves

- [ ] No fallback banner JSX in SearchResults.tsx
- [ ] No `.search-fallback-banner` CSS rule in App.css
- [ ] Footer hides commit section entirely when __GIT_COMMIT__ is 'dev'
- [ ] package.json version is 0.8.0
- [ ] `npm run build` succeeds with zero errors

## Verification

- `grep -q 'search-fallback-banner' frontend/src/pages/SearchResults.tsx && echo FAIL || echo PASS`
- `grep -q 'search-fallback-banner' frontend/src/App.css && echo FAIL || echo PASS`
- `grep -q '"0.8.0"' frontend/package.json && echo PASS || echo FAIL`
- `cd frontend && npm run build 2>&1 | tail -3`

## Inputs

- ``frontend/src/pages/SearchResults.tsx` — contains fallback banner to remove`
- ``frontend/src/App.css` — contains .search-fallback-banner CSS to remove`
- ``frontend/src/components/AppFooter.tsx` — footer component to simplify`
- ``frontend/package.json` — version to bump`

## Expected Output

- ``frontend/src/pages/SearchResults.tsx` — fallback banner JSX removed`
- ``frontend/src/App.css` — .search-fallback-banner CSS rule removed`
- ``frontend/src/components/AppFooter.tsx` — commit section hidden when 'dev'`
- ``frontend/package.json` — version set to 0.8.0`

## Verification

cd frontend && npm run build 2>&1 | tail -5 && grep -q 'search-fallback-banner' src/pages/SearchResults.tsx && echo 'FAIL: banner still present' || echo 'PASS: banner removed'
