summaryrefslogtreecommitdiff
path: root/ext/bg/js/context-main.js
Commit message (Collapse)AuthorAge
* Permissions button in browser action popup (#1368)toasted-nutbread2021-02-11
| | | | | | | | | | | | | | | | | | | | | * Add key icon * Update context icon styles * Add permissions links * Show warning badge if permissions are insufficient for certain settings * Create PermissionsUtil * Use PermissionsUtil in Backend * Update SettingsController to use PermissionsUtil * Update AnkiController to use getRequiredPermissionsForAnkiFieldValue * Show the permissions buttons/links on the context page when necessary * Update MV3 compatibility
* Improve context page display on mobile (#1359)toasted-nutbread2021-02-08
|
* Improve dictionaries not enabled badges (#1349)toasted-nutbread2021-02-08
| | | | | * Improve badges on the settings page * Add badges on the context page
* Hotkey help controller (#1272)toasted-nutbread2021-01-18
| | | | | | | | | | | * Create HotkeyHelpController * Expose getAllTemplates * Update hotkeys on the context page * Update hotkeys on the display pages * Fix display issue where a hotkey used to be defined but no longer is
* Command refactor (#1271)toasted-nutbread2021-01-18
| | | | | * Change selectors * Change openHelpPage to openInfoPage
* Update extension shortcuts (#1246)toasted-nutbread2021-01-16
| | | | | * Update commands * Add command to open the popup window
* Update copyright year (#1194)toasted-nutbread2021-01-01
| | | | | * Update copyright year * Remove redundant Author info
* 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
* 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