aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/settings
Commit message (Collapse)AuthorAge
* 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
|
* Update audio controller for menus (#936)toasted-nutbread2020-10-18
| | | | | | | * Make event non-async * Only add event listener if the button exists * Add support for menu for removal
* Fix missing close cause (#935)toasted-nutbread2020-10-18
|
* Popup menu updates (#934)toasted-nutbread2020-10-18
| | | | | | | * Store a reference to the menu * Allow close cancellation * Add open event
* Add PopupMenu class (#933)toasted-nutbread2020-10-18
|
* Fix new Modal's base calss (#932)toasted-nutbread2020-10-18
|
* Generalize modal, move to popup-elements.js (#931)toasted-nutbread2020-10-18
|
* Modal split (#930)toasted-nutbread2020-10-18
| | | | | * Move jQuery-based modal into a separate class * Remove jQuery conditions for default modal
* Add a refresh function to GenericSettingsController (#929)toasted-nutbread2020-10-17
|
* Remove debug log (#924)toasted-nutbread2020-10-15
|