summaryrefslogtreecommitdiff
path: root/ext/bg/js/settings
Commit message (Collapse)AuthorAge
* Fix storage stats update error during dictionary deletion (#1106)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
* Fix global declarations check (#1101)toasted-nutbread2020-12-12
| | | | | * Fix getSubstringCount not properly checking word boundaries * Remove unused global declarations
* JapaneseUtil normalization (#1076)toasted-nutbread2020-11-29
| | | | | * Use JapaneseUtil as a class which is manually instantiated * Use alias function for toKana
* Fix outer CSS being incorrectly injected (#1075)toasted-nutbread2020-11-29
|
* Frequencies marker (#1074)toasted-nutbread2020-11-28
| | | | | | | | | | | * Update japanese.js tests * Simplify fallback/early exit * Add overloads to furigana and furiganaPlain handlebars helper functions * Expose unique expression/reading arrays (and subsequently counts) * Add {frequencies} marker
* 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
* Yomichan popup styles refactor (#1067)toasted-nutbread2020-11-26
| | | | | | | | | | | | | * Rename classes yomichan-float to yomichan-popup * Use attributes instead of classes * Refactor * Update popup outer scaling * Update outer theme usage * Move client.css to popup-outer.css in /mixed
* Popup style updates (#1066)toasted-nutbread2020-11-25
| | | | | | | | | | | * Replace compactGlossaries option with new glossaryLayoutMode option * Update attributes * Update attributes * Update color definitions * Fix default theme scrollbar
* Popup setup refactoring (#1054)toasted-nutbread2020-11-23
| | | | | | | | | | | | | * Pass childrenSupported as a parameter to Frontend/Popup constructors * Remove setChildrenSupported * Use event listener instead of function override * Update options order * Expand options and use object for clarity * Fix childrenSupported not being fully propagated
* Fix settings resetting not initializing dictionary settings properly (#1036)toasted-nutbread2020-11-15
|
* Clear cached definition when rendering a template (#1022)toasted-nutbread2020-11-12
|
* 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
* Frontend options override refactor (#1016)toasted-nutbread2020-11-08
| | | | | * Update how options context overriding works * Make function private
* Update keyboard/mouse modifiers to return an array rather than a set (#1015)toasted-nutbread2020-11-08
|
* Fix byte count labels (#998)toasted-nutbread2020-11-07
| | | | | | | * Add 'TB' label * Prevent overflow * Fix storage information on the old settings page
* Popup preview update (#994)toasted-nutbread2020-11-06
| | | | | | | | | * Add options.global.showPopupPreview option * Add preview visibility control using a checkbox * Add attribute on page load * Disable animation until page is loaded
* Settings controller changes (#990)toasted-nutbread2020-11-05
| | | | | * Make allowSecondarySearchesCheckbox optional * Move getDictionaryInfo into SettingsController
* Conjugation marker (#988)toasted-nutbread2020-11-04
| | | | | | | | | * Add {conjugation} marker * Add info * Add upgrade * Update test
* Pitch accents preview (#987)toasted-nutbread2020-11-03
| | | | | * Add public preparePitchAccents function to DisplayGenerator * Add pitch accents preview HTML, CSS, and JS
* Trigger event on property change (#979)toasted-nutbread2020-10-31
| | | | | * Add _triggerScanInputsChanged function * Trigger event when inputs are changed
* Add an 'other' option for when there is no matching main scanning input (#978)toasted-nutbread2020-10-31
|
* Update counts when an input entry is removed (#977)toasted-nutbread2020-10-31
|
* Fix addition/removal of middle mouse button input not always working (#976)toasted-nutbread2020-10-31
|
* Scan inputs controller refactor (#975)toasted-nutbread2020-10-31
| | | | | | | | | | | * Add public function to clear inputs * Return the promise * Pass input options directly * Assign showAdvanced * Add more menu options
* Scanning inputs refactor (#974)toasted-nutbread2020-10-31
| | | | | * Add support for count nodes * Add support for menu button
* Update PopupPreviewController to support settings v2 (#972)toasted-nutbread2020-10-30
|
* Add supoprt for modal dimmer element (#971)toasted-nutbread2020-10-30
|
* Anki templates refactor (#970)toasted-nutbread2020-10-30
| | | | | * Support menus with multiple sources * Update anki templates controller
* Fix profile creation not working on settings v1 (#968)toasted-nutbread2020-10-28
|
* Fix modals not closing properly when the outside is clicked (#967)toasted-nutbread2020-10-28
|
* Dictionary controllers update (#965)toasted-nutbread2020-10-27
| | | | | | | * Make purge notification optional * Support multiple warning nodes * Add support for optional count info
* Options fixes (#962)toasted-nutbread2020-10-27
| | | | | | | | | | | * Fix default options not having the correct versions * Move schema validation * Remove legacy version number * Add tests for OptionsUtil.getDefault() * Remove unused getValidValueOrDefault
* Remove error type from error message (#958)toasted-nutbread2020-10-26
|
* Anki controller refactor (#957)toasted-nutbread2020-10-25
| | | | | | | * Add _setFieldMarker helper function * Add support for persistent nodes * Add support for menus
* Sort deck and model names in Anki card settings (#956)toasted-nutbread2020-10-25
|
* Anki controller refactor (#954)toasted-nutbread2020-10-25
| | | | | | | | | * Simplify data transform for anki.enable setting * Refactor AnkiController * Implement marker link clicking * Request permissions for clipboard
* Profile controller refactor (#953)toasted-nutbread2020-10-24
| | | | | | | | | | | * Udpate selectors * Optional remove button * Add menu * Refactor ProfileController * Fix selector
* Rename index to profileIndex for clarity (#952)toasted-nutbread2020-10-23
|
* Profile controller refactor (#950)toasted-nutbread2020-10-20
| | | | | | | * Add additional fields for consistency * Fix copy confirm not working correctly * Update IDs
* Popup preview fixes (#948)toasted-nutbread2020-10-20
| | | | | * Select just the text node and not its container * Make background color transparent by default
* Popup preview improvements (#947)toasted-nutbread2020-10-20
| | | | | | | | | | | | | * Move CSS * Update indent * Refactor HTML/CSS * Add support for editing the source text * Add WanaKana binding for input * Rename file
* Backup controller refactor (#946)toasted-nutbread2020-10-19
| | | | | | | | | * Update IDs * Change how default fieldTemplates is assigned * Ensure no missing fields * Fix error display during import
* Make dictionary spinner optional (#945)toasted-nutbread2020-10-19
|
* Popup menu updates (#942)toasted-nutbread2020-10-18
| | | | | | | | | * Expose isClosed property * Add popupMenu to detail * Return true if closed, false otherwise * Add closed event to PopupMenu
* Dictionary controller updates (#941)toasted-nutbread2020-10-18
| | | | | | | | | * Rename action * Store more state information * Conditional checks for details toggle links * Add support for hiding/showing details via menu
* Change progress reporting to support settings v2 (#940)toasted-nutbread2020-10-18
|
* Dictionary controller updates (#939)toasted-nutbread2020-10-18
| | | | | | | | | | | | | * Check if element exists * Add delete function * Add support for deleting via popup menu * Update how count visibility is updated * Update dictionary deletion progress updates * Update storage stats after dictionary deletion
* Status footer (#938)toasted-nutbread2020-10-18
| | | | | * Add event for popup element close completion * Add StatusFooter class
* Fix focused element of popup menus (#937)toasted-nutbread2020-10-18
|