aboutsummaryrefslogtreecommitdiff
path: root/ext
Commit message (Collapse)AuthorAge
...
* Persistent storage controller (#1478)toasted-nutbread2021-03-02
| | | | | | | | | * Add PersistentStorageController * Update DictionaryController * Update DictionaryImportController * Update when storage stats are updated
* Fix enter key causing duplicate text when typing using an IME (#1477)toasted-nutbread2021-03-02
|
* Remove zero-width space (#1475)toasted-nutbread2021-03-01
|
* Refactor translator merged mode (#1474)toasted-nutbread2021-03-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove sourceDefinitions * Add id * Remove related definitions from unsequencedDefinitions * Add separate _addRelatedDefinitions function * Add secondary definitions * Update how secondary definitions are added * Update expression/reading source * Move _mergeByGlossary body * Refactor _createTermDetailsListFromTermInfoMap * Move _addUniqueTermInfos body * Rename function * Organize * Simplify duplicate check * Rename relatedDefinitionIds to definitionIds * Refactor secondary definition adding * Early exit * Add matching unsequencedDefinitions to secondaryDefinitions * Clean * Fix incorrect condition * Move _addSecondaryDefinitions call * Add comments
* Translator refactor (#1473)toasted-nutbread2021-03-01
| | | | | | | | | | | | | * Refactor _groupTerms and add doc comment * Update where expression/reading is acquired from * Add doc comment * Add isPrimary field * Update test data * Add definition which has "isPrimary": false definitions
* Update version21.2.28.0toasted-nutbread2021-02-28
|
* Add support for resizing the popup window using touch events (#1471)toasted-nutbread2021-02-28
|
* Wrap host selection copy in a try-catch (#1470)toasted-nutbread2021-02-28
|
* Improve text parser (#1469)toasted-nutbread2021-02-28
| | | | | | | | | | | | | * Merge ungrouped characters * Update iteration * Fix incorrect code point handling * Simplify text * Specify language * Update how parsed status is represented
* Fix a poorly handled edge case of the scanning parser (#1468)toasted-nutbread2021-02-28
|
* Fix missing details causing frequency tags to not be clickable (#1467)toasted-nutbread2021-02-28
|
* Remove the now-unused hotkey forwarding functionality (#1466)toasted-nutbread2021-02-28
|
* Fix and improve some CSS vars (#1465)toasted-nutbread2021-02-28
|
* Text source element scanning improvements (#1464)toasted-nutbread2021-02-28
| | | | | | | | * Add api.textHasJapaneseCharacters * Add support for empty query * Add support for showing the query parser for TextSourceElement with content that does not start with Japanese text
* Use a Set instead of an array (#1463)toasted-nutbread2021-02-28
|
* Get categorization of pitch accents (#1462)toasted-nutbread2021-02-28
|
* Add support for scanning the selected value of <select> elements (#1461)toasted-nutbread2021-02-28
|
* Add ge deinflect rule (#1458)toasted-nutbread2021-02-27
| | | | | * Add -ge rule * Add tests
* Update color of name tag to not overlap with frequency tag color (#1457)toasted-nutbread2021-02-27
|
* Improve definition ordering (#1456)toasted-nutbread2021-02-27
| | | | | | | * Update dictionary priority * Replace dictionaryPriority with dictionaryOrder * Update tests
* Improve term meta ordering (#1455)toasted-nutbread2021-02-27
| | | | | | | | | | | | | | | | | | | * Update implementation of _buildTermMeta * Remove old implementation * Expose dictionaryPriority on frequencies and pitch accents * Update how meta data is generated; add index * Update order * Update names * Expose expressionIndex as part of pitch/frequency data * Implement meta sorting * Update test data
* Misc display style updates (#1454)toasted-nutbread2021-02-27
| | | | | * Remove unused style * Update inflection separator
* Improve expression variables (#1453)toasted-nutbread2021-02-27
| | | | | * Improve how colors are used for expressions * Add more color definitions
* Organize display styles (#1452)toasted-nutbread2021-02-27
| | | | | | | | | | | | | * Improve grouping for inflection and expression styles * kanji-link => expression-kanji-link * Remove unnecessary entry-header2 and entry-header3 * Move tag list into header for consistency with term definitions * Move styles * Add clear
* Refactor display styles (#1451)toasted-nutbread2021-02-27
| | | | | | | | | | | | | | | * term-expression => expression * term-pitch-accent => pitch-accent * term-reason => inflection, term-reasons => inflection-list * term-details => expression-list-details * term-glossary => glossary * Update tag list classes * term-definition => definition
* Change "Raw term" to "Plain term" (#1450)toasted-nutbread2021-02-27
|
* Refactor expression vars (#1449)toasted-nutbread2021-02-27
| | | | | | | | | | | | | * Group expression styles * Rename var * Update var name and style * Group --kanji* vars * Rename var * Rename vars
* Add standalone reading (#1448)toasted-nutbread2021-02-27
| | | | | | | | | * Add option * Update display * Hide redundant readings * Improve label and description
* Improve dictionary priority (#1447)toasted-nutbread2021-02-26
| | | | | * Refactor _sortDefinitions * Remove use of useDictionaryPriority
* Improve kana segmentation (#1446)toasted-nutbread2021-02-26
| | | | | * Improve edge case furigana distribution for mixed hiragana/katakana * Update/add tests
* Improve Anki card type selection (#1445)toasted-nutbread2021-02-26
| | | | | | | | | | | | | * Update separator line styles * Add tabs * Add support for radio select * Remove old select * Move out of scroll region * Fix missing line
* Header lint (#1444)toasted-nutbread2021-02-25
| | | | | | | | | * Add eslint-plugin-header * Add rule for header format * Add missing header * Fix header issues
* Fix wait for frontend not working properly (#1443)toasted-nutbread2021-02-25
|
* Disambiguation style strings (#1442)toasted-nutbread2021-02-25
| | | | | | | | | * Add strings section * Add disambiguation prefix/suffix strings * Add separator strings * Add padding definition
* Improve frequency display (#1438)toasted-nutbread2021-02-25
| | | | | | | | | | | * Add frequencyDisplayMode option * Update tests * Add setting * Update frequency display styles * Improve wrapping
* Improve note addability (#1440)toasted-nutbread2021-02-24
| | | | | | | | | | | * Add valid field * Add isNoteDataValid function * Update _areDefinitionsAddableForcedValue to return proper valid values * Refactor isAnkiConnected check * Force canAdd to false if not valid
* AnkiUtil (#1439)toasted-nutbread2021-02-24
| | | | | | | | | | | | | | | | | | | * Add AnkiUtil * Update AnkiConnect to use AnkiUtil * Use AnkiUtil in AnkiNoteBuilder * Replace containsAnyMarker with AnkiUtil.stringContainsAnyFieldMarker * Add AnkiUtil.getFieldMarkers * Add fieldsObjectContainsMarker to AnkiUtil * Remove unused global * Remove unused parameter: enabled * Add cloneFieldMarkerPattern
* Update tag styles (#1437)toasted-nutbread2021-02-23
|
* Fix user select all handling (#1436)toasted-nutbread2021-02-23
| | | | | | | | | * Update how style restoration is performed * Refactor * Add workaround for Firefox issue with user-select: all * Add infinite loop prevention
* Update tag display styles (#1433)toasted-nutbread2021-02-21
|
* Fix missing spacing after frequency disambiguation (#1432)toasted-nutbread2021-02-21
|
* Improve tag styles (#1431)toasted-nutbread2021-02-21
| | | | | | | * Update tag styles * Refactor _createTag * Update padding
* Improve some values based on the font-size (#1430)toasted-nutbread2021-02-21
|
* Rename context.css to action-popup.css (#1428)toasted-nutbread2021-02-21
|
* Improve button styles (#1427)toasted-nutbread2021-02-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Update variable names * Update standard button styles * Update styles * Update button styles * Update styles * Add current styles * Update button styles * Update styles * Update outline item styles * Update styles * Update styles * Update notification button styles * Update button styles
* Focus visible styles (#1426)toasted-nutbread2021-02-20
| | | | | | | | | | | * Add focus-visible styles * Add focus-visible styles * Add focus-visible styles * Add focus-visible styles * Add focus-visible styles
* Refactor styles (#1425)toasted-nutbread2021-02-20
| | | | | | | | | | | | | | | * Replace :not(:disabled) styles * Use var for style * Update active styles * Update disabled styles for <input> elements * Update button disabled styles * Add focus styles to checkbox * Update style name
* Improve key press to focus the search query input (#1424)toasted-nutbread2021-02-19
|
* Fix translation regex replacements (#1423)toasted-nutbread2021-02-19
| | | | | | | * Fix regex replacements having issues at the start of scanned text * Fix test cases * Add tests
* Fix wanakana.unbind throwing an error (#1422)toasted-nutbread2021-02-19
|