aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-01-15Add visual indication of pan/zoom failureTerry Truong
Add tick display data to Tick objects Add 'movement fail' divs Add animateWithClass() utility function Add animate-show-then-fade class
2023-01-15Fix event lines not updating on certain resizesTerry Truong
2023-01-15Reset events upon change of 'images only' settingTerry Truong
2023-01-14Add img_dist and img_disp db tablesTerry Truong
Having separate event counts for events with images resolves some redundant server querying, and makes event count indicators moree representative.
2023-01-14Add 'imgonly' server query paramTerry Truong
Remove script for deleting events in db without images
2023-01-14Use ctgs= query param for type=info requestsTerry Truong
2023-01-14Allow showing events without imagesTerry Truong
Add setting for showing such events Fix searches not always avoiding filtered categories
2023-01-14Avoid search results that have a disabled categoryTerry Truong
2023-01-14Localise code for date displayTerry Truong
2023-01-14Don't combine start/end times in info modal displayTerry Truong
Combining them causes ambiguity between starts with imprecision and starts with ends.
2023-01-14Extend info modal date displayTerry Truong
Show combined descriptions for certain (imprecise) starts and ends. Conditionally display start and end separately.
2023-01-14Improve date display in info modalTerry Truong
Make desc field of EventInfo optional Don't require desc in type=info result Fix image not showing in info modal
2023-01-13Re-enable imagesTerry Truong
2023-01-09Reverse scroll direction for horizontal panningTerry Truong
2023-01-07Do minor refactor of panning codeTerry Truong
2023-01-07Add hover text for event elementsTerry Truong
2023-01-07Mark search results with box-shadowTerry Truong
2023-01-07Fix events sometimes not transitioningTerry Truong
For some reason, by updating elements of the idToPos map individually, instead of assigning over the map itself, events rendered from the map sometimes don't transition. Also, skip transitions for events that would move across the mainline.
2023-01-07Avoid occasional inability to zoom in with pointer beyond endsTerry Truong
2023-01-07Show events in unit after MAX_DATE tickTerry Truong
Without this, for a MAX_DATE of, say 2000/1/1, at scale 1e9, events after 1 AD won't be shown.
2023-01-07Prevent selection of tick/event label textTerry Truong
Without this, text tends to get accidentally selected when dragging the timeline. Also, the tick labels are short enough that copying them doesn't seem necessary, and event labels can be obtained via the info modal.
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-04Fix out-of-date docs and tests after adding 'unit' to 'event_disp'Terry Truong
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 selection of event/label textTerry Truong
2023-01-04Add 'unit' column to event_disp tableTerry Truong
Use 'unit' to narrow search of 'event_disp' values Simplify SQL queries to use 'unit' instead of 'start' and 'fmt' Fix minor HistDate documentation error
2023-01-04Add database index events_id_start_idxTerry Truong
2023-01-04Remove server-side conversion of YearDates >4713 BC to CalDatesTerry Truong
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.
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-03Fix event lines occasionally being off by one unitTerry Truong
2023-01-03Temporarily disable sending/showing event imagesTerry Truong
For testing while waiting for images to download
2023-01-03Merge branch 'frontend-update' into backend-updateTerry Truong
2023-01-03Extend gen_pageview_data.py to handle problematic linesTerry Truong
2023-01-02Make baseline time-spans non-overlappingTerry Truong
Remove time-span labels Fix firstDate/lastDate being passed to TimelineState instead of startDate/endDate
2023-01-02Skip Timeline transitions for all resize eventsTerry Truong
Previously, skipping was only done upon vertical/horzontal orientation change. This didn't address cases like maximising the window without changing orientation, where pre-existing timeline ticks would animate out-of-sync with new ones.
2023-01-02Visually distinguish 'discover' eventsTerry Truong
2023-01-02Only generate square imagesTerry Truong
2023-01-02Adjust wikidata event specifiersTerry Truong
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
2022-12-30Generate event_disp data before image-generationTerry Truong
Make gen_disp_data.py delete non-displayable events Make reduce_event_data.py also delete from 'dist' and 'event_disp' Remove MAX_IMGS_PER_CTG from enwiki/gen_img_data.py Make gen_desc_data.py include events without images
2022-12-30Temp fix for tsc not recognising Array.findLast()Terry Truong
2022-12-30Add timeline position labelTerry Truong
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