mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 08:10:47 +08:00
Harden topology editor save/discover flow and edge editing.
Guard unsaved changes, cancel discovery, block invalid links, preserve discovered_at on PUT, and normalize interface names for discovery keys. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
99fce837f0
commit
2382cb8269
11 changed files with 416 additions and 128 deletions
|
|
@ -2578,7 +2578,8 @@ pre {
|
|||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.topo-ctx__style-row select {
|
||||
.topo-ctx__style-row select,
|
||||
.topo-ctx__style-input {
|
||||
flex: 1 1 auto;
|
||||
max-width: 108px;
|
||||
height: 24px;
|
||||
|
|
@ -2591,6 +2592,11 @@ pre {
|
|||
padding: 0 6px;
|
||||
}
|
||||
|
||||
.topo-ctx__style-input {
|
||||
max-width: 120px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
/* Beat .app-main button { color:#1f2937; background:#fff } so hover stays readable. */
|
||||
.app-main .topo-ctx__item,
|
||||
.topo-ctx__item {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue