Skip to content

Affiliations index: filter by what the FileMaker import did and its end-date source - #3022

Draft
maebeale wants to merge 17 commits into
mainfrom
maebeale/affiliations-index-import-filters
Draft

maebeale wants to merge 17 commits into
mainfrom
maebeale/affiliations-index-import-filters

Conversation

@maebeale

@maebeale maebeale commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

🤖 suggested review level: 3 Read 📖 two filter scopes + a row badge on the affiliations index, plus a shared constants module

Staff spot-checking the FileMaker Personnel import can now find the rows it created vs. linked, and the end dates it inferred (Dec 31 stand-ins especially).

Stacked on #3013 — review that first; this retargets to main once it merges.

  • What the import did — created / linked to an existing affiliation / untouched
    • Created = a create.affiliation event tagged source: fm_import_personnel
    • Linked = has the "FileMaker import" comment but no such event
  • Import end date from — notes, never started, project closed, own last log, last saved, project's last log, Dec 31 stand-in
    • Matched against the exact phrase the importer writes in its comment
    • Each imported row shows the source as a small badge under its end date
  • More filters drawer — the two import filters, plus Has comments and Primary contact, collapse behind it (shared events/filter_bar shell); it opens when one of them is set
  • AffiliationServices::PersonnelImportNote owns that wording (topic, run source, event name, end-date phrases)

Features seed (optional)

  • Added a features seed (optional)

UI Testing Checklist

  • With import data loaded, each "What the import did" option narrows the list
  • "Import end date from" options match the badge shown on each row

🤖 Generated with Claude Code

maebeale and others added 7 commits November 18, 2026 22:07
… place

Staff are spot-checking the FileMaker affiliation imports and need every FA and
JA in one sortable, filterable list, with dates, the legacy inactive flag, and the
linked event editable in place (each change logged as activity).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Another app can already hold a workspace's assigned port (or its Vite port +1),
so start at the preferred port and move up until both are free.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ave noted

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…padding

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The single entry ran past the 300-character summary limit, which failed the seed
import specs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Falls back to the person's facilitator-training registrations when the affiliation
isn't linked to one, since most hand-entered and imported rows aren't.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@maebeale
maebeale force-pushed the maebeale/affiliations-index-import-filters branch from d72d40d to a3a5d13 Compare November 19, 2026 12:52
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@maebeale
maebeale force-pushed the maebeale/affiliations-index-import-filters branch from a3a5d13 to a537cf1 Compare November 19, 2026 16:33
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@maebeale
maebeale force-pushed the maebeale/affiliations-index-import-filters branch from a537cf1 to 1cb7138 Compare November 19, 2026 16:43
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@maebeale
maebeale force-pushed the maebeale/affiliations-index-import-filters branch from 1cb7138 to 0005797 Compare November 19, 2026 16:46
… on a laptop

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@maebeale
maebeale force-pushed the maebeale/affiliations-index-import-filters branch from 0005797 to 7dfd10f Compare November 19, 2026 16:50
…atest comment inline

Also lists organization before person, makes the inactive flag a switch, and strikes
through ended rows the way the affiliation editor does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@maebeale
maebeale force-pushed the maebeale/affiliations-index-import-filters branch from 7dfd10f to 420f4f4 Compare November 19, 2026 16:58
maebeale and others added 4 commits November 19, 2026 12:05
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Matches the registrant and attendee filters, and gives follow-up filters the
More filters drawer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… and where it took end dates

Staff spot-checking the import need to find the rows it created vs. linked and the
end dates it inferred (Dec 31 stand-ins especially). The importer's wording moves
into PersonnelImportNote so the importer and these filters share one copy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…drawer

Keeps the affiliations filters to two rows, opening the drawer when one of these
is already set.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@maebeale
maebeale force-pushed the maebeale/affiliations-index-import-filters branch from 420f4f4 to 55dfff9 Compare November 19, 2026 17:11
…y into More filters

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Base automatically changed from maebeale/affiliations-index-admin-view to main November 19, 2026 17:20
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