Skip to content

Link a resource's FileMaker code to the quotations archive - #2663

Closed
maebeale wants to merge 2 commits into
mainfrom
maebeale/resource-archive-link
Closed

maebeale wants to merge 2 commits into
mainfrom
maebeale/resource-archive-link

Conversation

@maebeale

@maebeale maebeale commented Oct 13, 2026 •

Copy link
Copy Markdown
Collaborator

🤖 suggested review level: 3 Read 📖 reuses the FileMaker code seam on Resource plus one admin form field

Admins editing a Leader spotlight can now see its FileMaker quotation ID and open the original quote, and a quote's archive page links back to its spotlight.

  • Field was missing. resources.filemaker_code was permitted but on no form, so the 13 bad codes found in prod couldn't be seen or fixed.
  • Mapping per ADR-0005: prod resource codes are quotation ids (115 of 116 on Leader spotlights / one Story).
  • Resource includes FilemakerCoded + filemaker_archived_in FmQuotation. Codes become comma-only, whitespace-free, and saved sorted.
  • Field sits in the form's existing admin box. Hint links each code; codes not in the archive show struck through.
  • fm_archives#show lists resources under "In the portal" (PORTAL_MODELS + filemaker_portal_link).
  • Dev seed stamps quotation codes on Leader spotlights first, so this is testable after ai/seed.

🤖 Generated with Claude Code

maebeale and others added 2 commits October 12, 2026 20:53
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Production resource codes are quotation ids on Leader spotlights, but the code had no
field on the resource form, so admins couldn't see it or fix the bad ones. The admin
box now shows it with archive links, and a quotation's archive page links back.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@maebeale
maebeale marked this pull request as ready for review October 13, 2026 01:25
@maebeale
maebeale force-pushed the maebeale/resource-archive-link branch 2 times, most recently from 1959770 to 0fcec33 Compare October 13, 2026 12:00
@maebeale maebeale closed this Oct 13, 2026
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