| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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 <stephenmk@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Change siteColor to siteTheme
* Fix potential null exception
* Simplify
* Update display theme assignment
* Add a data-browser-theme attribute
* Add "browser" option for theme
* Create ThemeController
* Add theme-controller.js to relevant pages
* Use ThemeController
* Simplify
* Fix 'light' being used instead of 'default'
* Update the settings values to more accurately reflect their usage
* Change default site theme in display.js
* Remove async
* Restore async for consistency
|
|
|
|
|
| |
* Update styles for the input action prevention modal
* Add information
|
|
|
|
|
| |
* Update the advanced toggle to have a custom color
* Add indicators to advanced-only settings
|
|
|
|
|
| |
* Remove use of --settings-group-inner-vertical-margin
* Update alignment
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update CSS to JSON converter to generalize the remove-property comment
* Fix navigation not being updated when _clearContent is run
* Add structured content schema for link tags
* Add test links
* Add external-link icon
* Pass Display instance to DisplayContentManager
* Update structured content generation
* Update link styles
|
|
|
|
|
|
|
| |
* Update eslint settings
* Update 2021 files
* Update other files
|
|
|
|
|
| |
* Implement new menu which includes a debug log option
* Update wording
|
|
|
|
|
| |
* Update display buttons
* Remove use of _addMultipleEventListeners
|
|
|
|
|
| |
* Update styles
* Limit the height of the query parser
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add sortDictionary/sortDictionaryOrder options
* Update options
* Add API.getTermFrequencies
* Add settings
* Implement frequency dictionary sorting
* Update test
* Update test data
* Fix handling of undefined rank-based frequencies
|
|
|
|
|
|
|
|
|
| |
* Use span rather than div for button badges
* Update action button icons
* Rename class
* Update current entry indicator
|
|
|
|
|
| |
* Remove unused
* Bold the suggested default field value
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Rename class
* Update styles
* Use input-group class
* Update styles
* Update input line height
* Update border styles
* Update styles
* Update line height
* Update styles
* Update line height
* Update line height
* Update outline item style
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* pitch-accents => pronunciations
* Update dataset property names
* pitch-accent-dictionary => pronunciation-dictionary
* Update styles
* Update template name
* Update attributes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Simplify svg and container styles
* Rename pitch-accent-details to pitch-accent-graph-container
* Rename pitch-accent-graph* to pronunciation-graph*
* Remove unused template
* Omit quotes
* Rename pitch-accent-character to pronunciation-mora
* Simplify names
* Replace pronunciation-mora-inner with pronunciation-character
* Improve grouping of nasal characters
* Simplify character replacement
* Replace pseudo-elements with real elements
* Use an element rather than a fragment
* Rename functions
* Add wrapper
* Rename pitch-accent-characters to pronunciation-text-container
* Update test data
* Update downstep notation generation
* Rename pitch-accent-position to pronunciation-downstep-notation-container
* Space
* Wrap pronunciations in a container node
* Update preview
* Embed pitch accent styles directly
|
|
|
|
|
|
|
|
|
| |
* Organize
* Add utility to get diacritic information about a character
* Show mora without diacritic
* Add a hidden handakuten for copy-paste purposes
|
|
|
|
|
|
|
|
|
|
|
| |
* Create PronunciationGenerator
* Update DisplayGenerator
* Update templates
* Move pronunciation styles to a separate file
* Simplify pitch-accents-preview.html
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update schema to support information about nasal and devoiced mora
* Expose nasalPositions and devoicePositions in dictionary entry data
* Expose nasalPositions, devoicePositions in grouped pitch info
* Update display generator
* Update test dictionary data
* Update test data
|
|
|
|
|
| |
* Update anki field marker menu to have less vertical padding
* Update positioning of field marker menu
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Install css
* Remove unnecessary rule
* Create CSS overrides file
* Create script to generate CSS JSON file
* Generate JSON
* Add test
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* Update schema
* Update content generation
* Update styles
* Update test data
* Update style names
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add support for imageRendering
* Make crisp-edges appearance on Firefox more similar to Chrome
* Refactor
* Add background option
* Move data-image-rendering attribute
* Restructure
* Organize
* Add support for appearance
* Update test dictionary
* Update tests
|
|
|
|
|
|
|
|
|
| |
* Fix case when subIndex is not assigned
* Fix incorrect assignment of primary card audio
* Improve opacity style
* Improve styles for :focus-visible
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add url/voice options to audio sources
* Add help for TTS
* Remove old settings
* Update tests
* Update use of audio source URL
* Improve labels for sources with the same type
|
|
|
|
|
| |
* Add support for sizeUnits on image content
* Update test data
|
|
|
|
|
|
|
|
|
|
|
| |
* Add structured content to schema
* Add support for generating custom content
* Update importer
* Update test data
* Add verticalAlign property
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Generalize image definition generation
* Enable optional aspect ratio
* Move styles
* Update styles
* Add more options for collapsing images
* Add image options for collapsing
* Improve layout for images that are collapsed
|
|
|
|
|
|
|
|
|
|
|
| |
* Change enableTerminationCharacters to terminationCharacterMode
* Update settings
* Update sentence extraction
* Update tests
* Add tests
|
|
|
|
|
|
|
|
|
| |
* Set up search page in the action popup
* Fix a style causing incorrect overflow
* Fix error when trying to take a screenshot
* Fix popup size on Firefox
|
| |
|
|
|
|
|
| |
* Improve overflow of internal pages
* Improve wrapping of the Origin: example text
|
| |
|
|
|
|
|
|
|
| |
location (#1651)
* Add "Move to" option
* Fix IDs
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update dictionary options layout
* Update extras
* Improve display when no dictionaries are installed
* Implement "All" toggle
* Move modal
* Update welcome page
* Remove resizer button
* Fix ordering
* Fix extra closing tag
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Proof-of-concept for showing card tags (#1626)
* Resolved most PR comments:
- Added a snackbar notification when clicking tag button
- Replaced magnifying glass icon with new tag icon
- Button now contains a span w/icon, to use text color
- Removed unnecessary attributes from button
- Backend now returns full noteInfos object
- Frontend now handles filtering tags
* Add options to show/hide tag button & filter tags
* Do not show tags button if, after filtering, we have zero tags.
* Change tags option to enums, optimize tags intersection check & fix code style.
* Update options-util.js to include new tag options.
* Fix wording on new tag setting.
* Add CSS to remove hidden buttons from the display layout.
* getAnkiNoteInfo extra parameter for additional info.
* Add new tag option to tests.
* Remove unnecessary changes related to anki tags option.
* Code style fixes.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update environment info to return the 'safari' browser
* Fix popup display on Safari
* Update environment assignment
* Add data-loading-stalled property when loading takes longer than expected
* Add notification when loading has stalled
* Allow getDictionaryInfo invocation on non-privileged contexts
* Update _validatePrivilegedMessageSender
* Don't listen to 'voiceschanged' event unless addEventListener is present
Also expose an event
|
| |
|
| |
|