aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/Hosts.qml
AgeCommit message (Collapse)AuthorFilesLines
46 hoursfeat: WheelScroll on every vertical scroller, in every shellDanilo M.1-0/+1
The settings window's fix applied everywhere: under Wayland a mouse notch carries pixelDelta 15, which Flickable trusts, so the drawer tiles, notification list, clipboard, notes, assistant lists, steps window, OBS scenes, hosts and bookmarks all crawled 15px a notch. Bookmarks had its own handler that preferred a non-zero pixelDelta and so carried the same bug at 30px. WheelScroll.qml moves to shared/ and is linked from desktop/, hosts/ and bookmarks/, as Theme.qml is. Steps: a tile row for the drawer, three card rows for bookmarks, 60px for the two small text boxes, 40px for OBS scenes, 150px elsewhere. Its clamp now honours topMargin and bottomMargin, which bookmarks' grid uses. The animated step fires no movementStarted, which the assistant chat used to stop following a streaming reply once the user scrolled up, so WheelScroll gains a settled signal and the chat sets stick from atYEnd on it. games/ is untouched: its PathView steps one tile per notch on angleDelta and never had the bug. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27hosts: group cards by node, devices and remote, with a reachability dotDanilo M.1-18/+105
The flat grid mixed Proxmox services with the phone, printers and IoT. hosts.py now gives every entry a group: the node named in its note's `node`, its own name when other notes name it as their node (so the node card heads its section), "Devices" for anything else on a private address, "Remote" for the rest. The list is sorted node by node, node card first, and the grid starts a titled section at each group change. Up/Down move by visual row and keep the column, since rows are no longer a fixed five. `hosts.py --probe` checks every host at once, about a second for the whole list, and runs beside the list rather than ahead of it. A host with a port or url is up only when that port accepts a TCP connect, so a service whose CT is up and whose daemon is down reads red; anything else gets one ping. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26hosts: the vault's LAN map as a searchable overlayDanilo M.1-0/+361
A new standalone shell, shaped like keybinds, that replaces the rofi SSH menu (blackpearl-sshmenu.sh) on ALT+SHIFT+Return. hosts.py reads the frontmatter of every host note in the vault's Local Network/services folder and the plain lines of ~/.ssh/config, and joins each alias to the note whose ip or hostname is its HostName (or whose short hostname is the alias). Aliases that match no note get cards of their own, so everything the rofi menu listed is still reachable. It runs on every opening, so a vault edit shows next time with no cache to go stale. Each card shows ip:port, hostname, the Proxmox node and CT id, and only the actions its data allows: ssh per alias (a kitty tab, via ssh-tab, lifted from the rofi script), open for a url, copy for the address. Enter runs the first. The cards are laid out in rows of five inside a Flickable rather than a GridView, because a GridView gives every cell one height: a fixed height tall enough for the most aliased host left every other card half empty, and a short one clipped its chips. Each row now takes its busiest card's height. The grid keeps a 24px margin inside its clip, without which the first row's glow was cut off at the top. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>