Jason
|
57552b3159
|
fix: unify dialog layout and fix content padding issues
- Fix negative margin overflow in all dialog content areas
- Standardize dialog structure with flex-col layout
- Add consistent py-4 spacing to all content areas
- Ensure proper spacing between header, content, and footer
Affected components:
- AddProviderDialog, EditProviderDialog
- McpFormModal, McpPanel
- UsageScriptModal
- SettingsDialog
All dialogs now follow unified layout pattern:
- DialogContent: flex flex-col max-h-[90vh]
- Content area: flex-1 overflow-y-auto px-6 py-4
- No negative margins that cause content overflow
|
2025-10-18 16:52:02 +08:00 |
|
Jason
|
a32aeaf73e
|
feat: add Codex support to ProviderForm
- Create useCodexConfigState hook for managing Codex configuration
- Handles auth.json (JSON) and config.toml (TOML) separately
- Bidirectional sync with Base URL extraction
- API Key management from auth.OPENAI_API_KEY
- Integrate Codex-specific UI components
- Codex API Key input
- Codex Base URL input with endpoint speed test
- CodexConfigEditor for auth/config editing
- Update handlePresetChange to support Codex presets
- Update handleSubmit to compose Codex auth+config
- Conditional rendering: Claude uses JsonEditor, Codex uses CodexConfigEditor
|
2025-10-16 18:50:44 +08:00 |
|