Skip to content

feat(data): handle sources and improve date parsing in collection documents - #419

Merged
david-allison merged 2 commits into
masterfrom
notes-citations-date-column
Aug 7, 2026
Merged

feat(data): handle sources and improve date parsing in collection documents#419
david-allison merged 2 commits into
masterfrom
notes-citations-date-column

Conversation

@david-allison

Copy link
Copy Markdown
Owner

No description provided.

@david-allison david-allison reopened this Aug 6, 2026
@david-allison
david-allison force-pushed the notes-citations-date-column branch from c516506 to 8268837 Compare August 6, 2026 20:53
david-allison and others added 2 commits August 7, 2026 07:32
A fragments collection's rows now carry their own "Date" cell -
"21/09/1901", day first like the citations, or a bare "1869" where a
book fragment has only a year - and it outranks the Notes citation,
which remains for data predating the column. The mirrored parser also
learns the citations the column was derived from: month-name dates
("Sep 21, 1901", "31st October 1912", comma slipped or not), and a
bare-year fallback that now requires the year to close the note, so a
"the 1904 reprint" aside can no longer re-date a 1901 fragment.

Data lands in manx-search-data ("every row dates itself"), whose lints
hold the column to the schema and to the citations beside it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Each row of a fragments collection now names the publication or work
it came from, with acronyms expanded (M.H. -> Mona's Herald); the data
lands in manx-search-data alongside the Date column. The cell is
mapped into DocumentLine.Source and serialized so clients can show
per-line provenance. No indexing or UI changes yet.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@david-allison
david-allison force-pushed the notes-citations-date-column branch from 8268837 to 50685f3 Compare August 7, 2026 06:32
@david-allison
david-allison merged commit 2cf1095 into master Aug 7, 2026
8 checks passed
@david-allison
david-allison deleted the notes-citations-date-column branch August 7, 2026 06:57
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