Commit 5b11a6b
authored
refactor: optimize UI button layout and fix dependency loop (#149)
- Add Open UI button next to IP:Port in installed scripts table
- Move Re-detect button to Actions dropdown for better space usage
- Fix dependency array loop in fetchContainerStatuses useCallback
- Hide buttons for stopped containers to prevent invalid actions
- Enhance auto-detect success message with LXC ID and hostname
- Improve font consistency by removing monospace from IP:Port text
- Optimize screen real estate with cleaner, more scannable layout1 parent 67ac02e commit 5b11a6b
2 files changed
Lines changed: 22 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
377 | 377 | | |
378 | 378 | | |
379 | 379 | | |
380 | | - | |
| 380 | + | |
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
| |||
1365 | 1365 | | |
1366 | 1366 | | |
1367 | 1367 | | |
1368 | | - | |
1369 | | - | |
1370 | | - | |
1371 | | - | |
1372 | | - | |
| 1368 | + | |
| 1369 | + | |
1373 | 1370 | | |
1374 | | - | |
1375 | | - | |
| 1371 | + | |
| 1372 | + | |
1376 | 1373 | | |
1377 | | - | |
1378 | | - | |
1379 | | - | |
1380 | | - | |
| 1374 | + | |
| 1375 | + | |
| 1376 | + | |
1381 | 1377 | | |
1382 | | - | |
| 1378 | + | |
1383 | 1379 | | |
1384 | 1380 | | |
1385 | 1381 | | |
| |||
1487 | 1483 | | |
1488 | 1484 | | |
1489 | 1485 | | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
1490 | 1495 | | |
1491 | 1496 | | |
1492 | 1497 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1137 | 1137 | | |
1138 | 1138 | | |
1139 | 1139 | | |
1140 | | - | |
| 1140 | + | |
1141 | 1141 | | |
1142 | | - | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
1143 | 1145 | | |
1144 | 1146 | | |
1145 | 1147 | | |
| |||
0 commit comments