Looks like the Great Firewall or something like it is preventing you from completely loading www.skritter.com because it is hosted on Google App Engine, which is periodically blocked. Try instead our mirror:

legacy.skritter.cn

This might also be caused by an internet filter, such as SafeEyes. If you have such a filter installed, try adding appspot.com to the list of allowed domains.

Feature request: Pressing "Save Changes" should not be necessary

copypaste   July 9th, 2014 10:44a.m.

When editing vocab lists, I do not think that it should be necessary to press on "Save Changes". The form uses AJAX anyway, I would like for it to save my word as soon as it confirms that it's in Skritter's dictionary or what have you. I've lost quite a few words this way from closing tabs without having pressed "Save Changes".

podster   July 9th, 2014 2:26p.m.

"I would like for it to save my word as soon as it confirms that it's in Skritter's dictionary or what have you." What if its in the dictionary, but the wrong word? I.e. a character with multiple readings. You wouldn't want that automatically saved would you? Maybe what you want is a prompt when you close the tab asking about whether to save changes. I don't know about AJAX, so maybe I have misunderstood your question.

copypaste   July 9th, 2014 2:57p.m.

@podster On the rare occasions I change the word, it could just call a deletion for the mistaken word and add the correct word.

AJAX is just a web technology to create HTTP requests with JavaScript.

mcfarljw   July 9th, 2014 10:04p.m.

@copypaste, The current ajax call made is just a read from the Skritter dictionary to get the word details which isn't too expansive. While updating a section is a read/write that requires getting and updating the entire section again (including all of the words in the section). It's a bit too costly to have submitting all that data each time a change is made and much more efficient to have to all sent in one save operation. Here are the api docs on that endpoint:

http://beta.skritter.com/api/v0/docs/endpoints/vocablistsections

Other than just being extra careful, I think showing a warning popup when closing the tab similar to when clicking the cancel button might be a more straight forward solution. What do you think?

copypaste   July 10th, 2014 8:43a.m.

@josh: Yeah, an unload() warning would work just as well too.

Also that's pretty neat, I didn't know you guys had a public API. :)

This forum is now read only. Please go to Skritter Discourse Forum instead to start a new conversation!