From 0b02bf46c9fac64287b1fce338927e34b87f4144 Mon Sep 17 00:00:00 2001 From: Kuuuube <61125188+Kuuuube@users.noreply.github.com> Date: Sun, 12 May 2024 22:10:05 -0400 Subject: Rework settings (#884) * Add and remove settings from advanced * Add warning to Text scan length * Move Frequency sorting dictionary under Dictionaries, remove it from advanced, add child element Frequency sorting mode to advanced * Move Result grouping mode to Appearance * Move General above Dictionaries * Rename Popup Appearance to Appearance * Move Reading mode from Text Parsing to Appearance * Make Text scan length warning less scary * Move anki dupe settings back to advanced * Remove scan delay setting from welcome page * Move Recommended Permissions to top of welcome page, add bold, and add warning text * Improve wording of recommended permissions warning * Rename Enable content scanning to Enable Yomitan Co-authored-by: James Maa Signed-off-by: Kuuuube <61125188+Kuuuube@users.noreply.github.com> * Remove Auto-hide search popup option from welcome page * Fix appearance href and id * Add Result Display category * Add success text css * Split off quick start guide from welcome page * Add language selector on welcome page * Add success or danger text if recommended permissions are on or off * Remove unused placeholders in backup category * Rename Popup to Popup Behavior * Move Auto-hide search popup and Hide popup on cursor exit to Popup Behavior * Move Term display style, Reading mode, and Frequency display style to advanced * Move custom css to advanced * Remove unused setting * Add back setting with note and hidden * Remove Auto-hide search popup * Restore Auto-hide search popup * Fix Auto-hide search popup description --------- Signed-off-by: Kuuuube <61125188+Kuuuube@users.noreply.github.com> Co-authored-by: James Maa --- ext/welcome.html | 152 ++++++++++++------------------------------------------- 1 file changed, 33 insertions(+), 119 deletions(-) (limited to 'ext/welcome.html') diff --git a/ext/welcome.html b/ext/welcome.html index d15686a1..f2192686 100644 --- a/ext/welcome.html +++ b/ext/welcome.html @@ -26,6 +26,22 @@

Welcome to Yomitan!

+

Recommended Permissions (Important)

+
+
+
+
Enable recommended permissions
+
This will allow Yomitan to scan text from most sites. Further configuration is available on the Permissions page.
+ + + +
+
+ +
+
+
+
@@ -41,103 +57,37 @@

Here are some basics to get started

-
-
- Clicking the Yomitan button in the browser bar will open the quick-actions popup. -
-
-
- The cog button will open the Settings page. -
-
- The magnifying glass button will open the Search page, - enabling text and terms to be looked up using the installed dictionaries. - This can even be used in offline mode! -
-
- The question mark button will open the Information page, - which has some helpful information and links about Yomitan. -
-
-
-
-
- Yomitan requires one or more dictionaries to be installed in order to look up terms, kanji, and other information. - Several downloadable dictionaries can be found on the Yomitan homepage. - Dictionaries can be configured using the button below, - or later from the Settings page. -
-
-
-
-
Install or remove dictionaries…
-
-
- -
-
+
+
+
Yomitan Quick Start Guide
-
-
-
- You can also import an exported collection of dictionaries from the Backup section of the Settings page. - -

- - If you are migrating from Yomichan, you may be interested in importing your data into Yomitan. - Please follow instructions from Yomitan's README for that. - -

- - If you are using or planning to use custom templates for Anki note creation, note that some syntax has changed from Yomichan and Yomibaba. - Please ensure that your custom templates are using the updated syntax. -
-
-
-
- After dictionaries have been installed, webpage text can be scanned by moving the cursor while holding a modifier key. - The default key is Shift, which can be disabled or configured below. -
-
-
- Clicking the speaker button of an entry in the search results - will play an audio clip of a term's pronunciation using an online dictionary, if available. -
-
- Clicking on a kanji character in a term's definition will show additional information about that character. - (Requires a kanji dictionary to be installed.) -
+
+
-
-
-
- This startup notification can be turned off using the options below, or later from the Settings page. -
-
+
-

Recommended Permissions (Important)

+

Basic customization

-
Enable recommended permissions
-
This will allow Yomitan to scan text from most sites. Further configuration is available on the Permissions page.
+
Show this welcome guide on browser startup
- +
-
-
- -

Basic customization

-
-
+
-
Show this welcome guide on browser startup
+
+ Language +
+
+ Language of the text that is being looked up. +
- +
@@ -160,42 +110,6 @@
-
-
-
-
Auto-hide search popup
-
When no definitions are found after scanning text, the popup will be hidden.
-
-
- -
-
- -
-
-
-
Scan delay (in milliseconds)
-
Change the delay before scanning occurs when no modifier key is required.
-
-
- -
-
Theme
-- cgit v1.2.3