Skip to content

Point removed issue references at live ones - #280

Open
NathanTarbert wants to merge 1 commit into
mainfrom
chore/repoint-removed-issue-refs
Open

NathanTarbert wants to merge 1 commit into
mainfrom
chore/repoint-removed-issue-refs

Conversation

@NathanTarbert

Copy link
Copy Markdown
Collaborator

Two strings on the templates screen told readers to see an issue that no longer exists, so the explanation dead-ended at a 404. They now point at #279, which tracks the same gap — saved overrides never reach outgoing email.

The middleware.ts comment and its test identified the ordering guarantee by issue number rather than by behaviour. Both now state it directly, which reads better anyway and does not depend on an issue surviving. Same change for the template test docblocks and describe names.

What changed

  • apps/web/src/app/settings/templates/page.tsx — the save toast and the page description now cite Saved template overrides never reach outgoing email #279
  • apps/web/src/middleware.ts — the static-asset allowlist comment describes the guarantee rather than citing an issue
  • apps/web/src/__tests__/middleware-security.test.ts — docblock and describe name, same treatment
  • apps/web/src/__tests__/templates-api.test.ts and templates-page.test.tsx — nine docblocks and describe names

No behaviour changes; strings and comments only. No test asserts either changed string.

Checklist

  • No dead issue references remain under apps/ or packages/
  • User-facing copy points at a live issue
  • Full suite run — strings verified unasserted by grep, suite not executed

Two strings in the templates screen sent readers to an issue that no
longer exists. They now point at #279, which tracks the same gap:
saved overrides never reach outgoing email.

The middleware comment and its test described the ordering guarantee by
issue number rather than by behaviour, so they now state it directly.
Same for the template test docblocks and describe names.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant