feat(7741): a record reference shows the title of what it cites, before its number
CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Successful in 12s
CI & Build / TypeScript typecheck (push) Successful in 32s
CI & Build / Python tests (push) Successful in 1m48s
CI & Build / integration (push) Successful in 2m7s
CI & Build / Build & push image (push) Successful in 36s
CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Successful in 12s
CI & Build / TypeScript typecheck (push) Successful in 32s
CI & Build / Python tests (push) Successful in 1m48s
CI & Build / integration (push) Successful in 2m7s
CI & Build / Build & push image (push) Successful in 36s
A cited #N, milestone N or rule N in a rendered body now reads as the record's title followed by its number, muted, so a reader knows what is cited without hovering. The stored text stays #N and the title is read at render: every existing record benefits and an edited title shows wherever it is cited. Titles past 60 characters are shortened at a word, with the full kind, title and status in the tooltip. A reference whose paragraph already names the record (a batch writes #9 "Step two") keeps the bare number, as does one the reader cannot open. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -164,6 +164,14 @@
|
||||
text-decoration-color: currentColor;
|
||||
}
|
||||
|
||||
/* Drawn with its title: the title reads as the link, the number after it is
|
||||
the citation, quieter and never split across lines. */
|
||||
.record-ref__id {
|
||||
color: var(--fs-text-secondary);
|
||||
font-size: 0.85em;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.record-ref:focus-visible {
|
||||
outline: none;
|
||||
box-shadow: var(--fs-focus-ring);
|
||||
|
||||
Reference in New Issue
Block a user