aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed/js/display-generator.js
Commit message (Collapse)AuthorAge
* Fix frequency tags (#1080)toasted-nutbread2020-12-05
| | | | | | | | | * Rename term-frequency to tag-frequency * Move tag styles * Expand * Use separate templates for terms vs kanji
* JapaneseUtil normalization (#1076)toasted-nutbread2020-11-29
| | | | | * Use JapaneseUtil as a class which is manually instantiated * Use alias function for toKana
* Display style updates (#1072)toasted-nutbread2020-11-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Add variables for tag styles * Add variable for compact list separator * Improve compactness of pitch accents * Improve kanji link styles * Improve coloring for lists * Move styles * Update styles for lists * Move conditional styles * Simplify definitions * Remove unused styles * Cleanup * Use strings for dataset properties * Don't always collapse pitch accents
* Improve html templates (#1061)toasted-nutbread2020-11-24
| | | | | | | | | | | * Add template pre-processing * Remove whitespace * Add labels * Reuse tag template for search tags * Add space
* Frequency display improvements (#1060)toasted-nutbread2020-11-24
| | | | | | | * Hide redundant frequencies * Add dataset counters for unique expressions/readings * Update frequency display to include disambiguations
* More display updates (#1050)toasted-nutbread2020-11-21
| | | | | | | | | | | * Use grid for layout * Add data-count attribute * Fix scroll issues during focus * Add index to entries * Simplify audio playback
* Display updates (#1029)toasted-nutbread2020-11-14
| | | | | | | | | | | | | * Simplify expression creation * Add attribute indicating whether the reading is the same or not * Update kanji debug info * Remove some unnecessary null checks * Simplify iterable check * Update float and search HTML to be more consistent
* Display updates (#1024)toasted-nutbread2020-11-13
| | | | | * Update display generation to use new format assumptions * Simplify how debug information is presented
* Compact tags refactor (#1021)toasted-nutbread2020-11-12
| | | | | | | | | | | | | * Update translator to flag redundant tags instead of remove * Update how compact tags are shown in the popup * Pass compactTags option to note builder * Update options templates * Add options upgrade * Add options upgrade test
* Pitch accents preview (#987)toasted-nutbread2020-11-03
| | | | | * Add public preparePitchAccents function to DisplayGenerator * Add pitch accents preview HTML, CSS, and JS
* Fix display issues (#984)toasted-nutbread2020-11-01
| | | | | | | | | | | | | | | * Remove unused function * Update expresionMulti detection * Simplify kanji early escape * Simplify frequency/pitch data creation * Update implementation of _buildTermMeta * Update how pitch accents sources are collected * Remove old _buildTermMeta
* Template handler update (#896)toasted-nutbread2020-10-07
| | | | | | | | | * Rename TemplateHandler to HtmlTemplateCollection * Rename _templateHandler to _templates * Allow creation from both string and element * Simplify setup of templates, don't throw errors on invalid ID
* More display refactoring (#697)toasted-nutbread2020-08-01
| | | | | | | | | | | | | | | | | | | * Remove some unnecessary _setQuery calls * Add support for forcing the query parser to be visible or hidden * Move _setEventListenersActive calls * Remove URL for kanji links * Refactor _setContentTermsOrKanji * Move search query text assignment into Display * Move title updates into Display * Move popup close calls * Prevent infinite loop of extension unload events
* Dictionary data utility class (#698)toasted-nutbread2020-07-30
| | | | | * Create utility class for helping format dictionary data * Change format
* API refactor (#532)toasted-nutbread2020-05-24
| | | | | | | | | | | | | * Convert api.js into a class instance * Use new api.* functions * Fix missing binds * Group functions with progress callbacks together * Change style * Fix API override not working
* Add support for displaying imagestoasted-nutbread2020-04-18
|
* Merge pull request #438 from toasted-nutbread/display-generator-refactoringtoasted-nutbread2020-04-11
|\ | | | | Display generator refactoring
| * Simplify access to details fields in createTermEntrytoasted-nutbread2020-04-09
| |
| * Update how termTags is passed to _createTermExpressiontoasted-nutbread2020-04-09
| |
| * Rename "only" to "disambiguation" to match naming convention used for pitch ↵toasted-nutbread2020-04-09
| | | | | | | | accents
| * Update _appendMultiple to not use a fallbacktoasted-nutbread2020-04-09
| |
| * Organizetoasted-nutbread2020-04-09
| |
| * Mark functions as privatetoasted-nutbread2020-04-09
| |
| * Remove staticstoasted-nutbread2020-04-09
| |
| * Remove data-multi assignmentstoasted-nutbread2020-04-09
| |
* | Update license author field to broader to explicitly reflect thatAlex Yatskov2020-04-10
|/ | | | | Yomichan is an ongoing community project. It really does take a village, and everyone who contributes code owns a part of it :)
* Include readings in disambiguationstoasted-nutbread2020-03-29
|
* Change namestoasted-nutbread2020-03-29
|
* Update how pitch accent expressions are disambiguatedtoasted-nutbread2020-03-28
|
* Update stylestoasted-nutbread2020-03-28
|
* Move Japanese utility functions out of display-generator.jstoasted-nutbread2020-03-28
|
* Add support for accent graphtoasted-nutbread2020-03-28
|
* Add support for displaying pitch accentstoasted-nutbread2020-03-28
|
* Add metadata for unique expression counttoasted-nutbread2020-03-28
|
* Add support for different sections for term contenttoasted-nutbread2020-03-28
|
* Update _appendMultiple to support general iterablestoasted-nutbread2020-03-28
|
* Replace DisplayGenerator._isCharacterKanji with jp.isCodePointKanjitoasted-nutbread2020-03-21
|
* Update global declarationstoasted-nutbread2020-03-10
|
* Replace charCodeAt and fromCharCode with codePointAt and fromCodePointtoasted-nutbread2020-03-09
|
* Remove unusedtoasted-nutbread2020-02-23
|
* Use TemplateHandler for DisplayGeneratortoasted-nutbread2020-02-23
|
* Merge pull request #357 from siikamiika/simplify-display-preparesiikamiika2020-02-14
|\ | | | | Simplify display prepare
| * simplify DisplayGenerator initializationsiikamiika2020-02-13
| |
* | Change no-undef from off to errortoasted-nutbread2020-02-11
|/
* Assign _isInitializedtoasted-nutbread2020-02-10
|
* add scannable tags for expression and readingsiikamiika2020-02-02
|
* Fix term tags not always being displayedtoasted-nutbread2020-02-01
|
* Fix double clicking reason and glossary texttoasted-nutbread2020-02-01
|
* Fix tag double clicktoasted-nutbread2020-02-01
|
* fix term reason selectorsiikamiika2020-01-19
|