implement phase 5~7
This commit is contained in:
parent
8664a80f1e
commit
6140548774
1 changed files with 591 additions and 6 deletions
16
SPEC.md
16
SPEC.md
|
|
@ -264,7 +264,7 @@ gantt
|
|||
| 6 | Map pan/zoom, hover highlight, click-to-connect, color states by availability |
|
||||
| 7 | `config_dialog.rs` modal, full settings flow, apply restarts poller |
|
||||
| 8 | Unit tests (see below) |
|
||||
| 9 | Polish pass |
|
||||
| 9 | Polish pass: confirmation prompts, status formatting, edge cases, deprecation cleanup |
|
||||
|
||||
---
|
||||
|
||||
|
|
@ -280,6 +280,20 @@ gantt
|
|||
|
||||
---
|
||||
|
||||
## Phase 9 — Polish Details
|
||||
|
||||
- **Confirmation prompts on connect/switch**: connecting takes long enough to feel costly, so clicking
|
||||
a country (list, grid, or map) when already connected should show a small modal or inline prompt
|
||||
("Switch to X? [Connect] [Cancel]") before issuing the CLI call. Disconnected → connect can proceed
|
||||
immediately.
|
||||
- **Deprecated API cleanup**: replace `ctx.screen_rect()` with `content_rect()`, replace
|
||||
`show_tooltip_at_pointer` with `egui::Tooltip`, remove `#![allow(dead_code)]`.
|
||||
- **Border stroke scaling**: consider thinning borders at low zoom and thickening at high zoom.
|
||||
- **Notification display**: show `self.notification` somewhere visible (inline banner or status bar).
|
||||
- **Cursor polish**: grab/grabbing cursor icons on map pan.
|
||||
|
||||
---
|
||||
|
||||
## Future Enhancements (out of scope)
|
||||
|
||||
- **Flags setup script**: download SVGs from https://github.com/emcrisostomo/flags (public domain,
|
||||
|
|
|
|||
Loading…
Reference in a new issue