oficina / meet Public

Empty states are heading and text on the page, with no dashed box

Paul, about Docs' empty list: "Can we get rid of these dotted line
views? I don't think they add anything." A dashed outline reads as a
place to drop a file, and an empty state accepts nothing.

This app serves its own copy of rastrillo's tokens.css. Its .rst-empty
rule now matches Fiesta 1.5.0's: transparent background, no border, and
the padding takes back the border's 1px so nothing moves. The words and
markup are untouched.

The pin does not move. This app is several rastrillo releases behind
and moving it is its own piece of work, so the vendored-copy test is
told the edit is deliberate (vendoredIsMine, or the pin dropped in
Meet). The next `go tool rastrillo doctor --fix` writes the same rule
and the exception can go.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev f87632e41ae30d80f64f994f2bf556199cdbfb2f parent 13e3383
2 files changed, +13 −5
  • internal/calls/static/tokens.css +7 −3
  • internal/callstest/vendored_test.go +6 −2

CI passed — run details

CI log
=== vet ===
go vet ./...
=== fmt ===
=== test ===
go test ./...
ok  	amadan.net/oficina/calls/callscore	(cached)
ok  	amadan.net/oficina/calls/cmd/calls	(cached)
?   	amadan.net/oficina/calls/cmd/calls-contract	[no test files]
ok  	amadan.net/oficina/calls/cmd/quality-summary	(cached)
ok  	amadan.net/oficina/calls/internal/calls	12.840s
ok  	amadan.net/oficina/calls/internal/calls/apns	(cached)
ok  	amadan.net/oficina/calls/internal/calls/hub	(cached)
?   	amadan.net/oficina/calls/internal/calls/icons	[no test files]
?   	amadan.net/oficina/calls/internal/calls/keymailtest	[no test files]
ok  	amadan.net/oficina/calls/internal/calls/relay	(cached)
ok  	amadan.net/oficina/calls/internal/calls/seal	(cached)
?   	amadan.net/oficina/calls/internal/calls/teamstate	[no test files]
ok  	amadan.net/oficina/calls/internal/callstest	12.367s
ok  	amadan.net/oficina/calls/protocol	(cached)
?   	amadan.net/oficina/calls/scripts/writeestilo	[no test files]
=== migration-check ===
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo migration check
rastrillo migration check: models and migrations agree
=== race ===
CGO_ENABLED=1 go test -race ./internal/...
ok  	amadan.net/oficina/calls/internal/calls	89.102s
ok  	amadan.net/oficina/calls/internal/calls/apns	(cached)
ok  	amadan.net/oficina/calls/internal/calls/hub	(cached)
?   	amadan.net/oficina/calls/internal/calls/icons	[no test files]
?   	amadan.net/oficina/calls/internal/calls/keymailtest	[no test files]
ok  	amadan.net/oficina/calls/internal/calls/relay	(cached)
ok  	amadan.net/oficina/calls/internal/calls/seal	(cached)
?   	amadan.net/oficina/calls/internal/calls/teamstate	[no test files]
ok  	amadan.net/oficina/calls/internal/callstest	48.208s
diff --git a/internal/calls/static/tokens.css b/internal/calls/static/tokens.css
index 6886854..2b45b8c 100644
--- a/internal/calls/static/tokens.css
+++ b/internal/calls/static/tokens.css
@@ -814,11 +814,15 @@ body {
}
/* ── empty-state ──────────────────────────────────────────────────── */
+/* No box: the heading and text sit on the page. A dashed outline reads
+ as a drop target, and an empty state accepts nothing. The radius
+ stays because 1.x keeps every 1.0 declaration; it paints nothing now.
+ The padding gains the 1px the border took, so nothing moves. */
.rst-empty, [rst-empty] {
- background: var(--rst-surface);
- border: 1px dashed var(--rst-line-strong);
+ background: transparent;
+ border: none;
border-radius: var(--rst-radius);
- padding: var(--rst-sp-6) var(--rst-sp-4);
+ padding: calc(var(--rst-sp-6) + 1px) calc(var(--rst-sp-4) + 1px);
text-align: center;
}
/* Class-based, so it styles the partial's <h2> without inheriting any
diff --git a/internal/callstest/vendored_test.go b/internal/callstest/vendored_test.go
index 332193a..6fbf2d8 100644
--- a/internal/callstest/vendored_test.go
+++ b/internal/callstest/vendored_test.go
@@ -20,9 +20,13 @@ import (
func TestVendoredAssetsMatchTheLibrary(t *testing.T) {
// theme.css is no longer day's: it is Calma with Calls' accent, from
// estilo (estilo AGENTS.md, decisions table, row 8), pinned below.
+ // tokens.css is not pinned: its .rst-empty rule is edited on purpose,
+ // with no dashed box, as Fiesta 1.5.0 draws it (rastrillo's branch
+ // empty-state-no-box). This app is pinned before that release; the
+ // next rastrillo doctor --fix writes the same rule, and the pin can
+ // come back then.
for name, lib := range map[string][]byte{
- "tokens.css": ui.TokensCSS(),
- "select.js": ui.SelectJS(),
+ "select.js": ui.SelectJS(),
} {
vendored, err := os.ReadFile(filepath.Join("..", "calls", "static", name))
if err != nil {