aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed/js/display.js
Commit message (Collapse)AuthorAge
* Use CSS variables for themes (#528)toasted-nutbread2020-05-10
| | | | | | | | | | | | | | | | | | | * Update formatting * Merge default tag color with category-less tags * Use CSS variables for colors * Add dark theme colors * Move color variables into display.css * Remove old stylesheets * Update headings * Bump minimum Firefox version to support CSS var() * Revert popular kanji text color
* Modifier key profile condition (#487)siikamiika2020-05-03
| | | | | | | | | | | | | | | | | | | | | | | | | * update Frontend options on modifier change * add modifier key profile condition * use select element for modifier condition value * support "is" and "is not" modifier key conditions * use plural * remove dead null check it's never null in that function * pass element on rather than assigning to this * rename event * remove Firefox OS key to Meta detection * hide Meta from dropdown on Firefox * move input type
* Frontend refactor (part 1) (#484)toasted-nutbread2020-04-27
| | | | | | | | | | | | | | | | | | | * Remove _getVisualViewportScale * Use super's mouse event listener definitions * Remove redundant override * Remove getTouchEventListeners override * Rename Display.onSearchClear to onEscape * Change onSearchClear to clearSelection and use an event * Update how text is marked for selection and deselection * Replace onError with yomichan.logError * Update setEnabled to refresh all event listeners
* Update Popup and DisplayFloat optionsContext from Frontend (#464)siikamiika2020-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | * set optionsContext from Frontend * update Popup+Display options on Frontend change * remove popup setOptions * only update DisplayFloat options from Frontend * fix optionsContext usage * fix preview frame arguments * keep Frontend URL up to date * cache url * fix preview frame * trigger modifyingProfileChange in correct places * remove async from function not using await * refactor optionsContext in Frontend
* Add support for displaying imagestoasted-nutbread2020-04-18
|
* Fix overlapping audio.play calls due to awaittoasted-nutbread2020-04-18
|
* Await and handle errors from audio.play()toasted-nutbread2020-04-18
|
* Update styletoasted-nutbread2020-04-18
|
* Fix button title text not updating correctly in merge modetoasted-nutbread2020-04-18
|
* Return index of the source instead of the source valuetoasted-nutbread2020-04-18
|
* Disable cache on the backend and fix a bug with the cache keytoasted-nutbread2020-04-18
|
* Update the parameters passed to various audio-related functionstoasted-nutbread2020-04-18
|
* Merge pull request #437 from toasted-nutbread/backend-api-handler-changestoasted-nutbread2020-04-11
|\ | | | | Backend api handler changes
| * apiBroadcast => apiBroadcastTabtoasted-nutbread2020-04-10
| |
| * Rename apiForward to apiBroadcasttoasted-nutbread2020-04-07
| |
* | Update license author field to broader to explicitly reflect thatAlex Yatskov2020-04-10
|/ | | | | Yomichan is an ongoing community project. It really does take a village, and everyone who contributes code owns a part of it :)
* Fix not awaiting this._getNoteContexttoasted-nutbread2020-04-06
|
* Add overridable getDocumentTitletoasted-nutbread2020-04-06
|
* Add support for {document-title}toasted-nutbread2020-04-06
|
* Add custom context object for note creationtoasted-nutbread2020-04-06
|
* Rename context to detailstoasted-nutbread2020-04-06
|
* Add optionstoasted-nutbread2020-03-28
|
* remove targetPopupId 'all'siikamiika2020-03-21
| | | | Make unset targetPopupId mean the same thing instead
* apply all options on profile changesiikamiika2020-03-21
|
* Update global declarationstoasted-nutbread2020-03-10
|
* Rename audio functions using "url" to use "uri"toasted-nutbread2020-03-07
|
* Rename functiontoasted-nutbread2020-03-07
|
* Use dependency injection for getAudioUri implementationtoasted-nutbread2020-03-07
|
* Use AudioSystem in Displaytoasted-nutbread2020-03-07
|
* ensure Backend prepare in other placessiikamiika2020-03-02
|
* Fix audio buttons not being hidden properlytoasted-nutbread2020-03-01
|
* Move event handler definitionstoasted-nutbread2020-02-26
|
* Fix noteUsesScreenshot not checking modetoasted-nutbread2020-02-25
|
* Use for oftoasted-nutbread2020-02-25
|
* Use for oftoasted-nutbread2020-02-25
|
* temporarily disable navigation header mouse wheelsiikamiika2020-02-24
| | | | Unblock release #355, #376
* Create EventListenerCollection classtoasted-nutbread2020-02-16
|
* Use consistent timeout for both setContentTerms and setContentKanjitoasted-nutbread2020-02-15
|
* Use promiseTimeout instead of delaytoasted-nutbread2020-02-15
|
* Move error handling for apiDefinitionsAddabletoasted-nutbread2020-02-15
|
* Rename optionsUpdate event to optionsUpdatedtoasted-nutbread2020-02-14
| | | | | | Past tense better indicates that the options were changed, but no data is being included as part of the event. It is also more consistent with the other event names the yomichan object currently provides.
* Merge pull request #358 from toasted-nutbread/general-refactoringtoasted-nutbread2020-02-14
|\ | | | | General refactoring
| * Validate bounds of Display.definitions before usingtoasted-nutbread2020-02-13
| |
| * Use Map for audioGetFromSources's cache parametertoasted-nutbread2020-02-13
| |
* | remove extra setContentToken check from Displaysiikamiika2020-02-14
| |
* | Merge pull request #357 from siikamiika/simplify-display-preparesiikamiika2020-02-14
|\ \ | |/ |/| Simplify display prepare
| * use Promise.all to await dependenciessiikamiika2020-02-13
| |
| * remove isPrepared checksiikamiika2020-02-13
| |
| * rename display initialize methods to preparesiikamiika2020-02-13
| |
| * simplify DisplayGenerator initializationsiikamiika2020-02-13
| |