aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2022-12-30Fix small inconsistency between tick and event-line offsetsTerry Truong
2022-12-29Adjust event-count-indicator stylingTerry Truong
Use solid color, and skip transitions on screen size change
2022-12-29Make server send error for breaking unit-count limitTerry Truong
2022-12-29Include events in units partially within displayTerry Truong
2022-12-29Reliably show event-count-divs at ends of timelineTerry Truong
2022-12-29Show event-count data on timelineTerry Truong
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
2022-12-28Use scale-associated event scores for uniform spreadTerry Truong
Add 'dist' and 'scores' db tables Add 'scale' server query parameter (and remove 'excl') Disregard event-end when querying database
2022-12-28Don't re-query server for same range and scaleTerry Truong
2022-12-28Add max event-line angleTerry Truong
2022-12-27Fix end-tick shape being used for minor ticksTerry Truong
2022-12-27Avoid dashed event-line at scales at/above event-start precisionTerry Truong
2022-12-27Show dashed line if event has imprecise startTerry Truong
2022-12-26Enable showing events before startDate and after endDateTerry Truong
Add firstDate, firstOffset, and lastDate variables Fix usage of non-float idx val in getMinorTicks()
2022-12-26Make minor ticks more evenly spreadTerry Truong
Fix getNumDisplayUnits() not account for lack of 0 CE Add getNumSubUnits() in lib.ts
2022-12-26Represent ticks using Tick arrayTerry Truong
2022-12-26Remove redundant firstMajorIdx varTerry Truong
2022-12-25Add minor ticksTerry Truong
Add lower-bounds parameter to getScaleRatio()
2022-12-18Make BaseLine spans more visibleTerry Truong
Increase min-length to 3px, add margin around BaseLine Fix non-visibility on startup
2022-12-18Only show close button for multiple timelinesTerry Truong
Change close icon from '-' to 'x'
2022-12-18Add unit testingTerry Truong
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
2022-10-20Add gcal to client-side HistDatesTerry Truong
Add YearDate and CalDate Restrict non-calendar HistDates to years before 4713 BC
2022-10-20Add basic abbreviation for displayed datesTerry Truong
Remove scroll direction reversal in horizontal mode Fix some linting errors
2022-10-20Move various constants to global storeTerry Truong
2022-10-20Make event layouting incorporate date-alignment and popularityTerry Truong
2022-10-19Move event labels to below imagesTerry Truong
Add client-side REQ_EXCLS_LIMIT Rename posX and posY vars in idToPos computed
2022-10-19For vertical side-mainline display, place mainline on rightTerry Truong
2022-10-19Place event labels above imageTerry Truong
2022-10-19Fix bug where pendingReq wasn't always resetTerry Truong
2022-10-19Move mainline to side when display area is too smallTerry Truong
2022-10-19Add gradient to event linesTerry Truong
2022-10-19Prevent jumps in event line angle transitionsTerry Truong
Instead of directly using new angles, update old ones Also prevent event lines from 'detaching' from the mainline during transitions Also make events displayed in circles
2022-10-19Make layout method space-fillingTerry Truong
Also avoid redundant start/end date change events
2022-10-18Add basic grid-like event layoutTerry Truong
Add lines linking events to timeline Add scrim on event image
2022-10-18Serialise event-req handlingTerry Truong
Also skip unnecessary render on startup
2022-10-18Reduce event data after reaching a memory limitTerry Truong
2022-10-18Keep track of date ranges where server has no more resultsTerry Truong
- 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
2022-10-18Use shallowRef for event treeTerry Truong
- 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)
2022-10-18Use RBTree to store events, and lookup by date rangeTerry Truong
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.
2022-10-17Add rbtree.tsTerry Truong
2022-10-17Display event data from serverTerry Truong
Add queryServer() Add image display Add conversions from JSON responses to HistDate and HistEvent
2022-10-16Add basic display of placeholder eventsTerry Truong
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.
2022-10-15Pass TimeLine offsets to BaseLineTerry Truong
Add TimelineState
2022-10-15Make new timelines copy existing onesTerry Truong
2022-10-15Make stepDate() faster for high step countsTerry Truong
2022-10-15Prevent dragging cancellation when moving across elementsTerry Truong
2022-10-15Make BaseLine spans use TimeLine start/end offsetsTerry Truong
Change TimelineRange to hold years not HistDates
2022-10-15Prevent zooming in beyond min/max datesTerry Truong
2022-10-15Fix more bugs due to not excluding 0 CETerry Truong
2022-10-15On zooming out, align dates with start of units (eg: 1970-1-1 not 1970-2-4)Terry Truong
Make getMovedBounds() non-globals-dependent
2022-10-14Account for there being no year 0 CETerry Truong