summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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
|
* Add kebab-menu icon (#928)toasted-nutbread2020-10-17
|
* SelectorObserver (#927)toasted-nutbread2020-10-17
| | | | | | | | | | | * Create new SelectorObserver class * Update DOMDataBinder to use SelectorObserver * Update names to be more clear * Remove attributeOldValue parameter, clarify attributes parameter * Add documentation
* Remove debug log (#924)toasted-nutbread2020-10-15
|
* Ensure settings exist for all installed dictionaries (#922)toasted-nutbread2020-10-14
|
* Add simple scan input UI (#921)toasted-nutbread2020-10-14
| | | | | | | | | | | | | | | | | * Add simple scan input UI * Create helper function * Add controller for old scanning input UI * Add refresh functions * Add abstraction function * Fix incomplete middle mouse support detection * Make scanning inputs update eachother * Fix global declaration order
* Fix "modifier" field being required despite being deleted (#920)toasted-nutbread2020-10-14
|
* Fix template updates for multiple declarations (#918)toasted-nutbread2020-10-14
| | | | | * Update pattern to be multi-match * Remove unnecessary async
* Improve convertKatakanaToHiragana and convertHiraganaToKatakana (#916)toasted-nutbread2020-10-13
|
* Add a default audio option (#913)toasted-nutbread2020-10-11
|
* Dictionary controller refactor (#912)toasted-nutbread2020-10-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Support multiple main dictionary selects * Update progress container * Change class name * Simplify dictionary info * Update outdated node visibility * Simplify node usage * Simplify title * Update classes * Update IDs/classes * Remove details container visibility assignment * Use a template for dictionary details * Fix progress bar visibility * Fix incorrect property * Rename dict-details to dictionary-details * Remove unused classes * Update class names for dictionary templates * Rename templates * More id renaming * Remove unused id * Rename more IDs
* Add spinner.svg (#911)toasted-nutbread2020-10-11
|
* Generic settings improvements (#909)toasted-nutbread2020-10-10
| | | | | | | | | | | * Add helper function _getElementRelativeToAncestor * Move helper functions * Add setVisibility transform * Add support for data-transform attribute shorthand * Add support for using the document element as the ancestor
* Add modal controller class (#908)toasted-nutbread2020-10-10
| | | | | * Add ModalController * Use modalController instead of new Modal
* Storage controller refactor (#907)toasted-nutbread2020-10-10
| | | | | * Use array for use/quota nodes * Use classes instead of ids
* Further generalize storage controller by supporting lists of nodes (#906)toasted-nutbread2020-10-10
|
* Storage controller refactor (#905)toasted-nutbread2020-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | * Use hidden instead of storage-hidden class * Refactor storage events * Make ID more generic * Update how persistent storage is activated * Add null checks * Update HTML/ID * Disallow disabling persistent storage * Refactoring * Update more IDs * Disable multiple simultaneous stats updates * Store node references * Move undefined assignment
* Update audio controller (#904)toasted-nutbread2020-10-10
| | | | | | | | | | | | | | | | | | | * Remove redundant assignment of select value * Update TTS preparation * Don't hide options * Improve voice sorting * Update event handler * Apply options to all selects targeting audio.textToSpeechVoice * Update selector * Use IDs * Move test text to a hidden text input
* Make animation optional for Modal.setVisible (#903)toasted-nutbread2020-10-10
|
* Add support for allowing modals to be display:none when not open (#902)toasted-nutbread2020-10-10
|
* Modal updates 2 (#901)toasted-nutbread2020-10-08
| | | | | | | * Fix incorrect visible value * Focus element when visibility is set * Add isVisible function
* Update the Modal class to support non-jQuery modals (#900)toasted-nutbread2020-10-08
|
* Add additional transforms (#899)toasted-nutbread2020-10-08
|
* Settings templates refactor (#897)toasted-nutbread2020-10-07
| | | | | * Add template instantiation API to SettingsController * Use SettingsController.instantiateTemplate
* Template handler update (#896)toasted-nutbread2020-10-07
| | | | | | | | | * Rename TemplateHandler to HtmlTemplateCollection * Rename _templateHandler to _templates * Allow creation from both string and element * Simplify setup of templates, don't throw errors on invalid ID
* Dev dependency update (#895)toasted-nutbread2020-10-07
| | | | | | | * Update dev dependencies * Add parse5 dev dependency * Add browserify dev dependency
* Split source.js into two files (#894)toasted-nutbread2020-10-07
|
* Fix dictionary settings not being deleted when deleting a single dictionary ↵toasted-nutbread2020-10-06
| | | | (#893)
* Fix search page being focused when changing settings (#892)toasted-nutbread2020-10-06
|
* Fix data inconsistencies (#891)toasted-nutbread2020-10-06
| | | | | | | | | | | | | * Simplify variable name * Add dictionaryNames array * Update how the dictionary field is assigned * Use "dictionary" instead of "title" for consistency * Remove redundant dictionary name * Use _expandTags to create pitch accent tags
* Update merged definitions to have consistent structure (#890)toasted-nutbread2020-10-06
| | | | | * Update comment about definitions type * Add conversion to ensure consistent data structure
* Don't add duplicate definitions (#889)toasted-nutbread2020-10-05
|
* Dictionary definition structure fixes (#888)toasted-nutbread2020-10-05
| | | | | * Restore support for tags without metadata * Fix missing spread