<feed xmlns='http://www.w3.org/2005/Atom'>
<title>yomitan/test, branch 22.6.6.0</title>
<subtitle>refold-tools yomitan fork</subtitle>
<id>https://git.pipeframe.xyz/fork/yomitan/atom?h=22.6.6.0</id>
<link rel='self' href='https://git.pipeframe.xyz/fork/yomitan/atom?h=22.6.6.0'/>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/'/>
<updated>2022-06-03T21:11:32+00:00</updated>
<entry>
<title>Touch and pen input updates (#2172)</title>
<updated>2022-06-03T21:11:32+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2022-06-03T21:11:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=c966d9b1ebb12386ac876d93f377fe3a470c6976'/>
<id>urn:sha1:c966d9b1ebb12386ac876d93f377fe3a470c6976</id>
<content type='text'>
* Remove unnecessary return

* Move touch start input filtering

* Refactor

* Add scanOnTouchPress

* Add preventPenScrolling

* Rename scanOnPenPress to scanOnPenMove

* Rename scanOnPenRelease to scanOnPenReleaseHover

* Simplify

* Refactor _searchAtFromPen early exit

* Merge _penPointerPressed and _penPointerReleased into a single variable

* Add more options

* Simplify pen pointer coordinates

* Implement scanOnPenPress and scanOnPenRelease

* Implement scanOnTouchRelease

* Fix tests

* Don't search on touch cancel

* Cancel touch if the touch action is used for scrolling or other gestures

* Fix incorrect scroll prevention options being used

* Organize options

* Fix typos</content>
</entry>
<entry>
<title>Add support for Anki API key (#2169)</title>
<updated>2022-05-30T16:03:24+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2022-05-30T16:03:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=19bba07a8bccb51a9db85c13fd921d825defe753'/>
<id>urn:sha1:19bba07a8bccb51a9db85c13fd921d825defe753</id>
<content type='text'>
* Update material.css to support password fields

* Support password

* Add "apiKey" setting

* Use apiKey

* Update options if API key changes

* Update tests</content>
</entry>
<entry>
<title>Add support for guiEditNote to view notes (#2143)</title>
<updated>2022-05-30T01:24:41+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2022-05-30T01:24:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=331a2e62941e04a4d50a21faefed663a92ddc00a'/>
<id>urn:sha1:331a2e62941e04a4d50a21faefed663a92ddc00a</id>
<content type='text'>
* Add AnkiConnect.guiEditNote

* Update _onApiNoteView to first try guiEditNote

* Add setting

* Update noteView API

* Use setting

* Return which mode was used

* Update DisplayGenerator

* Handle errors in DisplayAnki

* Update docs

* Add isErrorUnsupportedAction function

* Add an allowFallback option to noteView

* Disambiguate

* Simplify now that preferredMode isn't used

* Update settings info

* Implement test buttons

* Update styles

* Update status visibility

* Wrap layout

* Update description

* Update date</content>
</entry>
<entry>
<title>ESlint JSdoc (#2148)</title>
<updated>2022-05-20T14:28:38+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2022-05-20T14:28:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=31e20c889e467aa4ba64b0b5baf602adc1359371'/>
<id>urn:sha1:31e20c889e467aa4ba64b0b5baf602adc1359371</id>
<content type='text'>
* Install eslint-plugin-jsdoc

* Initial rules setup

* Update lists

* Use @returns rather than @return

* Remove error throwing code which is never executed

* Fix issues relating to @throws

* General error fixes

* Update Display type documentation

* Various doc fixes

* Fix invalid tuple syntax

* Doc updates

* Remove unused

* Doc updates

* Enable jsdoc/require-returns

* Update rules

* Update remaining rules</content>
</entry>
<entry>
<title>Parse5 update (#2140)</title>
<updated>2022-05-17T01:25:05+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2022-05-17T01:25:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=9941d583a07dd0ec8c7740783ca8665f52331f3d'/>
<id>urn:sha1:9941d583a07dd0ec8c7740783ca8665f52331f3d</id>
<content type='text'>
* Update build-libs.js

* Add a test for build-libs.js

* Update parse5

* Rebuild parse5

* Update build-libs.js to generate consistent path names

* Rebuild</content>
</entry>
<entry>
<title>Dictionary validate updates (#2137)</title>
<updated>2022-05-17T00:09:38+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2022-05-17T00:09:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=5a723034b8ac9eb86854bdcb16f624d18fa17178'/>
<id>urn:sha1:5a723034b8ac9eb86854bdcb16f624d18fa17178</id>
<content type='text'>
* Reuse JsomSchema instance

* Install ajv

* Add support for using ajv as a JSON schema validator

* Update usage</content>
</entry>
<entry>
<title>Update structured content tests (#2134)</title>
<updated>2022-05-14T22:45:18+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2022-05-14T22:45:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=8b206e4d0458892d30661353bfb95c6dcefe5b67'/>
<id>urn:sha1:8b206e4d0458892d30661353bfb95c6dcefe5b67</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Structured content auto language (#2131)</title>
<updated>2022-05-14T22:12:57+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2022-05-14T22:12:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=5dcc2315d242bcec29cc478618d448c941f73ab1'/>
<id>urn:sha1:5dcc2315d242bcec29cc478618d448c941f73ab1</id>
<content type='text'>
* Pass JapaneseUtil instance to StructuredContentGenerator

* Move body of createStructuredContent to an internal function

* Create _createStructuredContentGenericElement

* Wrap structured content in a &lt;span&gt;

* Change _createStructuredContent to _appendStructuredContent

* Add public appendStructuredContent function

* Add missing return

* Remove unused _createDocumentFragment

* Automatically assign lang=ja for content with Japanese characters
without an explicit language

* Add test</content>
</entry>
<entry>
<title>Add new structured content features: lists and the HTML `lang` attribute (#2129)</title>
<updated>2022-05-14T13:59:38+00:00</updated>
<author>
<name>Stephen Kraus</name>
<email>8003332+stephenmk@users.noreply.github.com</email>
</author>
<published>2022-05-14T13:59:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=6a74746113c724e750620d10b58ad6bac94060c9'/>
<id>urn:sha1:6a74746113c724e750620d10b58ad6bac94060c9</id>
<content type='text'>
* Add support for structured content lists and `list-style-type` style

A full list of supported style types is documented here:
https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type

There's nothing in this code preventing a term bank from assigning,
for example, a `list-style-type` style to a `div` element, but it
doesn't seem like browsers will complain about things like that.

* Add support for `lang` attribute in structured content

Support added for the following node types:

"ruby", "rt", "rp", "table", "thead", "tbody", "tfoot", "tr", "td",
"th", "span", "div", "ol", "ul", "li", "a"

I couldn't get it to work for the alt-hover text on "img" tags.

Tests are included in the file
"test/data/dictionaries/valid-dictionary/term_bank_1.json"

* Add styles for structured content lists

* Add override rules for new structured-content list styles

see: https://github.com/FooSoft/yomichan/pull/2129

Co-authored-by: stephenmk &lt;stephenmk@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>Hide popup on cursor exit (#2109)</title>
<updated>2022-04-04T02:52:53+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2022-04-04T02:52:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=e5b53bb238e59b1cd6371c0379d6171a3e1e68fa'/>
<id>urn:sha1:e5b53bb238e59b1cd6371c0379d6171a3e1e68fa</id>
<content type='text'>
* Update phrasing

* Add new options

* Add settings

* Implement</content>
</entry>
</feed>
