mirror of
https://github.com/hansjone/netx.git
synced 2026-10-14 16:00:51 +08:00
Add named multi-panel traffic boards with dedicated wall tabs.
Persist board/panel layouts server-side, open each board outside the network shell so workbench reloads do not refresh walls, and fix mapped-baseline chart overlay plus fullscreen fit. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
214bc56774
commit
00d3e95e2d
22 changed files with 1923 additions and 345 deletions
|
|
@ -256,8 +256,8 @@ export function PortTrafficPage() {
|
|||
setView("wizard");
|
||||
};
|
||||
|
||||
const openWall = (deviceId: string) => {
|
||||
navigate(`/network/tasks/port-traffic/wall?device_id=${encodeURIComponent(deviceId)}`);
|
||||
const openWallList = () => {
|
||||
navigate("/network/tasks/port-traffic/wall");
|
||||
};
|
||||
|
||||
const openEdit = (row: PortTrafficDevice) => {
|
||||
|
|
@ -523,7 +523,7 @@ export function PortTrafficPage() {
|
|||
<button
|
||||
type="button"
|
||||
className="btn-primary"
|
||||
onClick={() => openWall(row.id)}
|
||||
onClick={() => openWallList()}
|
||||
>
|
||||
{t("portTraffic.wall")}
|
||||
</button>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue