Giter VIP home page Giter VIP logo

krmanik / anki-xiehanzi Goto Github PK

View Code? Open in Web Editor NEW
150.0 4.0 17.0 160.31 MB

Learn, read, write and practice Mandarin by drawing strokes in Anki Desktop, AnkiDroid and AnkiMobile with audio of HSK 2.0 (HSK1-6) and HSK 3.0 (HSK 1-9) characters.

Home Page: https://krmanik.github.io/Anki-xiehanzi

License: Other

CSS 7.55% HTML 58.69% JavaScript 1.56% TypeScript 32.20%
anki ankidroid mandarin chinese-language practice-mandarin drawing-strokes hanzi hanzi-writer anki-xiehanzi anki-decks

anki-xiehanzi's People

Contributors

koynoyno avatar krmanik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

anki-xiehanzi's Issues

Same characters present in multiple HSK list

Hi There,

I'm using the package thru Anki (23.12.1 - iOS) and I'm founding the same characters in multiple HSK list.
By the way, the quantity of characters into each list seems to be much higher than the official one, so I'm struggling to understand why.

[Question] [Card 5]How do I change the colouring of the tones?

I figured out how to change the colours in the drawing box of Card 5 by adapting the style like this:

            case "char-tone1": return "#f44336";
            case "char-tone2": return "#02B31C";
            case "char-tone3": return "#1510F0";
            case "char-tone4": return "#8900BF";

(Those are the Pleco tone colours)
But the original colours still persist in the character at the top of the {Meaning} field. How can I change those, if possible at all?

Traditional won't show when selected, need to restart quiz (Android 6.0.1)

Hi, thanks for the latest update, you're a complete genius, now with your deck Anki flashcards got tight close to Pleco's (and even moved further when it comes to writing exercises).

Describe the bug
I still can't make Traditional forms appear in quizzes.

To Reproduce
Steps to reproduce the behavior:

  1. (On Android 6.0.1) Select 繁 in sideboard.
  2. Go to quiz.
  3. Still see Simplified (author has warned about it so it's ok), go to next flashcard.
  4. Simplified again.
  5. Tap 'Next' button in deck's UI (not Ankidroid's), then 'Restart Quiz'.
  6. Now Traditional form is displayed in quiz.

Expected behavior
Instantly switch to Traditional forms in quiz (or at least after moving to next card without the need to reload quiz everytime).

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop OS Windows 10.
Browser Edge.
Anki version Version ⁨2.1.49 (dc80804a)⁩ Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Smartphone (please complete the following information):

Samsung Galaxy Note 4 SM 9100 N.
OS: Android 6.0.1.
Browser: stock browser.
Version: AnkiDroid 2.15.6.

Additional context
Add any other context about the problem here.

How to enable the Writing Practice

So I downloaded the deck from the git hub and I downloaded the deck to Anki. However all I can see is the recognition part. How do I enable the writing practice for Anki PC, Web and mobile?

Do I need to download an add on?

Platform
Anki 2.1.66
OS Windows 10 Pro

Thanks so much for this deck.

Generation fails for "旅鼠"

Describe the bug
Attempting to create a deck containing the word "旅鼠" fails with:

Cannot read properties of null (reading 'length')
TypeError: Cannot read properties of null (reading 'length')
at Object.pinyinAndZhuyin (webpack-internal:///./src/dict/pinyinzhuyin.ts:7:236)
at fetchMeaningGoogleTranslate (webpack-internal:///./src/pages/create.tsx:41:2454)
at async searchAndAdd (webpack-internal:///./src/pages/create.tsx:41:3426)

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://krmanik.github.io/Anki-xiehanzi/create and progress until you can enter words.
  2. Open console
  3. Add 旅鼠
  4. Nothing happens (there is an error in the console, different to the one posted above due to minification)

Expected behavior
I expect the site to generate a card with "旅鼠"

Desktop (please complete the following information):

  • OS: macOS
  • Browser Chrome
  • Version 123.0.6312.123

Additional context
I don't know why the code is throwing the error:

        if (syllable === ',') {
            html += ' ,';
            text += ' ,';
            continue;
        }

Can I set default values of preferences?

First of all, I want to take this opportunity to thank you for this work! Amazing! Thank you :) Is there a place to donate?

I just downloaded the deck and I realized for every study session I need to set the preferences I have checked the documentation and I don't see any way to "Fix" or make it permanent between sessions. (From card to card remains the same)

I did try to edit the init functions, but I'm not managing to get the expected results, I can dedicate more time but I thought to ask if there is another way since I'm not very experienced with js.

Thank you!

Can't practice Traditional on Android (on Desktop all works well)

Describe the bug
On Android, it's impossible to show Traditional practice quiz (at the same time no such bug on Anki Desktop).

To Reproduce
Steps to reproduce the behavior:

  1. Choose 繁 in side panel.
  2. Go to next card.
  3. Practice is still Simplified.

Expected behavior
It's expected to change to Traditional after moving to next card (previously on older version deck (uncolored strokes) on Android the change was applied instantly).

Screenshots
None ATM.

Desktop (please complete the following information):

  • Desktop OS Windows 10.
  • Browser Edge.
  • Anki version Version ⁨2.1.49 (dc80804a)⁩ Python 3.8.6 Qt 5.14.2 PyQt 5.14.2

Smartphone (please complete the following information):

  • Samsung Galaxy Note 4 SM 9100 N.
  • OS: Android 6.0.1.
  • Browser: stock browser.
  • Version: AnkiDroid 2.15.6.

Additional context
Add any other context about the problem here.

impossible to draw characters offline

Hi There,

I cannot draw characters when I'm offline. Why is it not possible to dowmload all characters once in order to use the deck when & where we want?

iOS latest version
Anki 23.12.1

What is the difference between the different HSK 3 decks?

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Missing definition/translation when we learn characters from pinyin

There is 2 ways to practice the learn characters with your package:

  1. you provide the pinyin and the definition/translation and we have to draw it -> it's fantastic to learn !! Thx !!!
  2. you provide only the pinyin, without any definition and we have to visualize the character. the "issue" here is the fact that there is no definition and we can have several different characters with the same pinyin. So is it possible to had the definition, as for the 1, in order to be sure to get the correct character?

my bad, just realized I did not provide more details about conf: iOS version (23.12.1)

Add an option to disable the X-shaped grid

Hello,
Could you add an option (in the config menu for example) that could disable the X-shaped grid? (I'm talking about this one you can see behind the 休 character)
image
I'm not of a programmer so I'm too afraid to touch your code.

Thank you very much.

Additional Documentation for changing default settings

When going through version 1.1 cards, the following settings are turned on by default: outline, simplified, pinyin, meaning; the following are turned off: traditional; additionally, the stroke and size sliders are set in the middle. Personally, I would prefer to have the outline, simplified, or traditional options set to off by default and be tested on my ability to produce the correct character or set of characters given Pinyin and translation. While I can turn off the outline and simplified options while reviewing the cards, changes do not place until the present card is answered and the the next card is shown, so the first card shown ends up giving me an unwanted hint. Could you please add additional documentation on what specifically to change in the code to change default settings for each option?

Question concerning Version 2.0 of the Anki-xiehanzi deck (characters loading out of order w/o internet connection)

I have been trying to test the Version 2.0 deck on AnkiDroid.

Loading the character data seems to be working fine.
However, sometimes the characters seem to load out of order.
(e.g. if we have <char 1><char 2><char 3>. Sometimes, char2 is loaded before char1 or char3 is loaded before char1.

I was wondering if this was a known issue.
I have tried looking at the actual JS code (await writeFunction(), loadScripts), but I can't seem to pinpoint why this behavior is happening.

Kofi uses paypal, which is very annoying

I keep trying to leave you a tip, but end up being blocked by the paypal UI (it keeps deleting everything I put in).

Can you add another way to leave tips? Like, put your wechat or something?

Toggle function in Anki Mobile is really insensitive + Maobi Configuration doesn't work on Anki Mobile

Hello,

The app is spectacular by the way. I've learned how to write over 1000 characters with it, so thank you!

I want to report an issue in hopes of improving it for the next update.

  1. The toggle function in Anki Mobile (iOS) doesn't really respond to me clicking it. The only one that kind of respond to my finger is the "Outline" option when I slide it. The rest (Simplified, Traditional, Pinyin, and Meaning) will only respond if I click on them continuously or get a bit creative with my clicking. Sometimes it works if I click around the slider or if I press it harder. Sometimes I have to restart my Anki Mobile. The "Stroke" and "Size" function at the bottom surprisingly works really well. There's no problem with the desktop version.

This is a picture of the toggle options.
WechatIMG2034

  1. The Maobi configuration from the laptop version does not work on Anki Mobile. I have the configuration set to "show hint after 1 miss" but on Anki Mobile, it'll still take me 3 tries before the hint appears. I think the leniency setting doesn't work either but I can't be sure. The configuration works well on Anki desktop.

This is a picture of the configuration options. I accessed this from [edit] → [card] → [maobi].
image

Proposals for interface: back navigate and restart buttons, green/red dot reposition

Hello,
your addon is a masterpiece!
Thank you for your awesome job.

It's not an issue of course and not even so important, but just in case I'll put my proposals here:

  1. Can two buttons be added to the existing: the back navigate button (to see the previous hanzi, the same as existing forward button, but in the opposite direction) and the reset quiz button (to practice again).
  2. The green/red dot is very nice, but it takes a line of text which is sometimes essential on Android. Can this dot be repositioned, say, to lower left or any other corner of the stroke diagram, or to its central lower point? I want it to stay, it's very neat and even entertaining (who would expect it from a plain color dot yet?)) but also the overall layout to be more compact.

Thanks again!

Not to remove the last hanzi after entered (to better memorize) + avoid stretched writing pad in case of missing sound file

Is your feature request related to a problem? Please describe.
Feature proposal not a bug, only visual/cosmetic/effectiveness enhancements are needed

Describe the solution you'd like
Now after entering hanzi it disappears along with the writing pad itself (or, if there's no sound file, the hanzi disappears but the writing pad stays but in stretched/distorted way.
The solution I'd like is to keep the last (or the only) hanzi in anki card on even after entering to help better memorizing it. Also please allow to have Audio field empty but without distorted writing pad which appears in this case.

Describe alternatives you've considered
I used to fill Audio field with a nosoundfile.mp3 text in case of no real sound file which helped to avoid stretched writing pad. But this prevented TTS tags to speak up (because Audio field was not empty even though filled with a fake filename).

Additional context

Anki 2.1.49 (dc80804a) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2022-11-05 13:56:11


===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
'' ['reviewer_progress_bar', 0, 'None', '']
Add Hyperlink ['318752047', 2021-11-21T21:04, 'None', '']
Add a tag to notes with missing media ['2027876532', 2022-06-05T05:28, 'None', '']
Add note id ['1672832404', 2020-12-06T15:44, 'None', '']
Advanced Browser ['874215009', 2022-09-27T05:28, 'None', '']
Advanced Copy Fields ['1898445115', 2019-05-03T23:46, 'None', '']
Advanced Review Bottom Bar ['1136455830', 2022-09-29T18:31, 'None', mod]
Anki IPA ['799647424', 2022-10-23T21:26, 'None', mod]
Anki Simulator ['817108664', 2021-08-08T00:24, 'None', '']
AnkiConnect ['2055492159', 2022-09-19T05:11, 'None', '']
AnkiWebView Inspector ['31746032', 2022-04-09T00:44, 'None', '']
Answer Confirmation for 21 ['1354051622', 2019-04-04T17:54, 'None', '']
Automatic Scoring 2 sets the focus easy good hard again based on time ['238560501', 2019-12-17T19:42, 'None', '']
AwesomeTTS - Add speech to your flashcards ['1436550454', 2022-02-20T08:23, 'None', '']
Basic Printing Support ['1025789669', 2022-03-04T16:14, 'None', '']
Batch Editing ['291119185', 2019-06-02T23:47, 'None', '']
Batch Remove Formatting eg bold italics etc ['1734822644', 2018-09-24T20:34, 'None', '']
BetterSearch ['1052724801', 2021-11-21T23:42, 'None', '']
Browser TableEditor side-by-side horizontal split ['831846358', 2022-01-26T03:11, 'None', '']
CC-CEDICT for Anki Chinese dictionary ['418828045', 2022-03-23T17:22, 'None', mod]
Chinese Companion - frequency sort HSK suspend heisig support and more ['2129668097', 2018-11-22T18:55, 'None', '']
Chinese Prestudy ['882364911', 2020-11-03T11:43, 'None', mod]
Chinese Support Redux v0142 ['1128979221', 2021-03-29T07:19, 'None', mod]
Chinese Vocabulary Generator ['1370756741', 2021-02-24T13:07, 'None', '']
Chinese Words Finder ['2048169015', 2020-07-07T17:32, 'None', mod]
Chinese-Text-Scanner ['2121493325', 2020-06-28T09:53, 'None', mod]
Clickable Tags v20 ['1739176371', 2022-01-31T03:58, 'None', '']
Colorful Browser Sidebar ['929609616', 2021-09-09T23:03, 'None', mod]
Colorful Tags  Hierarchical Tags ['594329229', 2022-09-15T20:06, 'None', '']
Copy notes ['1566928056', 2021-12-25T00:56, 'None', '']
Countdown To Events and Exams ['1143540799', 2021-03-14T01:40, 'None', '']
Custom Background Image and Gear Icon ['1210908941', 2022-07-28T18:54, 'None', mod]
Deck name in title 21 ['699175524', 2019-06-01T06:05, 'None', '']
Duplicate Selected Notes ['2126361512', 2017-08-29T23:57, 'None', '']
Enhanced Cloze for Anki 21 ['1990296174', 2022-07-21T14:41, 'None', '']
External Note Editor for the Browser ['1996266159', 2020-04-01T01:59, 'None', '']
Fastbar- with nightmode support ['46611790', 2022-04-15T08:04, 'None', '']
Find and Replace in Card templatesNotetypesHTML ['992153575', 2021-09-17T11:34, 'None', '']
Flexible Cloze ['1632356464', 2022-10-16T16:30, 'None', '']
Highlight Search Results in the Browser ['225180905', 2021-03-10T22:06, 'None', '']
Image Editor ['307397307', 2022-09-08T09:09, 'None', '']
Image Occlusion Enhanced for Anki 21 alpha ['1374772155', 2020-04-28T07:21, 'None', '']
Image Style Editor ['1593969147', 2021-12-17T12:01, 'None', mod]
ImageResizer ['1214357311', 2022-07-15T18:05, 'None', '']
Load Balanced Scheduler ['208879074', 2018-10-05T05:06, 'None', '']
Localize Media ['1293255374', 2018-11-26T16:27, 'None', '']
Mini Format Pack ['295889520', 2018-07-24T22:45, 'None', '']
Minimize to tray ['85158043', 2021-12-13T21:59, 'None', '']
More Decks Stats and Time Left ['1556734708', 2022-10-09T17:05, 'None', '']
More Overview Stats ['2116130837', 2021-05-29T16:24, 'None', '']
Papercards - export  print flashcards to paper ['2042118948', 2021-05-14T06:58, 'None', mod]
Postpone cards review ['1152543397', 2021-02-13T21:47, 'None', '']
Rebuild All  Empty All for Anki 21 ['1810938259', 2018-07-20T09:40, 'None', '']
Refocus Card when Reviewing 21 ['1642550423', 2018-09-19T19:14, 'None', '']
Review Heatmap ['review_heatmap', 2020-04-30T18:23, 'None', '']
Search Bar ['1251668918', 2020-09-10T02:55, 'None', '']
Search and Replace Tags ['138501288', 2017-08-29T23:58, 'None', '']
Searching PDF Reading  Note-Taking in Add Dialog ['1781298089', 2021-09-17T15:24, 'None', mod]
See Previous Card Ratings in Reviewer ['1906641654', 2021-08-20T02:32, 'None', mod]
Sentence adder for any language with batch add option ['1682655437', 2022-06-16T16:30, 'None', '']
Syllabus - Anki Statistics and Export by Tag and Deck ['668156440', 2020-01-12T16:47, 'None', '']
True Retention ['613684242', 2017-11-20T01:43, 'None', '']
Zoom 21 ['1846592880', 2020-01-12T22:26, 'None', '']
add-on dialog searchfilter bar ['561945101', 2021-12-06T01:28, 'None', '']
extended editor for field for tables searchreplace ['805891399', 2022-03-13T15:51, 'None', '']
remove linebreaks  do word wrap ['2028179508', 2022-09-28T19:20, 'None', '']

===IDs of active AnkiWeb add-ons===
1025789669 1052724801 1128979221 1136455830 1143540799 1152543397 1210908941 1214357311 1251668918 1293255374 1354051622 1370756741 1374772155 138501288 1436550454 1556734708 1566928056 1593969147 1632356464 1642550423 1672832404 1682655437 1734822644 1739176371 1781298089 1810938259 1846592880 1898445115 1906641654 1990296174 1996266159 2027876532 2028179508 2042118948 2048169015 2055492159 208879074 2116130837 2121493325 2126361512 2129668097 225180905 238560501 291119185 295889520 307397307 31746032 318752047 418828045 46611790 561945101 594329229 613684242 668156440 699175524 799647424 805891399 817108664 831846358 85158043 874215009 882364911 929609616 992153575

===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Add Cards - Web Browser ['1783260740', 2020-10-28T11:35, 'None', '']
AddonBackup ['162231225', 2019-01-16T12:53, 'None', '']
Advanced Answer Sounds ['1167194350', 2022-05-29T12:30, 'None', mod]
Advanced Card Styles ['1625103157', 2021-09-23T16:51, 'None', '']
Anki Excel Sync ['1832015432', 2021-01-28T08:53, 'None', '']
Asset Manager ['656021484', 2021-08-30T02:07, 'None', '']
Audio Files ['1984823157', 2022-07-30T19:20, 'None', mod]
Automatic Basic to Cloze Updated ['800723229', 2022-07-11T17:12, 'None', '']
Automatic Scoring sets the default grade easy good hard again based on time ['1765221856', 2020-05-04T11:21, 'None', '']
Bury Cousins related cards that arent siblings ['1072815885', 2021-07-20T06:23, 'None', '']
Bury related notes ['413416269', 2020-04-03T12:55, 'None', '']
Button Colours Good Again ['2494384865', 2021-04-06T19:57, 'None', '']
CSS Injector - Change default editor styles ['181103283', 2022-05-28T18:57, 'None', '']
CTRLF5 to Refresh the Browser ['1347728560', 2019-07-30T11:36, 'None', '']
Card Info During Review ['2179254157', 2021-02-05T15:22, 'None', '']
Change Card Creation Times ['217650262', 2019-03-05T07:59, 'None', '']
Change Order of Review Cards in Regular Decks ['3731265543', 2018-10-13T03:47, 'None', '']
Chinese Getter ['972150718', 2021-06-23T19:27, 'None', '']
Chinese Pinyin Translator Zhuyin Bopomofo Gwoyeu Romatzyh ['1792056402', 2018-11-09T08:27, 'None', mod]
Closet For Anki ['272311064', 2021-04-12T19:09, 'None', '']
Cloze Anything ['330680661', 2021-12-09T12:34, 'None', '']
Cloze Hide All ['1709973686', 2021-09-11T15:00, '21.9.11i107', mod]
Cloze Overlapper for Anki 21 ['109531687', 2021-01-12T08:12, 'None', '']
Color Confirmation ['1084228676', 2020-03-14T17:13, 'None', mod]
Create Filtered Deck from the Browser ['861263371', 2017-08-29T23:57, 'None', '']
Customize Editor Stylesheet ['1215991469', 2018-09-04T20:03, 'None', '']
Customize Keyboard Shortcuts ['24411424', 2022-06-29T11:13, 'None', '']
Duplicate and Reorder ['1114271285', 2022-06-30T02:04, 'None', '']
Duplicate and Reorder ['duplicate_and_reorder', 2020-10-16T21:56, 'None', mod]
Edit Field During Review Cloze ['385888438', 2022-06-27T14:48, '6.13', mod]
Export in CSV format ['1478130872', 2019-01-21T23:21, 'None', '']
Extended Card Stats During Review ['1008566916', 2017-08-29T23:59, 'None', '']
Extended Tag AddEdit Dialog ['1135507717', 2022-03-13T15:41, 'None', '']
Fanfare ['2073603704', 2020-04-01T12:21, 'None', '']
Fast cards reposition ['544982740', 2021-09-19T18:51, 'None', '']
Fill the blanks - Multiple typecloze support ['1933645497', 2021-08-06T00:38, 'None', '']
HyperTTS - Add speech to your flashcards ['111623432', 2022-07-13T19:09, 'None', mod]
Incremental Reading v4103 ['935264945', 2019-04-21T17:54, 'None', '']
Legacy Remove HTML ['1101026246', 2021-01-25T00:40, 'None', '']
Let it Snow ['321075516', 2017-12-21T21:48, 'None', '']
Maximum image height and width in card editor ['229181581', 2021-07-23T11:01, 'None', '']
MorphMan for Anki 21 ['900801631', 2022-01-30T03:23, 'None', '']
Multi-column note editor ['3491767031', 2021-11-02T20:18, 'None', '']
Multiple Choice for Anki ['1566095810', 2022-11-01T00:52, 'None', '']
New Format Pack ['1187194862', 2021-08-10T05:41, 'None', '']
Persistent Editor ['1686259334', 2021-02-12T05:05, 'None', '']
Quick Colour Changing ['2491935955', 2022-07-24T09:29, 'None', '']
Remaining time for Anki 21 ['1508357010', 2020-12-13T19:14, '20.12.13i151', mod]
Reset Card Scheduling ['300884351', 2018-09-18T21:17, 'None', '']
Reset review log ['1345711295', 2020-06-05T12:03, 'None', '']
Resize images in editor ['1103084694', 2021-07-19T11:35, 'None', mod]
Review First ['181194973', 2019-03-06T22:47, 'None', '']
Scale Images ['1312865748', 2022-04-19T23:59, 'None', '']
Special Fields ['1102281552', 2022-02-23T22:27, 'None', '']
Speed Focus Mode ['speed_focus_mode', 2019-06-29T03:35, 'None', '']
TagSelectorV2 ['1022577188', 2021-08-07T16:28, 'None', '']
The KING of Button Add-ons ['374005964', 2020-04-18T03:33, 'None', '']
Web Browser - Search terms Import texts and images automatically ['864545277', 2022-08-03T01:49, 'None', '']
blank ['1690290745', 2021-05-04T16:04, 'None', '']
maobi - Chinese Hanzi Writing Quizzes in Anki v0 5 2 ['931477147', 2021-02-21T22:14, 'None', mod]
show new siblings in order  no same day spacingrandomization for new siblings ['268644742', 2020-02-18T23:41, 'None', '']

下来 with the wrong tone

Hey There,

the character 下来 (xià lái) seems to have the wrong tone mentioned. 来 is indicated with the 5th tone "lai" instead of "lái".
I was able to correct the pinyin directly into the card, but I did not find the way to correct the "tone color"

Hanzi Outline switcher does not work on desktop

The switcher for the hanzi outline does not work on the PC. When toggling the switcher to "off", the outline stays visible, and the switcher is back to "on" on the next card.

I also tried it on another PC. Doesn't work.

On mobile it works fine.

Any way to fix this?

Remove the pinyin from the 'meanings' field

Hi, I messaged you on Reddit.

I was wondering if it's possible to remove the pinyin from 'meanings' field since there already is a pinyin field and I don't want to see the pinyin when testing my recall. Card type 1 is already possible but I can't set up card type 2.

Card type 1 (testing my reading):
Front (hanzi) --- > Back (pinyin, meaning, audio)
Card type 2 (to test my recall):
Front (meaning) --> Back (hanzi, pinyin, audio)

How to default to simplified

Hi, i have a question to make the template just for simplified. What part of the template I need to change to make to have only simplified characters? So I want to remove the "turn on and off" traditional characters option from the settings menu and be the simplified always the default. I notice if I delete some id the template gets an error and it is unusable. Thank you

Menu icons not displaying, including when downloaded from GitHub releases

Describe the bug
Menu icons (material) are missing from the deck

To Reproduce
Steps to reproduce the behavior:

  1. Open deck
  2. Flip card to back
  3. Menu icons are not displayed

Expected behavior
Menu icons should be displayed

Screenshots
image

Desktop (please complete the following information):

  • OS: macOS Apple Silicon
  • Browser: AnkiDesktop
  • Version 24.04

Additional context
I saw the previously closed issue reporting the same problem, but the issue #37 appears to still exist.

.

.

Side buttons not working on new cards

I tried to update my old Xiehanzi 3.0 deck with the new Xiehanzi 3.0 write card style by copy and pasting the front, back and styling sections into their respective places on my old deck, my old deck looked right but the buttons that control what fields are displayed were all unchecked and they did not save between cards like the new xiehanzi 3.0 deck's cards did. I tried adding cards to the new xiehanzi 3.0 decks with pleco but they had the same problem as the cards from my old deck. Is there something about the new xiehanzi 3.0 deck that is different that makes the persistence work compared to my old deck?

I had the problem on my android and PC versions of anki, while the new versions of the decks worked.

Changes in sidebar (hint before misses, stroke width) has no effect on appearance and behaviour, + keyboard doesn't popup, have to paste

Describe the bug
Changes in sidebar (hint before misses, stroke width) has no effect on appearance and behaviour, + keyboard doesn't popup on tap on field, have to write elsewhere then copy-paste.
To Reproduce
Steps to reproduce the behavior:

  1. On Ankidroid, open sidebar.
  2. Click on 'hint before misses', ‘stroke width'.
  3. No keyboard appears.
  4. Write the desired numbers elsewhere, then copy-paste.
  5. After inputting altered parameters, the width and erroneous tries before hint stay the same.

Expected behavior
Keyboard pops up, on entering altered numbers stroke width and tries before hint shall also alter in prescribed ways.

Desktop (please complete the following information):

Desktop OS Windows 10.
Browser Edge.
Anki version Version ⁨2.1.49 (dc80804a)⁩ Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Smartphone (please complete the following information):

Samsung Galaxy Note 4 SM 9100 N.
OS: Android 6.0.1.
Browser: stock browser.
Version: AnkiDroid 2.15.6.

graphic tablet support for drawing

Hi! Thanks again for your great decks! (btw back to our past conversation I'm almost there with dictionary deck based on your notetype, hope to share it soon)

I tried to draw hanzi using graphic tablet but the results were bad - I could only make a very short lines which weren't enough to be recognized (drawing in Paint etc is fine). I also tried all the possible sensitivity settings on the tablet to no avail.

I think on desktop, tablets are very handy way to practice drawing hanzis' strokes (which is one of your decks' great features).

Perhaps it's possible to adjust query intervals or otherwise make the Javascript not to give up getting data from the (unfinished yet) stroke?

I'm also attaching some videos to clarify the issue:

problems.when.using.tablet.mp4
successful.drawing.with.mouse.mp4
successful.drawing.with.tablet.in.paint.mp4

To have separate toggles for front and back sides

Is your feature request related to a problem? Please describe.
I want to hide pinyin from the front side so I could recall it. I use the side menu toggle to hide it. However, I want to confirm that I memorized it correctly, so I still need to see pinyin on the back side. Currently, the toggle hides it for both sides.

Describe the solution you'd like
To have separate toggles for front and back sides.

Screenshots

Screenshot 2024-02-22 at 8 19 40 PM
Screenshot 2024-02-22 at 8 19 46 PM

Writing quiz not working on my mobile phone (ankidroid)

I saw that you said it only works on certain devices due to javascript errors, and that's what happened on my phone. Works perfectly on my tablet. Any solutions for this or is it just unfixable?
I cannot even bring up the menus or click the buttons.
Thank you.

Great job + a small bug issue

Hi Mani, thank you for your great job, the last update is just fantastic!
A little bug but I think that's mostly because of my old Android version (6.0.1) - changes in stroke width don't change anything, only modifying it in code helps.
But that's rather minor issue and not so important at all.
Thanks again!

Tone-colored drawing lines

Is your feature request related to a problem? Please describe.
Not a problem, feature suggestion.

Describe the solution you'd like
To make the drawing color be also tone-specific (now black/white) like strokes are colored now depending on tones.
You know, like if you are using colored ink to draw...
So that the drawing and stroke colors are identical. That'd be great for memorizing tones together with already implemented color features.

Describe alternatives you've considered
Tried to understand the code to enhance it in the above-mentioned way... but failed (

Additional context
No additional context ATM

Pinyin should not be present in {{Meaning}} field.

I think the destination of the field should be respected.

I would like to customize this deck but the presence of pinyin in the meaning field makes it tedious (I don't use pinyin but zhuyin)

If you want to display Pinyin I think it would be better to use the {{Pinyin}} field.

Thanks for sharing anyway.
It's nice to have a high quality deck with the new HSK.

Make 'blink' in the end of quiz the same color as the hanzi just entered

Is your feature request related to a problem? Please describe.
After you enter a hanzi in quiz field, the hanzi kinda 'blinks' in blue color.
If you use colored hanzi, any other color can spoil the color accelerated memorization process.

Describe the solution you'd like
Remove this final blink or make it the same color as the hanzi just entered.

Describe alternatives you've considered
None.

Additional context
The 'blink' can be seen on this project's main page animated screenshots.

writer.quiz(); does not show anything

Thanks for making this awesome apkg. However, I can't get some cards to work on Windows 10 or my iPad when using an apple pencil or just mouse cursor.
doesnotwork
This one works:
working

Front side options of create website not working

Describe the bug
If I create deck through https://krmanik.github.io/Anki-xiehanzi/create/ and don't select all the options for the front side, I still have all options enabled by default in the deck on Ankidroid.

This is annoying because I use it to learn the characters and need to hide it everytime I open the deck and spoil the first character.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://krmanik.github.io/Anki-xiehanzi/create/
  2. Check pinyin, english definitions and Writing Component
  3. Go to next page
  4. Input 爱
  5. generate deck
  6. import deck into ankidroid
  7. open deck

Expected behavior
I only see the pinyin, english definitions and empty writing component

Actual behavior
I see the simplified and tradtional version and the writing components contains the outline of the character.

Screenshots
image
image

Smartphone (please complete the following information):

  • Device: Pixel 6a
  • App: Ankidroid Flashcards v2.17

Additional context
It seems like that if i unselect the writing component it works.

Add ability to save default preferences (in sidebar)

Is your feature request related to a problem? Please describe.
Every session need to enable/disable parameters in sidebar, as they reset every time you start a new session (reload Ankidroid).

Describe the solution you'd like
Add ability to save default preferences between sessions and/or reloads of Ankidroid (in UI or like in previous version - in the code itself by changing True to False and vice versa in default active/inactive section of code - in new version code I didn't find anything of this kind).

Describe alternatives you've considered
Tried to find appropriate pieces of code but didn't find any (unlike in previous version, where it was clearly set in code).

<script>
    var default_show_outline = true;
    var default_practice_simplified = false;
    var default_show_simplified = false;
    var default_show_traditional = false;
    var default_show_pinyin = false;
    var default_show_meaning = false;
</script>

Additional context
Offtop: Where is the color for grid lines set? New color is too dark for me (almost not seen), but the previous, again, was too light ). Would be great to make it a bit lighter grey.

How to close the right panel giving access to third-party app such as Pleco

I'm using pretty frequently the "link" with Pleco in order to see strokes order or to have more details about character, and for that I'm using the 3 dots to open a panel on the right side. However I did not find the way to close this panel in order to get the full screen back. Am I missing something or it's not possible to close this panel?

Conf: iOS version (23.12.1)

Writing feature not working on AnkiDroid

Describe the bug
All other features of the deck work except for the writing plugin, on the latest version.
I have also tried hosting the library locally using termux.

1000005137
1000005138

  • Device: [OnePlus 11]
  • OS: [Android 13 (Oxygen OS 13.1)]
  • AnkiDroid Version [2.16.4]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.