Weow! Koohi.cafe - A WK friendly SRS [300 vocabulary lists!]

Lmao

1 Like

Added 10 new books to be released over the next whenever. Gonna add anime afterward.

So Iā€™ve noticed some of the parts API calls are getting annoying slow (like /lessons page). This is a probably a combination of more data being held on the tables plus some feature bloat.

Iā€™ll spend a week the next week tweaking the API to do preloading (ex: start loading the /lessons data when you first hover the manage button, not when after you click manage and the page loads). Plus stuff like storing the data in local storage so that things only have to load once.

After that, we can go back to doing bug fixes/feature requests as normal. I want to make a feature for leeches - I think itā€™s important.

In other news, I did get the instructor job.

12 Likes

Congrats! :sparkles:

4 Likes

Congratulations!

2 Likes

Api issues fixed

6 Likes

The branch got a little big xddddddd
image

3 Likes

Update 9/12 - Api Improvements + Series Collapsing Fixes + Library page reworks

From the blog:


The last two weeks were spent doing internal improvements to the website that should translate to a better user experience overall.

Library Page

I have completely redone the code for a lot of the library page. This means 1) filtering, sorting, series should be less intensive on your device. 2) There have been some improvements/changes to the controls. See the change log.

Console Styling

Some time was spent creating a utility for styling javascript console information. This should make it easier for me to read/find things, but it should also make it possible for people who didnā€™t program it to spot things. Iā€™m not counting on this, just thought Iā€™d mention it.

Preload API

One of the big projects Iā€™ve been working on was a preloading api inspired by instantclick.io. Basically, what happens is normally you click a link (ex: lessons page), the page switches over, it loads an empty page, then it calls the api, then fills it with data.

The new api changes, found on the LESSONS and LIBRARY page will now start the api load when your mouse clicks DOWN on the link initially, instead of waiting for a page swap and then the first paint before starting the call. Based on the instantclick.io click test This leads to a MINIMUM of probably 200ms improvement, but probably more like half a second or more in practice. The results of said api calls are also stored locally with an expiration so navigating back to eligible pages should be instant.

As with all updates, these two projects mightā€™ve introduced some bugs, so feel free to communicate with me on Wanikani if you have concerns.

Change Log

Library

  • Redid large portions of this
  • The /books page is eligigble for preloading
  • Ordering is now part of the main interface instead of the sidebar
  • Multiple filters can be used at the same time (and operator in an X Or Y criteria fashion)
  • Mediums can be enabled/disabled individually
  • FIX: series collapses should collapse more smartly. They are disabled on unreleased books, searches, or when most filters are enabled
  • Improved styling on cover badges (they look more like stickers now) to improve visibility
  • Modified ā€œowned bookā€ icon to be next to the medium instead of in the badges
  • Toggling filters/mediums/ordering is much faster

General

  • Preloader api now active on /lessons and /books

Lessons

  • As a result of using the preloader api, should load faster ~.5s
9 Likes

Wow! Thanks for the updates, Raionus! :durtle_noice:

3 Likes

Iā€™m not sure if itā€™s just me, but the site has been really slow for me today, like loading the difficulty percentage in the library page as well as generating vocab in a book takes much longer now. It was working normally yesterday, I canā€™t think of anything I did either on the website or to my pc that would cause this :thinking:

2 Likes

Wow.

Yeah Iā€™m looking into now

2 Likes

WE GOTTEM BOYS

6 Likes

Squished 'em loading screens! Super smooth now :DD

5 Likes

Yeah that actually worked out better than I thought it would

4 Likes

Still takes forever to load unknown words for me, and it only works maybe less that half of the time. The ordering by unknown words seems to be broken, too.

2 Likes

Buttons in dark mode not very visible


Relate

2 Likes

Like unknown words on the library page? What device, etc. It takes about ~20 seconds on home wifi so I imagine it would be 1 min + on like 3g or some crap which would cause the request to timeout.

Iā€™ve updated this just now. Tell me if it doesnā€™t work.

Will look into.

2 Likes

Iā€™m on home, wired. After about 20-30 seconds the percentages appear, but seem to only include WK known words. Closing the tab and reopening sometimes works and makes it calculate it correctly. But it seems like pure luck.

Iā€™m not noticing any difference :confused:. They seem to be generally in the right ballpark, however. Are you by chance ordering them by the amount of unknown words, when the page displays the percentage? Thatā€™s maybe a tad confusing. Difficulty filtering seems to work, but it would be nice to see the amount of unknown words on the thumbnail when sorting that way (or hover).

2 Likes

Hello. I am koohi user and i would like to full reset my account. Please check your friend request NanoFate#2074 on discord.

1 Like
The order is kinda random

1 Like

Oh yeah duh. It should be fixed in a second. @Redglare

This seems correct considering the numbers it has to crunch

Thatā€™s super weird. Can I get your username so I can run some tests on my end? The process involves creating a temp table with your cards in it, so maybe yours is turning out blank somehow?

Yup Iā€™ve contacted you.

2 Likes