| Age | Commit message (Collapse) | Author |
|
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
|
|
|
|
|