Unlimited events with single search input - #3
Merged
Conversation
Introduces three precision levels (year → month → day) where the lowest precision event determines the granularity for the whole timeline, matching the existing years-only behavior. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace per-event input rows with a single search input and move remove/toggle-death controls to timeline markers. Remove the sentence feature entirely (including OG/metadata generation) in favor of a simpler ShareToolbar with copy-link, share, and download buttons. - Remove 3-event cap in url-params - Single EventAutocomplete always visible; birth/death choice shown inline in dropdown for persons with a death date - Add remove (×) and birth/death toggle buttons to TimelineMarker, revealed on hover, hidden during export - Use event-key-based callbacks so markers work correctly regardless of chronological sort order - Replace Sentence component with ShareToolbar - Use event display names for page title and OG image heading - Delete sentence.ts, Sentence.tsx, and related tests/styles Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
After render, measure info card bounding rects and greedily assign overlapping cards to an "above" track. Uses absolute positioning so the circle stays aligned with the timeline line. Disabled on mobile (vertical layout) where overlap isn't an issue. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Editable title field (placeholder "my timeline") in the export area, styled as inline serif text with auto-resizing textarea for wrapping - Title persisted in URL via ?t= query param, used in sharing, native share dialog, page metadata, OG image heading, and PNG export - Now marker removable with 2+ events via × button; re-add via calendar icon in ShareToolbar; state persisted via &now=0 param - Update heading to "Build your own timeline" Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Set height to 0 before reading scrollHeight so the textarea can grow beyond its current size. Use ResizeObserver instead of window resize listener for reliable re-measurement on layout changes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Remove and toggle-death buttons use hover-reveal on desktop but touch devices have no hover, so make them always visible at the mobile breakpoint. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
✅ Deploy Preview for closerintimewiki ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
…atermark Replace pencil emoji with outlined MUI edit icon in the editable title placeholder. Hide the title entirely from PNG export when empty (it's just a placeholder). Add "wiki:closerintime" watermark visible only in exported PNG images. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

Summary
?t=URL param, used in sharing, metadata, OG image, and PNG export&now=0Test plan
🤖 Generated with Claude Code