Commit 9c4d704
secus
feat: Improve container error handling and environment variables UI
- Add comprehensive container error handling for ContainerCreating, waiting to start, and BadRequest errors
- Create errorHandlers utility for consistent error analysis across components
- Improve LogsPage with better retry logic and user-friendly messages (15 retries, 4-6s intervals)
- Enhanced DeploymentDetailPage error handling for all operations (env vars, scaling, restart, delete)
- Add container status warning banner for pending/updating deployments
- Redesign environment variables UI to handle long values properly:
- Use textarea for editing long values with Ctrl+Enter to save
- Add responsive layout with proper text wrapping and scrolling
- Show character count and tooltips for long values
- Improve add/edit forms with better validation and UX
- Replace scary error messages with educational, user-friendly notifications
- All container startup errors now show helpful context instead of raw API errors1 parent c921583 commit 9c4d704
3 files changed
Lines changed: 382 additions & 186 deletions
File tree
- apps/container-engine-frontend/src
- components/DeploymentDetail
- pages
- utils
Lines changed: 13 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
108 | 109 | | |
109 | 110 | | |
110 | 111 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
124 | 123 | | |
125 | | - | |
| 124 | + | |
126 | 125 | | |
127 | | - | |
128 | | - | |
129 | 126 | | |
130 | 127 | | |
131 | 128 | | |
| |||
0 commit comments