aboutsummaryrefslogtreecommitdiff
path: root/src/components
AgeCommit message (Collapse)Author
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-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-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
2022-10-14Allow small drags beyond min/max datesTerry Truong
2022-10-14Avoid displaying pre-JDN dates with sub-year scaleTerry Truong
2022-10-14Allow non-unit-aligned timelinesTerry Truong
- Remove paddedMinDate/etc - Add getMovedBounds(), Ticks, JDN_EPOCH - In lib.ts, add getScaleRatio(), and fix off-by-year bug in getMonthDiff()
2022-10-12Convert to represent dates instead of numbersTerry Truong
- 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
2022-10-11Fix regression where baseline timespans move on startupTerry Truong
2022-10-11Add global store, do general refactorTerry Truong
Resolve typescript issues Make terminology more consistent
2022-10-10Prevent span-regions in baseline becoming too small to seeTerry Truong
2022-10-10In Timeline.vue, make 'ticks' computedTerry Truong
2022-10-10Fix non-pointer-centered scrolling in horizontal modeTerry Truong
2022-10-10Skip initial timeline+baseline transitionsTerry Truong
2022-10-10Add timeline bound indicators to baselineTerry Truong
2022-10-10Add BaseLine.vueTerry Truong
2022-10-10Lengthen mainline to avoid gaps during resize transitionsTerry Truong
2022-10-10Refactor transition-skip code to use ResizeObserverTerry Truong
2022-10-10Animate timeline mainline along with ticks/labelsTerry Truong
2022-10-10Make TimeLine track own sizingTerry Truong
2022-10-10Add timeline add/remove functionalityTerry Truong
2022-10-10Add 'momentum' to draggingTerry Truong
2022-10-09Skip tick transitions on horz/vert swapTerry Truong
2022-10-09Add timeline horz/vert switchingTerry Truong
2022-10-09Fix regression of non-smooth tick-scroll-inTerry Truong
2022-10-09Enlargen ticks present in larger scaleTerry Truong
2022-10-09Add timeline draggingTerry Truong
Add basic code for timeline pinch-zooming
2022-10-09Add padding before/after min/max dateTerry Truong
Change marker for min/max date
2022-10-09Prevent endmost tick labels being clippedTerry Truong
2022-10-08Make timeline-zooming cursor-centeredTerry Truong
2022-10-08Add TimeLine.vueTerry Truong
Add timeline shift and zoom actions, and basic styling/animation Make App determine TimeLine dimensions (incl handling resizes)
2022-10-08Add title barTerry Truong
Add IconButton.vue and components/*Icon.vue files
2022-10-07Install client side toolsTerry Truong
Install and configure Vite, Vue, Tailwind, Pinia, Typescript, and ESLint Add basic framework files (index.html, App.vue, main.ts, etc) Update READMEs Add favicon, font, and LICENCE.txt