| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
Remove script for deleting events in db without images
|
|
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).
|
|
|
|
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()
|
|
Remove time-span labels
Fix firstDate/lastDate being passed to TimelineState instead of startDate/endDate
|
|
Use solid color, and skip transitions on screen size change
|
|
|
|
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
|
|
Add 'dist' and 'scores' db tables
Add 'scale' server query parameter (and remove 'excl')
Disregard event-end when querying database
|
|
|
|
Increase min-length to 3px, add margin around BaseLine
Fix non-visibility on startup
|
|
Change close icon from '-' to 'x'
|
|
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
|
|
|
|
Add client-side REQ_EXCLS_LIMIT
Rename posX and posY vars in idToPos computed
|
|
|
|
|
|
|
|
Add lines linking events to timeline
Add scrim on event image
|
|
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
|
|
- Fixes 'saved is null' errors
- De-lint rbtree.ts
- Add rbtree_shallow_copy(), for triggering changes upon modifying the
eventTree (using triggerRef doesn't work)
|
|
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
|
|
- 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|