Commit efda176
Fix critical bugs and polish NiceGUI Explorer UI to production grade
- Replace ui.link(on_click=...) crash with ui.button().props("flat dense no-caps")
- Fix broken pagination: use .set_enabled() instead of invalid .props("flat 'disable'")
- Eliminate modal memory leak: reuse singleton ui.dialog() instances
- Add loading spinners during data fetches
- Add proper empty-state cards with icon + message + hint
- Replace hard-coded max-width pixels with Tailwind truncate class
- Wrap all grids in max-w-7xl mx-auto responsive container
- Guard all service calls with try/except and ui.notify() error toasts
- Use opacity classes instead of text-gray-* for dark mode compatibility
- Add page title and favicon to /ui page
- Show fallback badge when stats fail instead of silent swallow
- Move tab imports to module level
- MCP console: disable Run button during execution, show spinner
- MCP console: use ui.code() for JSON output with syntax highlighting
- MCP console: deferred scroll with ui.timer(0.1) after render
- Flow view: professional centered card placeholder
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 78135b0 commit efda176
4 files changed
Lines changed: 331 additions & 182 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
9 | 12 | | |
10 | 13 | | |
11 | 14 | | |
| |||
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
18 | | - | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
| |||
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
36 | 54 | | |
37 | 55 | | |
38 | 56 | | |
39 | 57 | | |
40 | 58 | | |
41 | 59 | | |
42 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
43 | 63 | | |
44 | | - | |
45 | 64 | | |
46 | 65 | | |
47 | | - | |
48 | 66 | | |
49 | 67 | | |
50 | | - | |
51 | 68 | | |
0 commit comments