aboutsummaryrefslogtreecommitdiff
path: root/src/App.vue
AgeCommit message (Collapse)Author
2023-01-25Add intro modalTerry Truong
2023-01-25Tweak stylingTerry Truong
Highlight current timeline when there are multiple Make 'From Wikipedia' info-modal label grayer make horizontal tick labels closer to mainline
2023-01-24Adjust limits and timeoutsTerry Truong
Increase MAX_REQ_EVENTS in chrona.py. Without this, a large-screened client might request with a limit of 700 events, more than the previous server limit of 500, causing the client to display nothing. Reduce onEventDisplay() throttling timeout in App.vue, for faster user responsiveness.
2023-01-23Fix some timelines not updating on category change with multiple timelinesTerry Truong
2023-01-23Handle initialisation with wrong dimensions on some devicesTerry Truong
2023-01-23Replace ResizeObserver using width/height propsTerry Truong
For increasing compatibility with older devices
2023-01-22Add 'prototype' to titleTerry Truong
2023-01-22Add help contentTerry Truong
Change 'and onwards' symbol in timeline position label Set scrollbar color
2023-01-21Adjust coloring and spacingTerry Truong
2023-01-21Do more minor refactoringTerry Truong
Document some variables coupled between client and server. Add more term consistency ('unit', 'event density'). Make console messages more consistent.
2023-01-21Move general utility funcs into util.tsTerry Truong
2023-01-21Adjust frontend coding styleTerry Truong
2023-01-20Relayout events upon category changesTerry Truong
2023-01-18Adjust heuristic for limit on events requestedTerry Truong
2023-01-16Tailor request limit to screen sizeTerry Truong
2023-01-16Add makeThrottled*() function generatorsTerry Truong
2023-01-16Add loading indicatorTerry Truong
2023-01-16Add settings for hiding event lines and baselineTerry Truong
2023-01-16Make title clicks reset timelinesTerry Truong
2023-01-16Disable timeline-add button upon reaching maxTerry Truong
2023-01-15Reset events upon change of 'images only' settingTerry Truong
2023-01-14Add 'imgonly' server query paramTerry Truong
Remove script for deleting events in db without images
2023-01-06Keep track of a 'current' timelineTerry Truong
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.
2023-01-06Add help modalTerry Truong
2023-01-06Implement filtering by event categoriesTerry Truong
Filter events in display and search suggestions. Make server queries allow specification of multiple categories. Make settings modal avoid disabling all categories.
2023-01-06Add settings modalTerry Truong
Add saving, loading, default vals, and device-detection, to store.ts. Add setting for hiding minor tick labels.
2023-01-06Jump to and highlight search resultsTerry Truong
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.
2023-01-05Add partially-complete search modalTerry Truong
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.
2023-01-04Add event info modalTerry Truong
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).
2023-01-04Fix linear-time search of unit-count mapTerry Truong
2023-01-04Throttle server queriesTerry Truong
Store previous queried range to avoid repeated duplicate queries. In onResize(), account for edge case of 'await' taking a long time.
2023-01-03Query server when zoomed in enough even if within an already queried rangeTerry Truong
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()
2023-01-02Make baseline time-spans non-overlappingTerry Truong
Remove time-span labels Fix firstDate/lastDate being passed to TimelineState instead of startDate/endDate
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-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-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-20Move various constants to global storeTerry 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-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-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