Skip to content

Fix z-index stacking, add GPT-5.4, improve .env docs#12

Merged
msitarzewski merged 2 commits intomainfrom
ux-cleanup
Mar 7, 2026
Merged

Fix z-index stacking, add GPT-5.4, improve .env docs#12
msitarzewski merged 2 commits intomainfrom
ux-cleanup

Conversation

@msitarzewski
Copy link
Owner

Summary

  • Z-index fix: Removed nested stacking contexts (z-10 on Shell, z-20 on TopBar/ThreadDetail) that trapped dropdowns and menus. Added CSS z-index tokens (--z-background, --z-dropdown, --z-overlay, --z-modal), isolate on Shell root, and replaced the invisible backdrop hack in TopBar with a useRef + mousedown click-outside pattern (matching ExportMenu).
  • GPT-5.4: Added to model catalog — 1M context, 128K output, $2.50/$15.00 per MTok, no-temperature (reasoning.effort).
  • .env docs: Added provider API key placeholders (ANTHROPIC_API_KEY, OPENAI_API_KEY, GOOGLE_API_KEY, PERPLEXITY_API_KEY, MISTRAL_API_KEY) to .env.example. Updated README quick start with all provider env vars and .env reference.

Test plan

  • cd web && npm run build && npm test — 185 Vitest tests pass, build clean
  • uv run pytest tests/ -q — 1603 Python tests pass
  • Manual: open account menu dropdown — appears above all content
  • Manual: click outside account menu — closes via mousedown listener
  • Manual: open export menu on a thread — appears above content
  • Manual: click "Models ..." with API keys configured — model selection panel appears
  • Manual: open mobile sidebar — overlays everything

🤖 Generated with Claude Code

msitarzewski and others added 2 commits March 7, 2026 13:44
- Remove nested stacking contexts (Shell z-10, TopBar z-20) that trapped
  dropdowns; add CSS z-index tokens and isolate on Shell root
- Replace TopBar backdrop hack with useRef click-outside pattern
- Add GPT-5.4 to model catalog (1M ctx, $2.50/$15.00, no-temperature)
- Add provider API key placeholders to .env.example
- Update README quick start with all provider env vars

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@msitarzewski msitarzewski merged commit 3a6dfcf into main Mar 7, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant