| Age | Commit message (Collapse) | Author |
|
Add DEPLOY.md and prebuild.sh
Update READMEs
Change project name
|
|
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
|
|
|
|
Show combined descriptions for certain (imprecise) starts and ends.
Conditionally display start and end separately.
|
|
Make desc field of EventInfo optional
Don't require desc in type=info result
Fix image not showing in info modal
|
|
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.
|
|
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()
|
|
|
|
Remove time-span labels
Fix firstDate/lastDate being passed to TimelineState instead of startDate/endDate
|
|
Do minor refactors:
- Swap fmt=1 and fmt=2 in 'events' table
- Make documentation consistently use BC and AD
- import argparse at start of scripts
|
|
|
|
|
|
|
|
Backend:
Send event-count data to client in EventResponse instance
Fix certain usages of gregorian calendar instead of julian
Move HistDate, SCALES, etc, into cal.py
Frontend:
Make App update a unitCountMaps object using event-count data from server
Make TimeLine show visual indication of unit counts
Add showEventCounts option to store
Update unit tests
|
|
|
|
Fix getNumDisplayUnits() not account for lack of 0 CE
Add getNumSubUnits() in lib.ts
|
|
Add lower-bounds parameter to getScaleRatio()
|
|
Install vitest, happy-dom, and @testing-library/vue
Add lib.ts and rbtree.ts tests in tests/
Modularise some date-range-managing code from App.vue into lib.ts
|
|
Add YearDate and CalDate
Restrict non-calendar HistDates to years before 4713 BC
|
|
Remove scroll direction reversal in horizontal mode
Fix some linting errors
|
|
Also skip unnecessary render on startup
|
|
- In TimeLine.vue, separate idToEvent and idToPos, to avoid sending event-req
while a previous one is still waiting on a server response
- In histDate, add cmp() method
|
|
Currently produces TypeErrors from rbtree.ts's single_rotate() saying
'save is null'. This also happens when using minimally-adapted rbtree.js.
Not sure how to resolve this.
|
|
Add queryServer()
Add image display
Add conversions from JSON responses to HistDate and HistEvent
|
|
Make App hold an event map, passing it to TimeLine children, which use it to
display events. A TimeLine emits an 'events-req' if more events in their range
could be displayed, which may cause App to add placeholder events to the map.
|
|
Add TimelineState
|
|
|
|
|
|
Change TimelineRange to hold years not HistDates
|
|
|
|
Make getMovedBounds() non-globals-dependent
|
|
|
|
|
|
- Remove paddedMinDate/etc
- Add getMovedBounds(), Ticks, JDN_EPOCH
- In lib.ts, add getScaleRatio(), and fix off-by-year bug in getMonthDiff()
|
|
- Add HistDate class
- Adapt TimeLine and BaseLine to work with HistDates
- For own-size-watching components, add onMounted() hook to run before
ResizeObserver is set up
|
|
Resolve typescript issues
Make terminology more consistent
|
|
|
|
|