aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* 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
|
* Fix useSettingsV2 option (for real this time) (#1421)toasted-nutbread2021-02-19
|
* Remove section headings (#1413)toasted-nutbread2021-02-16
|
* Fix search tags in split and grouped display modes (#1412)toasted-nutbread2021-02-16
|
* Fix copy hotkey not working (#1411)toasted-nutbread2021-02-16
|
* Improve primary audio assignment when audio isn't available (#1407)toasted-nutbread2021-02-15
|
* Audio popup menu primary card audio selection (#1406)toasted-nutbread2021-02-15
| | | | | | | | | | | | | | | | | | | * Add card icon to audio menu items * Update cache data format * Create _getCacheItem * Add _playAudioFromSource function * Implement default card audio info * Specify exact audio to download when an override is assigned * Abstract using _getMenuItemSourceInfo * Update downloadability check * Update the main audio menu buttons to also assign the default source
* Update audio downloading to support specifying an exact array index (#1405)toasted-nutbread2021-02-15
|
* Display audio menu refactor (#1404)toasted-nutbread2021-02-15
| | | | | * Update display and generation of the audio menu * Wrap menu items in a div to allow for horizontal layout groupings
* Update html files and scripts (#1403)toasted-nutbread2021-02-15
| | | | | | | * Add <!-- Scripts --> heading for consistency * Update indentation of background.html to be more consistent * Update script grouping
* Use consistent number of newlines at the start of files (#1402)toasted-nutbread2021-02-15
|
* Update eslint rules (#1401)toasted-nutbread2021-02-15
|
* Move settings2.css to settings.css (#1400)toasted-nutbread2021-02-15
|
* Move settings.css to settings-old.css (#1399)toasted-nutbread2021-02-15
|
* Disable user-select on preview iframe (#1398)toasted-nutbread2021-02-15
|
* Move js/settings (#1397)toasted-nutbread2021-02-14
| | | | | * Move js/settings to js/pages/settings * Fix script ordering
* Test html script ordering (#1396)toasted-nutbread2021-02-14
| | | | | | | | | | | | | * Simplify getAllFiles * Add test to validate script order * Update script include order * Update content script order * Update sw.js and corresponding lint * Update manifest
* Update lint definitions for sandboxed files (#1395)toasted-nutbread2021-02-14
|
* Cleanup yomichan api (#1394)toasted-nutbread2021-02-14
| | | | | | | * Move invokeMessageHandler to core.js * Move getMessageResponseResult to backghend.js * Replace getTemporaryListenerResult
* Log refactoring (#1393)toasted-nutbread2021-02-14
| | | | | | | | | | | | | * Create Logger class and log instance * Replace yomichan.logWarning with log.warn * Replace yomichan.logError with log.error * Replace yomichan.log with log.log * Update the Yomichan class to use the global log object * Update lint rules
* Move api to yomichan object (#1392)toasted-nutbread2021-02-14
| | | | | | | | | | | * Move cross frame API from API to Yomichan * Add API instance to Yomichan * Move api global to yomichan.api * Pass yomichan to API * Remove IIFE
* Api prepare refactor (#1391)toasted-nutbread2021-02-14
| | | | | * Refactor API preparation * Run yomichan.prepare manually in the entry point function
* Rename window scroll (#1390)toasted-nutbread2021-02-14
| | | | | | | * Rename WindowScroll to ScrollElement * Rename window-scroll.js to scroll-element.js * Update global order
* Util rename (#1389)toasted-nutbread2021-02-14
| | | | | | | | | | | | | | | * Rename MediaUtility to MediaUtil for consistency * Update variable names * Rename media-utility.js to media-util.js * Rename ProfileConditions to ProfileConditionsUtil * Rename variables * Move profile-conditions.js to profile-conditions-util.js * Rename test-profile-conditions.js to test-profile-conditions-util.js
* Update lint and tests (#1388)toasted-nutbread2021-02-14
| | | | | * Update paths to no longer use bg/, fg/, or mixed/ * Only allow modal-jquery.js to use jQuery