aboutsummaryrefslogtreecommitdiff
path: root/ext
Commit message (Collapse)AuthorAge
* Display pronunciation refactor (#1835)toasted-nutbread2021-07-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Simplify svg and container styles * Rename pitch-accent-details to pitch-accent-graph-container * Rename pitch-accent-graph* to pronunciation-graph* * Remove unused template * Omit quotes * Rename pitch-accent-character to pronunciation-mora * Simplify names * Replace pronunciation-mora-inner with pronunciation-character * Improve grouping of nasal characters * Simplify character replacement * Replace pseudo-elements with real elements * Use an element rather than a fragment * Rename functions * Add wrapper * Rename pitch-accent-characters to pronunciation-text-container * Update test data * Update downstep notation generation * Rename pitch-accent-position to pronunciation-downstep-notation-container * Space * Wrap pronunciations in a container node * Update preview * Embed pitch accent styles directly
* Pronunciation nasal improvement (#1834)toasted-nutbread2021-07-17
| | | | | | | | | * Organize * Add utility to get diacritic information about a character * Show mora without diacritic * Add a hidden handakuten for copy-paste purposes
* Display pronunciation separation (#1833)toasted-nutbread2021-07-17
| | | | | | | | | | | * Create PronunciationGenerator * Update DisplayGenerator * Update templates * Move pronunciation styles to a separate file * Simplify pitch-accents-preview.html
* Devoice and nasal pronunciation info (#1832)toasted-nutbread2021-07-15
| | | | | | | | | | | | | * Update schema to support information about nasal and devoiced mora * Expose nasalPositions and devoicePositions in dictionary entry data * Expose nasalPositions, devoicePositions in grouped pitch info * Update display generator * Update test dictionary data * Update test data
* Multi view note (#1829)toasted-nutbread2021-07-14
| | | | | | | * Add support for a menu to view multiple note IDs * Show a + badge when there are multiple notes available * Organize
* Fix invalid default value in options schema (#1827)toasted-nutbread2021-07-13
|
* Duplicate scope check all models (#1810)toasted-nutbread2021-07-13
| | | | | | | * Add duplicateScopeCheckAllModels option to createNote * Add duplicateScopeCheckAllModels option * Add setting
* Throw an error when _getProfile doesn't have a matching profile (#1826)toasted-nutbread2021-07-13
|
* Fix case where "ready" message is received before frame "load" event (#1822)toasted-nutbread2021-07-10
|
* Improve error when card has missing content (#1818)toasted-nutbread2021-07-09
|
* Simplify get media structure (#1817)toasted-nutbread2021-07-09
| | | | | * Remove format argument of getMedia * Implement escaping
* Update Anki field marker menu (#1816)toasted-nutbread2021-07-09
| | | | | * Update anki field marker menu to have less vertical padding * Update positioning of field marker menu
* Remove old settings main.js (#1815)toasted-nutbread2021-07-09
|
* Anki text furigana parsing and {sentence-furigana} marker (#1814)toasted-nutbread2021-07-09
| | | | | | | | | | | | | * Add support for textFurigana media * Add readingMode parameter * Implement readingMode * Add {sentence-furigana} marker * Fallback to sentence if furigana isn't available * Update test data
* JapaneseUtil updates (#1813)toasted-nutbread2021-07-09
| | | | | | | | | * Rename test file * Use shorthand * Add support checking functions * Remove convertReading from JapaneseUtil
* Fix an issue with reordering dictionary settings (#1812)toasted-nutbread2021-07-09
|
* Text parse updates (#1811)toasted-nutbread2021-07-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Expose more settings to QueryParser * Rename textParse to parseText * Refactor * Convert reading inside QueryParser rather than Backend * Remove use of readingMode from backend * Rename * Update parseText args * Simplify * Update results * Move use of optionsContext * Run mecab and internal parser in parallel * Added "dictionary-reading" reading mode * Update romaji conversion case
* Anki card selected text (#1809)toasted-nutbread2021-07-07
| | | | | | | | | | | * Add support for injecting the text selection into Anki cards * Add selection-text * Upgrade to add {selection-text} * Update descriptions * Update test data
* Update options-util tests and comment (#1806)toasted-nutbread2021-07-06
|
* Add support for injecting dictionary media into Anki cards (#1805)toasted-nutbread2021-07-06
|
* Fix incorrect resultOutputMode (#1804)toasted-nutbread2021-07-06
|
* Fix function names (#1803)toasted-nutbread2021-07-06
|
* Template renderer media updates (#1802)toasted-nutbread2021-07-06
| | | | | | | | | | | | | | | | | * Add TemplateRendererMediaProvider to abstract media-related functionality * Update representation of injected media * Update templates * Update upgrade file * Update tests * Update test data * Force media to be an object * Update test data
* OptionsUtil and tests updates (#1801)toasted-nutbread2021-07-05
| | | | | * Update OptionsUtil.update to support an optional targetVersion param * Update Anki template updates to have an explicit target version
* Pass requirements to note generation (#1800)toasted-nutbread2021-07-05
| | | | | | | * Update structure * Pass requirements to _createNote * Show an error for requirements that weren't fulfilled
* DisplayAnki note requirements (#1799)toasted-nutbread2021-07-05
| | | | | * Update how errors are collected from _formatField * Expose requirements
* Store anki note details (#1798)toasted-nutbread2021-07-05
| | | | | | | | | | | | | | | * Update error handling of _areDictionaryEntriesAddable * Store note details * Remove promise after use * Rename function * Clear stored details * Rename function * Rename function
* Refactor DisplayAnki.setupEntriesComplete params and implementation (#1794)toasted-nutbread2021-07-04
|
* Add a missing "of" (#1793)r00ster2021-07-04
|
* Update the note context object generation process to ensure consistency (#1792)toasted-nutbread2021-07-03
|
* DisplayAnki (#1791)toasted-nutbread2021-07-03
| | | | | | | | | | | * Remove anki functionality from display * Rename function * Display API updates * Use DisplayAnki * TODO
* Remove uniqueness check for requirements (#1790)toasted-nutbread2021-07-03
|
* Refactor createNote (#1789)toasted-nutbread2021-07-03
| | | | | * Update createNote to return a wrapper object * Update how createNote creates errors
* Fix simple glossary HTML not being escaped (#1788)toasted-nutbread2021-07-03
|
* Anki support for structured-content (#1786)toasted-nutbread2021-07-02
| | | | | | | | | | | | | | | | | | | | | | | * Update how glossary text is formatted * Update structured content and image generation * Pass root data to _createStructuredContentGenerator * Implement media URLs * Update documentation * Update options util * Apply styles to content * Improve HTML normalization * Update DatabaseVM.fetch function * Update test * Update test data
* More CssStyleApplier updates (#1785)toasted-nutbread2021-07-02
| | | | | | | * Update eslint rules for css-style-applier.js * Don't use chrome.runtime.getURL * Update CSP to allow inline styles
* CssStyleApplier updates (#1784)toasted-nutbread2021-07-02
| | | | | | | * Remove debug log * Remove style attribute if empty * Remove data-* attributes
* Update version21.6.30.0toasted-nutbread2021-06-30
|
* Merge the Sentence Parsing section into the Text Parsing section (#1781)toasted-nutbread2021-06-29
|
* Make Display.authenticateMessageData private (#1780)toasted-nutbread2021-06-29
|
* Update dictionary image link color (#1778)toasted-nutbread2021-06-28
|
* Update CSS rules for images (#1777)toasted-nutbread2021-06-28
|
* Fix incorrect aspect ratio of structured-content images (#1776)toasted-nutbread2021-06-28
|
* Add separation before template-renderer-frame-main.js (#1774)toasted-nutbread2021-06-27
|
* Add CssStyleApplier class (#1773)toasted-nutbread2021-06-27
|
* Template renderer init update (#1772)toasted-nutbread2021-06-27
| | | | | * Update TemplateRendererFrameApi to post a 'ready' message * Wait for 'ready' message rather than using 'load' event
* Structured content style json (#1771)toasted-nutbread2021-06-27
| | | | | | | | | | | | | * Install css * Remove unnecessary rule * Create CSS overrides file * Create script to generate CSS JSON file * Generate JSON * Add test
* Update structured content CSS styles (#1770)toasted-nutbread2021-06-27
|
* Move structured content CSS into a separate file (#1769)toasted-nutbread2021-06-27
|
* Template patcher updates (#1766)toasted-nutbread2021-06-26
| | | | | * Don't append anything if the additions is empty * Simplify update list