summaryrefslogtreecommitdiff
path: root/ext/bg/js/context-main.js
Commit message (Collapse)AuthorAge
* Settings v2 testing setup (#1084)toasted-nutbread2020-12-06
| | | | | | | | | * Add option for using settings v2 * Add options/info about settings v2 * Use settings v2 URL when applicable * Update tests
* Hide profile button if only one profile exists (#1045)toasted-nutbread2020-11-19
|
* Context popup improvements (#1039)toasted-nutbread2020-11-19
| | | | | | | | | | | | | | | | | | | | | * Refactor context-main.js * Simplify tags * Use flex layout * Use image masks for icons, update styles * Remove old classes * Add profile button * Add support for profile selection * Add title * Swap the options and search link order * Fix title
* Merge redundant toggle handling code (#693)toasted-nutbread2020-07-26
|
* Script ready state change (#672)toasted-nutbread2020-07-18
| | | | | | | * Update how backend/frontend ready states are awaited and signaled * Log errors on the search page * Update action name
* Refactor context-main.js (#671)toasted-nutbread2020-07-18
|
* Yomichan object separation (#627)toasted-nutbread2020-06-28
| | | | | | | | | | | | | * Move "yomichan" object setup to a separate file * Update script imports * Align message handlers * Rename Yomichan.prepare to Yomichan.ready * Add new prepare function * Improve isExtensionUrl
* Context popup update (#594)toasted-nutbread2020-06-21
| | | | | | | | | | * Add link to the help button * Update context.html to not use bootstrap Styles moved into a separate file Update icons * Update terminology to correspond to new icons
* API refactor (#532)toasted-nutbread2020-05-24
| | | | | | | | | | | | | * Convert api.js into a class instance * Use new api.* functions * Fix missing binds * Group functions with progress callbacks together * Change style * Fix API override not working
* Error logging refactoring (#454)toasted-nutbread2020-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Create new logging methods on yomichan object * Use new yomichan.logError instead of global logError * Remove old logError * Handle unhandledrejection events * Add addEventListener stub * Update log function * Update error conversion to support more types * Add log event * Add API log function * Log errors to the backend * Make error/warning logs update the badge * Clear log error indicator on extension button click * Log correct URL on the background page * Fix incorrect error conversion * Remove unhandledrejection handling Firefox doesn't support it properly. * Remove unused argument type from log function * Improve function name * Change console.warn to yomichan.logWarning * Move log forwarding initialization into main scripts
* Use IIFE for entry pointstoasted-nutbread2020-04-22
|
* Rename context.js to context-main.jstoasted-nutbread2020-04-19