headscale/hscontrol/templates
Kristoffer Dalby e00c899219 cmd, templates, integration: extract shared production constants
Constants the operator/test reader benefits from centralising.
Tests stay verbatim (the .golangci.yaml goconst tune skips them);
extraction here applies only where the same literal acts as
shared vocabulary across files.

  cmd/headscale/cli/strings.go (new)
    Cobra subcommand verbs and aliases shared by every list / show
    / new / delete / expire command across api_key, nodes, policy,
    preauthkeys, users — plus the Result / Created / Expiration
    column headers used in printOutput maps.

  hscontrol/templates/design.go
    cssBorderHS, cssBreakWord, cssCenter, cssOverflowWrap — shared
    styles applied across design.go, ping.go, register_confirm.go.
    spaceS already existed; switch raw "0.5rem" literals to it.

  integration/hsic/hsic.go
    binHeadscale, flagOutput, acceptJSON — names invoked across
    hsic.go and config.go.

  integration/tsic/tsic.go
    tailscaleBin — used across docker exec call sites.
2026-05-19 09:55:22 +02:00
..
apple.go hscontrol/templates: refactor to use CSS classes and embedded files 2025-11-12 08:28:12 -06:00
auth_error.go templates: add error box component and error page template 2026-04-13 17:23:47 +01:00
auth_success.go Update links to Tailscale documentation 2026-04-18 09:33:41 +02:00
auth_web.go templates: generalise auth templates for web and OIDC 2026-02-25 21:28:05 +01:00
design.go cmd, templates, integration: extract shared production constants 2026-05-19 09:55:22 +02:00
general.go templates: use CSS variables in all shared components 2026-04-13 17:23:47 +01:00
ping.go cmd, templates, integration: extract shared production constants 2026-05-19 09:55:22 +02:00
ping_test.go all: rephrase prose to fit codebase voice 2026-04-29 16:22:19 +01:00
register_confirm.go cmd, templates, integration: extract shared production constants 2026-05-19 09:55:22 +02:00
windows.go hscontrol/templates: refactor to use CSS classes and embedded files 2025-11-12 08:28:12 -06:00