summaryrefslogtreecommitdiff
path: root/ext/bg/search.html
Commit message (Collapse)AuthorAge
* Use Anki classes directly in Display (#804)toasted-nutbread2020-09-10
| | | | | | | | | | | * Add _getTemplates function * Add template renderer to display pages * Add AnkiNoteBuilder to Display * Update AnkiTemplatesController to directly use TemplateRenderer * Remove old APIs
* Move TextToSpeechAudio to a separate file (#800)toasted-nutbread2020-09-10
|
* Remove leftover handlebars.js imports (#728)toasted-nutbread2020-08-09
|
* DOM + DocumentUtil merge (#727)toasted-nutbread2020-08-09
| | | | | | | | | * Add DOM functions to DocumentUtil * Use DocumentUtil instead of DOM * Remove DOM * Move document-util.js into mixed
* Merge dictionary.js functions into Translator class (#726)toasted-nutbread2020-08-09
| | | | | | | | | | | | | * Move dictFieldSplit * Copy dictionary.js definitions into translator.js * Convert to member functions * Refactor names * Remove dictionary.js * Rename
* document.js refactor (#719)toasted-nutbread2020-08-09
| | | | | | | | | | | | | | | | | | | * Refactor document.js into a class * Move public functions first * Rename private functions * Rename * Rename argument * Use instance of DocumentUtil * Update tests * Refactor * Rename (test-)document.js to (test-)document-util.js
* More display refactoring (#697)toasted-nutbread2020-08-01
| | | | | | | | | | | | | | | | | | | * Remove some unnecessary _setQuery calls * Add support for forcing the query parser to be visible or hidden * Move _setEventListenersActive calls * Remove URL for kanji links * Refactor _setContentTermsOrKanji * Move search query text assignment into Display * Move title updates into Display * Move popup close calls * Prevent infinite loop of extension unload events
* Dictionary data utility class (#698)toasted-nutbread2020-07-30
| | | | | * Create utility class for helping format dictionary data * Change format
* Display history refactor (#691)toasted-nutbread2020-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Create DisplayHistory * Change arguments for _setContentTermsOrKanji * Set up history-driven content updates * Use new history only * Load definitions if missing * Refactor definitions getting * Add support for wildcards * Move definitions setup * Add events * Allow state change even if there is no history state * Update search page to use history * Fix history overwriting * Fix search page not seeing state chang events during prepare * Update state if necessary * Don't reassign query text if the same * Remove DisplayContext * Initialize with real history state * Track URL * Update DisplayHistory to support pseudo-history * Configure history settings on search page * Fix state * Use full URL * Change data format of setContent * Rename details to content * Update event arguments * Fix animation * Remove old state changes * Clear content properly * Remove set/clear content overrides * Fix setting up event listeners for content clear * Make clearContent private * Make focus opt-in * Validate source * Add unloaded type * Generalize content params * Update how extension unload content is assigned * Restore query blurring
* Query parser refactor (#683)toasted-nutbread2020-07-24
| | | | | * Rename files to better match class name * Don't pass setContent to QueryParser; use a generic event instead
* 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
* Use DOMTextScanner (#536)toasted-nutbread2020-06-21
| | | | | | | | | | | | | | | | | * Use DOMTextScanner instead of TextSourceRange.seek* * Move getNodesInRange to dom.js * Move anyNodeMatchesSelector to dom.js * Remove unused functions * Update tests * Add layoutAwareScan option * Use layoutAwareScan for source and sentence scanning * Remove unused IGNORE_TEXT_PATTERN
* Use cross frame API (#553)toasted-nutbread2020-06-07
| | | | | | | | | * Use new CrossFrameAPI for popup proxy communication * Remove use of old cross-frame communication classes * Remove use of old cross-frame communication files * Make the crossFrame object a member of the api object
* Style adjustments (#537)toasted-nutbread2020-05-24
| | | | | | | | | | | | | * Remove newlines for term-definition-item-template * Update how action button icons are styled * Fix spacing * Group text colors together * Correct image styles * Fix missing </span>
* 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
* Japanese util refactor (#510)toasted-nutbread2020-05-06
| | | | | | | | | | | * Convert mixed japanese.js to utility class * Copy functions from bg/js/japanese.js into mixed/js/japanese.js * Remove bg/js/japanese.js * Make wanakana dependency optional * Update tests
* Use dynamicLoader for main (#481)toasted-nutbread2020-04-26
| | | | | * Update style of search-main and float-main to have better parity * Use dynamicLoader to inject scripts and CSS
* Add Yomichan icon SVG (#478)toasted-nutbread2020-04-26
| | | | | | | * Create Yomichan icon SVG and 32x32 PNG * Update icons * Add 32x32 icon definition to HTML pages
* Rename search-frontend.js to search-main.jstoasted-nutbread2020-04-19
| | | | Also move DisplaySearch creation into the main() function.
* Add support for displaying imagestoasted-nutbread2020-04-18
|
* Move basic string/character testing functions into a mixed/js/japanese.jstoasted-nutbread2020-03-21
|
* Rename audio.js to audio-system.jstoasted-nutbread2020-03-07
|
* query parser html templatessiikamiika2020-02-10
|
* hide search input in native popupssiikamiika2020-02-09
|
* extract ClipboardMonitor from DisplaySearchsiikamiika2020-02-09
|
* Move japanese.js into bgtoasted-nutbread2020-02-08
|
* Move display templates into a single filetoasted-nutbread2020-01-16
|
* Update how spinner visibility is controlledtoasted-nutbread2020-01-16
|
* Update display content generation to use HTML templatestoasted-nutbread2020-01-16
|
* Use a single api.jstoasted-nutbread2019-12-13
|
* initial text scanner extractsiikamiika2019-12-05
|
* remove references to /fg/js/util.jssiikamiika2019-12-04
| | | | It doesn't exist
* move Display context to a new classsiikamiika2019-12-01
|
* Display history navigation buttons fixed positionsiikamiika2019-11-28
|
* Create DOM utility filetoasted-nutbread2019-11-26
|
* Rename extension.js to core.js to better reflect its usetoasted-nutbread2019-11-26
|
* add parser selectionsiikamiika2019-11-23
|
* add simple query parsersiikamiika2019-11-23
|
* search page checkbox stylingsiikamiika2019-11-10
| | | | Change checkboxes to color-inverting icons
* always disable scanning IME checkbox labelsiikamiika2019-11-09
|
* Add faviconstoasted-nutbread2019-11-02
|
* improve search page checkbox usabilitysiikamiika2019-10-28
| | | | | Disable text selection and make the entire area clickable, including whitespace
* make search page checkbox options persistsiikamiika2019-10-27
|
* add button to enable/disable wanakana IMEsiikamiika2019-10-26
|
* add clipboard monitor to search pagesiikamiika2019-10-26
| | | | Related to issue #262 about APIs
* Change #yomichan-float to .yomichan-floattoasted-nutbread2019-10-13
| | | | Since there can be more than one popup, using a class makes more sense than an ID.
* Leave default stylesheet enabled by defaulttoasted-nutbread2019-10-12
|
* Create themestoasted-nutbread2019-10-12
|
* Remove bootstrap styles from float.htmltoasted-nutbread2019-10-12
|
* Implement audio fallbackstoasted-nutbread2019-10-10
|