Files
l0ng-ai 2d2cdb851d feat(forwards): switch a port forward off instead of deleting it (#437, #439)
A forwarding rule could be added and removed, and nothing in between. A
service that is only up part of the day meant deleting the rule and typing it
in again, twice a day, forever.

- A saved rule carries an `enabled` flag. Off keeps the rule exactly as it was
  written and simply does not offer it to the far side. The settings row leads
  with the switch — it is the one control that decides whether the rest of the
  row means anything — and fades when it is off. The section header counts what
  the connection will open and what it will not.
- A live forward can be switched off from the Forwards panel. The far side has
  no such thing as a paused listener, so this is a remove that keeps the rule:
  the row stays, faded, with the switch that puts it back always visible. A rule
  whose port has since been taken stays off and says why instead of vanishing.
- Opening Add no longer greets you with a red line. The panel seeds the bind
  host with 127.0.0.1, and the blank-form check read that as typing, so every
  Add opened under a complaint about a form nobody had touched.
- The address field on the SSH page's empty state was a 24px pill: `flex_1`
  under a parent chain with no width of its own resolves against nothing. It
  declares its width now, and the placeholder that explains the page is
  readable again.
2026-08-15 00:38:21 +08:00
..