aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/settings/dictionary-controller.js
Commit message (Collapse)AuthorAge
* Move bg/js/settings(2) (#1385)toasted-nutbread2021-02-13
| | | | | * Move bg/js/settings/ to js/settings/ * Move bg/js/settings2/ to js/settings/
* Modal refactor (#1335)toasted-nutbread2021-01-30
| | | | | | | | | * Rename modal-container to modal * Update how modal IDs are handled * Fix invalid modal check * Update modal IDs
* Update badges (#1309)toasted-nutbread2021-01-24
| | | | | | | * Update badge indications to be based off current profile * Update warning badge to display when no dictionaries are enabled * Show how many dictionaries are enabled
* Update popup menu structure (#1301)toasted-nutbread2021-01-23
| | | | | | | | | * Wrap menu items in popup-menu-body * Use bodyNode instead of node * Update selector * Update _setPosition to not use items
* Menu refactor (#1277)toasted-nutbread2021-01-19
| | | | | | | | | | | | | | | | | | | | | * Rename menuOpened event to menuOpen * Rename menuClosed event to menuClose * Rename close event * Assign _isClosed * Reuse event detail * Expose PopupMenu.openMenus * Rename and expose properties * Add cancelable argument to close * Update menuOpen detail * Update menuClose detail
* Update copyright year (#1194)toasted-nutbread2021-01-01
| | | | | * Update copyright year * Remove redundant Author info
* Dictionary display updates (#1146)toasted-nutbread2020-12-20
| | | | | | | | | | | | | | | | | * Display dictionary-list as flex * Move styles * Move enabled toggle * Update details * Disable sorting based on priority * Update styles * Update title color when disabled * Update display style of secondary search dictionaries
* Updated welcome page (#1107)toasted-nutbread2020-12-13
| | | | | | | | | | | | | | | * Make storage controller optional * Make more elements optional * Update styles * Create new welcome page * Update URL for welcome guide * Remove old guide * Fix unused global
* Fix storage stats update error during dictionary deletion (#1106)toasted-nutbread2020-12-13
|
* Fix global declarations check (#1101)toasted-nutbread2020-12-12
| | | | | * Fix getSubstringCount not properly checking word boundaries * Remove unused global declarations
* Fix settings resetting not initializing dictionary settings properly (#1036)toasted-nutbread2020-11-15
|
* Settings controller changes (#990)toasted-nutbread2020-11-05
| | | | | * Make allowSecondarySearchesCheckbox optional * Move getDictionaryInfo into SettingsController
* Dictionary controllers update (#965)toasted-nutbread2020-10-27
| | | | | | | * Make purge notification optional * Support multiple warning nodes * Add support for optional count info
* 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
* 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
* Remove debug log (#924)toasted-nutbread2020-10-15
|
* Ensure settings exist for all installed dictionaries (#922)toasted-nutbread2020-10-14
|
* 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 modal controller class (#908)toasted-nutbread2020-10-10
| | | | | * Add ModalController * Use modalController instead of new Modal
* Settings templates refactor (#897)toasted-nutbread2020-10-07
| | | | | * Add template instantiation API to SettingsController * Use SettingsController.instantiateTemplate
* Fix dictionary settings not being deleted when deleting a single dictionary ↵toasted-nutbread2020-10-06
| | | | (#893)
* Dictionary delete improvements (#844)toasted-nutbread2020-09-19
| | | | | | | * Change where clearDatabaseCaches occurs * Move dictionary deletion into the settings page * Remove api.deleteDictionary
* Modal refactor (#842)toasted-nutbread2020-09-19
| | | | | * Add Modal class * Use Modal class
* Dictionary controller refactor (#831)toasted-nutbread2020-09-15
| | | | | * Create new DictionaryController * Update input disabling when modifying the database
* Database change event (#826)toasted-nutbread2020-09-13
| | | | | * Add api.triggerDatabaseUpdated and yomichan.on('databaseUpdated') * Update databaseUpdated event usage
* Settings controller file renaming (#794)toasted-nutbread2020-09-09
* Rename SettingsBackup to BackupController * Rename files to more closely match classes * Improve organization of script imports