summaryrefslogtreecommitdiff
path: root/ext/mixed
Commit message (Collapse)AuthorAge
* Update term tags display and fix a layout issue (#1208)toasted-nutbread2021-01-09
| | | | | | | * Fix layout issue with term expression display * Update display of term tags * Update tag notification to include disambiguation information
* Improve frequency display (#1209)toasted-nutbread2021-01-09
| | | | | | | | | * Disable old frequencies * Update layout * Implement new frequency display * Update count info
* Core refactor (#1207)toasted-nutbread2021-01-07
| | | | | | | | | | | | | | | | | | | | | | | | | * Copy set intersection functions * Remove unused functions * Simplify url check * Remove parseUrl * Simplify stringReverse * Remove hasOwn due to infrequent use * Rename errorToJson/jsonToError to de/serializeError For clarity on intended use. * Fix time argument on timeout * Add missing return value * Throw an error for unexpected argument values * Add documentation comments
* Update DictionaryDataUtil to be able to be used in a sandbox frame (#1206)toasted-nutbread2021-01-07
|
* Refactor anki note generation (#1202)toasted-nutbread2021-01-03
| | | | | | | * Create _injectAnkiNoteMedia function * Remove unused code path * Simplify modeOptions
* CSS lint (#1201)toasted-nutbread2021-01-03
| | | | | | | | | | | | | * Use single quotes instead of double * Install stylelint * Set up config * Update package/tests * Fix lint issues * Update CSS rules
* Translator regex replacements (#1199)toasted-nutbread2021-01-03
| | | | | | | | | | | | | | | | | | | * Add support for regex replacements during the translation process * Allow assignment of textReplacements * Rename * Set up test data * Write expected data * Set up options * Prevent infinite loop if regex matches empty string * Implement setting controller * Add support for testing pattern replacements
* Update copyright year (#1194)toasted-nutbread2021-01-01
| | | | | * Update copyright year * Remove redundant Author info
* Improve contrast of dark theme tag text color (#1192)toasted-nutbread2020-12-31
|
* Fix kanji selection area being on top of tags (#1191)toasted-nutbread2020-12-31
|
* Fix some issues with the display layout (#1190)toasted-nutbread2020-12-31
|
* Improve tag scanning behaviour (#1189)toasted-nutbread2020-12-31
| | | | | * Update include/exclude selectors for Display._definitionTextScanner * Fix missing condition
* Fix display notification close button style (#1185)toasted-nutbread2020-12-30
|
* Fix overlay panel animations for different action bar locations (#1183)toasted-nutbread2020-12-30
|
* Display profile panel (#1178)toasted-nutbread2020-12-29
| | | | | | | | | | | * Expose Display.displayGenerator * Update search when assigning options context * Don't clear selection unless the popup changes * Merge search styles * Create panel for changing the profile
* Fix button styles for action bar buttons (#1177)toasted-nutbread2020-12-29
| | | | | * Fix button styles for action bar buttons * Fix button colors
* Fix various issues with some styles (#1176)toasted-nutbread2020-12-29
|
* Split material css (#1175)toasted-nutbread2020-12-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Separate material styles into a separate file * Improve action button styles * Rename --font-size-default to --font-size * Remove px units * Remove some material vars * Fix some variable names * Define variables * Remove --shadow-vertical * Revert name change * Move var * Rename var * Update vars * Remove redundant vars * Update search styles * Update styles * Update colors * Update variable names * Include material.css on float.html page
* Rename PopupElement to PanelElement; split classes into separate files (#1173)toasted-nutbread2020-12-29
|
* Improve crispness of icons used on settings v2 page (#1170)toasted-nutbread2020-12-28
|
* Improve document focus control (#1167)toasted-nutbread2020-12-28
| | | | | | | | | * Improve styles for #content-scroll-focus * Create new class to manage and control document focus * Use new focus class * Add a check to prevent redundant .blur calls
* Add window settings (#1160)toasted-nutbread2020-12-22
| | | | | * Add window icon * Move some options to a new "Window" section
* Furigana distribution improvements (#1157)toasted-nutbread2020-12-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Improve furigana when reading kana is not an exact match * Simplify group structure * Return consistent type * Add more tests * Remove redundant isAmbiguous assignment * Simplify group usage * Add helper function * Optimize returned arrays * Use variable * Remove s(p)lice calls * Reduce number of convertKatakanaToHiragana calls * Optimize text length access * Optimize reading substring * Move segmentize to a separate function * Use var * Use _createFuriganaSegment * Optimize distributeFuriganaInflected
* Improve query parser scanning (#1154)toasted-nutbread2020-12-21
| | | | | * Improve how the search page updates after settings have changed * Always update the history on the first scan of the query parser
* Fix Display._definitionTextScanner not ignoring certain elements (#1153)toasted-nutbread2020-12-21
|
* Settings v2 modal size toggle (#1149)toasted-nutbread2020-12-20
| | | | | | | | | | | | | * Add collapse/expand icons * Update header layout * Allow size animation * Add styles for modal header buttons * Support action buttons * Update modals to support size changing
* Settings v2 icon improvements (#1147)toasted-nutbread2020-12-20
| | | | | | | | | | | * Update navigation icons * Improve outline layout, fixing badge indicators * Change attribute value * Update icon buttons * Update settings page
* Fix triangle indicator for kanji (#1141)toasted-nutbread2020-12-19
|
* Popup action bar options (#1140)toasted-nutbread2020-12-19
| | | | | | | | | | | | | * Add options for action bar visibility and location * Add settings * Update styles * Expose properties * Update styles * Update tests
* Improve the accent color for the dark theme (#1139)toasted-nutbread2020-12-19
|
* Focus the current entry earlier in the generation process (#1137)toasted-nutbread2020-12-19
|
* Disable indicator transitions when not in use (#1136)toasted-nutbread2020-12-19
|
* Entry indicator update (#1134)toasted-nutbread2020-12-19
| | | | | | | | | | | | | | | | | | | | | | | * Move entry current indicator rules * Simplify rules * Add popupCurrentIndicatorMode option * Add option to settings page * Expose popupCurrentIndicatorMode * Restore asterisk current indicator * Implement dot * Update action button vars * Fix tests * Add none option * Add triangle option
* Fix invalid CSS :not selector causing frequency tags to display twice (#1135)toasted-nutbread2020-12-19
|
* Fix incorrect naming of --entry-current-indicator variable (#1133)toasted-nutbread2020-12-19
|
* Fixed terms being colored when not using merged mode (#1132)toasted-nutbread2020-12-19
|
* DOMParser replacement (#561)toasted-nutbread2020-12-18
| | | | | | | | | | | | | | | * Add script to build library files * Add built parse5 library * Add new SimpleDOMParser which uses parse5 * Update license info * Update MV3 build to use the new SimpleDOMParser * Update file exclusions * Hide/clarify license info for MV2 builds
* Set up initial manifest v3 support (#605)toasted-nutbread2020-12-18
|
* Simplify _getUrl function (#1121)toasted-nutbread2020-12-18
|
* Change the resizer color when the window is being resized (#1120)toasted-nutbread2020-12-18
|
* Improve display tags (#1117)toasted-nutbread2020-12-18
| | | | | | | | | | | * Update tag style * Add styles/HTML for notifications * Add DisplayNotification class * Add support for tag notifications * Simplify notification content
* Fix incorrect page type condition causing incorrect document title (#1105)toasted-nutbread2020-12-13
|
* Add info page (#1102)toasted-nutbread2020-12-12
| | | | | | | | | | | * Add api.getAnkiConnectVersion * Enable basic functionality when certain features/elements aren't present * Add info page * Update information links * Update info link on the settings v2 page
* Support frame resize on firefox (#1088)toasted-nutbread2020-12-08
| | | | | | | | | | | | | * Add popup functions for getting/setting the frame size * Add frontend functions for getting/setting popup frame size * Expose display mode attribute on display HTML * Disable resizer on iframe * Add custom frame resizer handle * Add support for custom frame resizer
* Use expression as reading if reading is blank (#1083)toasted-nutbread2020-12-05
|
* Fix disambiguation text color (#1082)toasted-nutbread2020-12-05
|
* Fix pitch accent info gathering using new data format (#1081)toasted-nutbread2020-12-05
|
* 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
* Update compact layout (#1077)toasted-nutbread2020-11-29
|
* JapaneseUtil normalization (#1076)toasted-nutbread2020-11-29
| | | | | * Use JapaneseUtil as a class which is manually instantiated * Use alias function for toKana