feat(data): handle sources and improve date parsing in collection documents - #419
Merged
Conversation
david-allison
force-pushed
the
notes-citations-date-column
branch
from
August 6, 2026 20:53
c516506 to
8268837
Compare
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
force-pushed
the
notes-citations-date-column
branch
from
August 7, 2026 06:32
8268837 to
50685f3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.