aboutsummaryrefslogtreecommitdiff
path: root/src/lib.ts
AgeCommit message (Collapse)Author
2022-08-31Improve search suggestionsTerry Truong
Don't show multiple suggestions for the same node Prioritise common-names Place suggestions from prefix-search before substring-search Add coloring to search-string matched-part and canonical-name-part
2022-08-30Add node-popularity data for search-sugg orderingTerry Truong
Add Wikipedia pageview dumps to enwiki/pageview/ Add scripts to generate viewcount averages Update backend to sort search suggestions by popularity
2022-07-11Make backend dev server script serve the image filesTerry Truong
Previously, image files in backend/data/img were moved to, or symlinked from, public/. This needed to be changed before each build, otherwise vite would end up copying gigabytes of images.
2022-07-10Update project-level and client-side documentationTerry Truong
2022-07-10Add scrollbar colorsTerry Truong
2022-07-09Fix links-to-node failing on loadTerry Truong
Was setting SERVER_URL incorrectly Also changed server API to include 'excl' param
2022-07-09Replace CGI script with WSGI script and dev serverTerry Truong
2022-07-08Revert back to using vite-proxy for avoiding CORS issuesTerry Truong
2022-07-07Add auto-hiding of ancestors on leaf-clickTerry Truong
2022-07-07Add somewhat-dynamic font-sizes in headersTerry Truong
2022-07-06Use URLSearchParams instead of plain stringsTerry Truong
2022-07-05Add loading-from-server indicatorTerry Truong
2022-07-04Add help-info contentTerry Truong
2022-07-03Add SCollapsible componentTerry Truong
Also update info-modal source-info styling
2022-07-03Add styling, mainly for TileInfoModal and SettingsTerry Truong
2022-07-02Adjust tutorial contentTerry Truong
2022-07-01Account for compound-node info-lookup sub-name-denoted node absenceTerry Truong
Return a null entry in such cases, and have client indicate this with tile-info message.
2022-07-01Generate 3 reduced trees, keeping the original, and serve only thoseTerry Truong
Generate a 'trimmed' reduced tree instead of changing the original. Generate an 'images-only' reduced tree, and use it as the default. Combine 'picked' reduced tree code with that of other reduced trees. Adapt server API to allow selecting between more than 2 trees. Add client setting for selecting between 3 trees.
2022-06-30For large screens, place tutorial-pane on bottom-rightTerry Truong
2022-06-30Add ui-option touchDeviceTerry Truong
2022-06-29Add setting for disabling keyboard shortcutsTerry Truong
Avoid showing the setting on touch devices
2022-06-29Refactor to provide default-option access to non-top-level componentsTerry Truong
2022-06-29Avoid layout/ui-option saved-string name-collisionsTerry Truong
Assistively add OptionType type
2022-06-28Use double-taps on mobileTerry Truong
2022-06-28Add getImagePath() to lib.tsTerry Truong
2022-06-28Convert server code to CGI scriptTerry Truong
Also adjust server-client API, for clarity/consistency
2022-06-27Enable client directly using server URL, while avoiding CORS restrictionsTerry Truong
2022-06-26Clean up code in SearchModalTerry Truong
Also allow cycling to top/bottom of search suggestions
2022-06-26Refactor TileInfoModalTerry Truong
Also change server info-response format to include sub-node common-names
2022-06-25Clean up code in layout.ts and util.tsTerry Truong
2022-06-25Clean up code in App.vueTerry Truong
2022-06-25Reduce degrees-of-variance in options setTerry Truong
Also add size prop to IconButton
2022-06-25Convert UI options towards using bg/alt-color setTerry Truong
2022-06-24Adjust some option namesTerry Truong
2022-06-24Move utility functions into util.tsTerry Truong
2022-06-24Add type annotations for UI optionsTerry Truong
2022-06-23Make default settings screen-size dependentTerry Truong
Also, only save settings when the user has made a change.
2022-06-20Increase type-consistency via server-classes and client-typesTerry Truong
2022-06-17Avoid capitalisation of apostrophe-s in tile-namesTerry Truong
2022-05-27Add back code that dynamically gets scrollbar widthsTerry Truong
Was deleted due to apparent redundancy. Turns out it was still needed for overflown-node layout.
2022-05-27Use static-layout for ancestry-bar and tutorial-paneTerry Truong
2022-05-24Clean up tutorial disabled/trigger-action codeTerry Truong
2022-05-23Make tutorial disable features until introducedTerry Truong
Also add tutorial finish button and close icon
2022-03-28Split lib.ts into layout.ts and util.tsTerry Truong
2022-03-28Move TolNode code to tol.tsTerry Truong
2022-03-28Enable auto-mode to trigger expand/collapse-fail animationsTerry Truong
Done by sending a signal to a failed-operation's LayoutNode's Tile component via a watched property on LayoutNode. Also added code to prevent auto-mode from retrying a failed expand/collapse. Not an ideal solution, but signalling via LayoutNode is more general, and arguably cleaner, than the previous method of triggering fail animations by getting Tile to pass a callback upward as event data.
2022-03-28Make auto-mode more uniformly random and avoid undoing previous actionsTerry Truong
2022-03-27Add faster rect-layout algorithmTerry Truong
2022-03-26Make auto-mode current-node-based, with focus indicationTerry Truong
2022-03-26Highlight search resultTerry Truong