aboutsummaryrefslogtreecommitdiff
path: root/src/components/SearchModal.vue
AgeCommit message (Collapse)Author
2023-01-29Adjust frontend coding styleTerry Truong
Add line spacing and section comments Fix 'Last updated' line in help modal being shown despite overflow
2022-09-14Use Pinia to store user settings, palette colors, etcTerry Truong
Move uiOpts and lytOpts to store.ts Add 'const's to *.ts
2022-09-13Use Vue Composition API and ESLintTerry Truong
2022-09-11Add backend unit testsTerry Truong
- Add unit testing code in backend/tests/ - Change to snake-case for script/file/directory names - Use os.path.join() instead of '/' - Refactor script code into function defs and a main-guard - Make global vars all-caps Some fixes: - For getting descriptions, some wiki redirects weren't properly resolved - Linked images were sub-optimally propagated - Generation of reduced trees assumed a wiki-id association implied a description - Tilo.py had potential null dereferences by not always using a reduced node set - EOL image downloading didn't properly wait for all threads to end when finishing
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-07-12Increase adherence to Vue's Style GuideTerry Truong
Make components have multi-word names. Make all <v-for>s have a 'key' attribute. Use scoped styles. Also add sourcemap generation.
2022-07-10Update project-level and client-side documentationTerry Truong
2022-07-09Fix search suggestions wrong-text on mobileTerry Truong
Turns out the input wasn't converted to lowercase before being matched with suggestion data, and this was more noticeable on mobile due to auto-capitalisation
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-08Send activeRoot to server, for reducing toroot response sizesTerry Truong
2022-07-06Use URLSearchParams instead of plain stringsTerry Truong
2022-07-05Remove some redundant display:block specifiersTerry Truong
2022-07-05Add loading-from-server indicatorTerry Truong
2022-07-03Add styling, mainly for TileInfoModal and SettingsTerry Truong
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-30Avoid displaying empty img-src infoTerry Truong
2022-06-30Fix search-bar mode-checkbox inverted-condition bugTerry Truong
2022-06-29Make search-bar animate-mode-control more setting-indicativeTerry Truong
2022-06-29Refactor to provide default-option access to non-top-level componentsTerry Truong
2022-06-28Fix search-suggestion substring-highlight using overly-new inputTerry 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-27Move transition/animation CSS classes to index.cssTerry Truong
2022-06-27Add getServerResponse()Terry Truong
2022-06-27In .vue files, move <template> sections to topTerry Truong
2022-06-26Auto-select first search-suggestion resultTerry Truong
2022-06-26Clean up code in SearchModalTerry Truong
Also allow cycling to top/bottom of search suggestions
2022-06-25Fix settings not saving if closed by other_modal/etcTerry Truong
2022-06-25Reduce degrees-of-variance in options setTerry Truong
Also add size prop to IconButton
2022-06-24Move utility functions into util.tsTerry Truong
2022-06-24Add type annotations for UI optionsTerry Truong
2022-06-24Fix search-bar mode-change button not saving settingTerry Truong
Also fix jump-to-search-result not flashing node in some cases.
2022-06-24Add jump-to-searched-node button to search-barTerry Truong
2022-06-23Fix error upon empty-string searchTerry Truong
2022-06-23In search results, make matched substrings boldTerry Truong
2022-06-23Make suggestion-limit client-configurableTerry Truong
2022-06-23Adjust component event namesTerry Truong
2022-06-20Increase type-consistency via server-classes and client-typesTerry Truong
2022-05-27Make search-suggestion-requests and resize-handling initially-immediateTerry Truong
2022-05-27Use static-layout for ancestry-bar and tutorial-paneTerry Truong
2022-05-24Make search suggestions appear during long user-input runsTerry Truong
2022-05-24Upon expand-to-view, remove ancestor other-descendants from layout treeTerry Truong
2022-05-17Make reduced tree generation check non-alt-namesTerry Truong
2022-05-17Make search suggestions include non-alt-namesTerry Truong
2022-05-12Enable info-display for search suggestionsTerry Truong
Add info-icon to SearchModal, sending event when clicked. Change App to allow info-modal display on top of search-modal. Also make info-icon-click events send a node name instead of a LayoutNode, and make TileInfoModal and server get/send additional node info, seeing as the client might not have info about the node's common name, tips, etc, anymore.
2022-05-12Add reduced-tree data generation+serving+querying+settingTerry Truong
Add genReducedTreeData.py, which generates a reduced_nodes table. Adjust server to serve that data for queries with a tree=reduced query param. Adjust client to query for that data depending on a useReducedTree variable. Add a SettingsPane setting to change that useReducedTree variable.
2022-05-11Use prefix-search with ranking-by-lengthTerry Truong
2022-05-04Make search-enter use user input, instead of first matchTerry Truong
2022-05-04Prevent search-suggestion-request delay for initial inputsTerry Truong
2022-05-04Add scripts for obtaining/sending/displaying wikipedia descriptionsTerry Truong
Add backend/data/enwiki/ directory containing scripts and instructive READMEs. Adjust some other scripts to generate 'eol_ids' sqlite table separate from 'names'. Make server respond to /data/desc requests, and have client TileInfo component display response data. Also adjust .gitignore entries to be root-relative.