Blog / October 2021
-
22 October 2021Small update today : improve Dictionary's "empty state"
Today's small update improves the experience when Koohii's builtin Dictionary doesn't return results.
Prior to the update the Dictionary (as seen in Study pages, or during Flashcard Reviews), would show a somewhat cryptic message: There are no common words using this character.
This isn't a very good experience. There are no "next steps". We don't know what exactly are "common words", and maybe we'd still like to see where this kanji appears even if those are place names or rare words.
Now when no "common words" are found for a given kanji:
- display a helpful link to search words on external site(s) (currently jisho.org but we could add more)
- provide a link to the relevant section of the Help page, which explains what "common words" exactly mean and gives more in depth information about the Dictionary's sources
A simple example new RTK students will quickly run into is the kanji "companion" 朋 (Heisig index #19). This is an interesting example: on jisho.org you'll see that there is a "common word" shown, however it uses a different kanji. So when Koohii's dictionary says "there are no common words" it means it literally, because it's showing results for this particular kanji. In this case, the word 友 (とも) will appear in the dictionary results for the kanji "friend" 友.
Feedback about this particular update is welcome in Feature/improve dictionary empty state #214 on Github.
-
14 October 2021Fixed issue with saving stories using certain unicode characters
Today's update includes a fix for Issue #169.
Warn user before saving a story which contains unsupported unicode characters
There was an issue whereby any text after one of those extended unicode characters would be truncated when saving the story... admittedly quite frustrating experience for the user. It's never fun to see your edits disappear and have no feedback.
Now you'll see an error message when saving a story that contains any characters (including some emojis) that can't be saved properly.
For the technically inclined, this means any characters whose unicode value is greather than 0xFFFF (or 65535) which is too large for UCS-2.
In an ideal world the database should support all unicode characters, including CJK Unified Ideographs Extension B and above.
As of today in practice all kanji and hanzi from RTK Volume 1/3, as well as RTH and RSH (Remembering the Hanzi books) are supported, both in Study pages and referencing in stories.
However there are many rare forms of kanji as well as certain symbols and punctuation marks that can be found sometimes in Japanese text, which unfortunately can not be saved into a story (a typical example would be when you want to reference "primitives" aka "radicals", some of them have a valid UCS-2 code, but many can't be saved into the story as they are part of those CJK Extended ranges).
Changes under the hood
From today the live site is now updated with all the refactoring I have done in feature/use-vite. In a nutshell, all legacy Javascript and Css was unified under a new Vite build. These are really good changes, that give a new lifespan to the "front end" side of the code, allowing me to do things I was completely stuck before. There should be no impact on the site's performance... in theory it should even perform a little better though likely not noticeable for most.
With so many structural changes under the hood I hope I didn't introduce any new issues... if I did it will be small things I can take care of fairly quickly so please let me know if you notice any new issues from today.
By Month
- Oct 2024 (1)
- Sep 2024 (1)
- Jun 2024 (2)
- May 2024 (4)
- Apr 2024 (3)
- Mar 2024 (1)
- Feb 2024 (1)
- Dec 2023 (1)
- Nov 2023 (2)
- Oct 2023 (2)
- Apr 2023 (2)
- Mar 2023 (2)
- Feb 2023 (1)
- Jan 2023 (2)
- Dec 2022 (1)
- Nov 2022 (2)
- Oct 2022 (3)
- Sep 2022 (1)
- May 2022 (4)
- Apr 2022 (1)
- Feb 2022 (2)
- Jan 2022 (2)
- Dec 2021 (4)
- Nov 2021 (2)
- Oct 2021 (2)
- Sep 2021 (2)
- Aug 2021 (1)
- Apr 2021 (2)
- Feb 2021 (3)
- Jan 2021 (3)
- Dec 2020 (1)
- Nov 2020 (1)
- May 2020 (1)
- Apr 2020 (1)
- Jan 2020 (1)
- Oct 2019 (1)
- Sep 2019 (1)
- Aug 2019 (4)
- Jul 2019 (3)
- Jun 2019 (1)
- May 2019 (1)
- Mar 2019 (2)
- Jan 2019 (1)
- Nov 2018 (3)
- Oct 2018 (8)
- Sep 2018 (4)
- Aug 2018 (3)
- Jul 2018 (1)
- Jun 2018 (4)
- May 2018 (1)
- Apr 2018 (1)
- Mar 2018 (1)
- Jan 2018 (1)
- Dec 2017 (6)
- Nov 2017 (4)
- Oct 2017 (4)
- Sep 2017 (5)
- Aug 2017 (5)
- Jun 2017 (3)
- May 2017 (2)
- Apr 2017 (3)
- Mar 2017 (7)
- Feb 2017 (10)
- Jan 2017 (11)
- Dec 2016 (6)
- Nov 2016 (5)
- Oct 2016 (6)
- Sep 2016 (7)
- Aug 2016 (3)
- May 2016 (1)
- Mar 2016 (2)
- Jan 2016 (1)
- Dec 2015 (3)
- Nov 2015 (1)
- Oct 2015 (1)
- Sep 2015 (7)
- Jul 2015 (2)
- Jun 2015 (1)
- May 2015 (5)
- Apr 2015 (4)
- Mar 2015 (5)
- Feb 2015 (4)
- Jan 2015 (5)
- Dec 2014 (4)
- Nov 2014 (3)
- Oct 2014 (2)
- Jun 2014 (1)
- Apr 2014 (2)
- Mar 2014 (4)
- Feb 2014 (3)
- Jan 2014 (4)
- Dec 2013 (2)
- Oct 2013 (1)
- Sep 2013 (1)
- Jun 2013 (4)
- May 2013 (1)
- Mar 2013 (1)
- Jan 2013 (2)
- Oct 2012 (2)
- Aug 2012 (1)
- Jul 2012 (2)
- Jun 2012 (2)
- May 2012 (1)
- Mar 2012 (2)
- May 2011 (1)
- Apr 2011 (4)
- Mar 2011 (3)
- Feb 2011 (2)
- Jan 2011 (2)
- Dec 2010 (8)
- Nov 2010 (8)
- Oct 2010 (3)
- Sep 2010 (3)
- Aug 2010 (1)
- Jul 2010 (2)
- Jun 2010 (5)
- May 2010 (1)
- Apr 2010 (3)
- Mar 2010 (4)
- Feb 2010 (2)
- Jan 2010 (1)
- Dec 2009 (5)
- Nov 2009 (5)
- Oct 2009 (1)
- Aug 2009 (1)
- May 2009 (5)
- Apr 2009 (2)
- Mar 2009 (1)
- Feb 2009 (2)
- Jan 2009 (2)
- Nov 2008 (1)
- Oct 2008 (1)
- Sep 2008 (1)
- May 2008 (2)
- Apr 2008 (1)
- Feb 2008 (6)
- Jan 2008 (5)
- Dec 2007 (6)
- Oct 2007 (1)
- Sep 2007 (2)
- Aug 2007 (3)
- Jun 2007 (1)
- May 2007 (5)
- Apr 2007 (1)
- Mar 2007 (2)
- Feb 2007 (1)
- Jan 2007 (4)
- Dec 2006 (3)
- Aug 2006 (1)
- Jun 2006 (3)
- Apr 2006 (6)
- Mar 2006 (8)
- Feb 2006 (1)
- Jan 2006 (4)
- Nov 2005 (1)
- Oct 2005 (4)
- Sep 2005 (1)
- Aug 2005 (11)