| Age | Commit message (Collapse) | Author |
|
|
|
Highlight current timeline when there are multiple
Make 'From Wikipedia' info-modal label grayer
make horizontal tick labels closer to mainline
|
|
|
|
|
|
For compatibility with older devices
|
|
For increasing compatibility with older devices
|
|
|
|
Change 'and onwards' symbol in timeline position label
Set scrollbar color
|
|
|
|
|
|
|
|
Document some variables coupled between client and server.
Add more term consistency ('unit', 'event density').
Make console messages more consistent.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Use rotation for horizontal timelines with long tick labels.
For other labels, look for overlap, and hide problematic ones.
Use darker text to indicate minor ticks instead of minor offset.
|
|
|
|
Fix server handling of 'incl' query param
Force update of idToEvent for certain searches
Adjust search-highlight-removal code to avoid pending-search case
Fix event-transition-skipping code in updateLayout() to handle quick repeated calls
|
|
Add tick display data to Tick objects
Add 'movement fail' divs
Add animateWithClass() utility function
Add animate-show-then-fade class
|
|
|
|
Add setting for showing such events
Fix searches not always avoiding filtered categories
|
|
Make desc field of EventInfo optional
Don't require desc in type=info result
Fix image not showing in info modal
|
|
|
|
|
|
|
|
|
|
|
|
For some reason, by updating elements of the idToPos map
individually, instead of assigning over the map itself, events
rendered from the map sometimes don't transition.
Also, skip transitions for events that would move across the
mainline.
|
|
|
|
Without this, for a MAX_DATE of, say 2000/1/1, at scale 1e9, events
after 1 AD won't be shown.
|
|
Without this, text tends to get accidentally selected when dragging
the timeline. Also, the tick labels are short enough that copying
them doesn't seem necessary, and event labels can be obtained via
the info modal.
|
|
Make timeline addition and searching use the current timeline.
Add keyboard controls for timeline panning, zooming, switching, opening, and closing.
Fix zoomTimeline() bug when not centering zoom on pointer.
|
|
Filter events in display and search suggestions.
Make server queries allow specification of multiple categories.
Make settings modal avoid disabling all categories.
|
|
Add saving, loading, default vals, and device-detection, to store.ts.
Add setting for hiding minor tick labels.
|
|
Use a 'searchTarget' prop of Timeline to trigger jumping to a search result.
Make TimeLine prioritise search result in layout.
When querying for events in App, check for a search target, and use incl= to retrieve it.
On server, for the incl= query param, don't include the event if outside specified range.
|
|
For now, use placeholder code for jumping to a search result.
Add db index for case-insensitive event title searching.
Make type=info requests accept title instead of ID (for looking up a searched-for title).
Make EventInfo contain an Event field (for showing info in search suggestions).
Add titleToEvent map in App, for use by SearchModal to look up searched-for titles.
Add keyboard shortcuts to open/close search and info modals.
|
|
Add InfoModal.vue, SCollapsible.vue, and icons.
Update Timeline.vue, App.vue, lib.ts, and store.ts to display modal.
For testing, send/use dummy EventInfo from server (still waiting on image downloads).
|
|
|
|
The conversion was originally intended to simply the code. But,
as events may span years before and after 4713 BC, the conversion
introduces the possibility of having both YearDates and CalDates
in the same event, which is unhelpful.
|
|
Store previous queried range to avoid repeated duplicate queries.
In onResize(), account for edge case of 'await' taking a long time.
|
|
For server query parameter range=date1.date2, exclude date2
Fix unnecessary calendar-to-year date conversion when building sql query
For frontend DateRangeTree class, rename has() to contains()
|
|
|
|
For testing while waiting for images to download
|
|
|
|
Remove time-span labels
Fix firstDate/lastDate being passed to TimelineState instead of startDate/endDate
|
|
Previously, skipping was only done upon vertical/horzontal
orientation change. This didn't address cases like maximising the
window without changing orientation, where pre-existing timeline
ticks would animate out-of-sync with new ones.
|
|
|