Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Meta

Welcome to the Judaism community on Codidact!

Will you help us build our community of learners? Drop into our study hall, ask questions, help others with answers to their questions, share a d'var torah if you're so inclined, invite your friends, and join us in building this community together. Not an ask-the-rabbi service, just people at all levels learning together.

Automatic draft-saving plus Sefaria auto-linker leads to the post taking too long to save

+5
−0

If I write up a post on any other Codidact site, the auto-save feature isn't too bad; every time I click around in the text box, or pause for a moment, it briefly autosaves.

If I write up a post on Judaism Codidact that is strictly HTML-based, the same easy-to-use functionality holds.

If I write up a post on Judaism Codidact that uses a source which calls the Sefaria auto-linker is longer than some amount of characters (not sure what the limit is, but it's on the longer side), rather than taking maybe half a second to auto-save, it instead takes closer to 5-10 seconds (depending on post length and how many Sefaria links there are) to auto-save. Whereas in general clicking to a different part of my post does not trigger the auto-save unless I also pause long enough in my typing, if Sefaria Linker is called I can't click out without waiting on the auto-save to do its thing.

This bug holds regardless of browser; I can try to grab a console log if you need it. My theory atm is that the Sefaria linker is called on auto-save for the preview, and the longer the post, the more it struggles to parse the entire post in a smallish amount of time.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

General comments (3 comments)

1 answer

+2
−0

We weren't able to solve the problem directly (something something Javascript is single-threaded something), but there is now a preference to disable auto-saving, which is a work-around. Go to your user profile and then to the "preferences" tab. The preference is community-specific, so you can disable autosave on only the sites that have slow rendering because of additions like Sefaria or Mathjax.

You can still save drafts; it just won't be automatic. Use the "save draft" button in the editor toolbar to trigger a save:

screenshot, last button circled

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

1 comment thread

General comments (3 comments)

Sign up to answer this question »