Fast typing causes cards not to save - non-collab version

image

console log:

kinopio.club-1743260307253.log.txt (37.4 KB)

expanded sending operations:

index-BinuO_tJ.js:87 🛫 sending operations 
[{…}]
 â—ŹrequestId=IZfeSMVSAa5MSgTnVJ7am
sendQueue	@	index-BinuO_tJ.js:87
await in sendQueue		
(anonymous)	@	index-BinuO_tJ.js:24
_s.dispatch	@	index-BinuO_tJ.js:24
dispatch	@	index-BinuO_tJ.js:24
n.dispatch	@	index-BinuO_tJ.js:24
(anonymous)	@	index-BinuO_tJ.js:87
h	@	index-BinuO_tJ.js:24
S	@	index-BinuO_tJ.js:24
I	@	index-BinuO_tJ.js:24
setTimeout		
I	@	index-BinuO_tJ.js:24
setTimeout		
I	@	index-BinuO_tJ.js:24
setTimeout		
I	@	index-BinuO_tJ.js:24

ACTIONS PERFORMED:

  • Opened space (it has a lot of cards)
  • Waited for space to load cards, while scrolling to free space on far right
  • Clicked in free space, started typing to create cards
  • All cards appeared successfully, I noticed that cards were not respecting spacing (e.g. being created too close to one another)
  • After a little while, cards 3 and 5 popped out of existence and turned blank

OK, wow, this is an easy repro.

image

Dropped cards said “Fourth time testing.”, “Fifth time testing” (along with a little more text to create a line break), “Sixth time testing.”

1 Like

because this issue seems correlated to space size/performance it’s possible that the fix might be a big project tho: kinopio uses an old system for state management (vuex) and I need to switch to a new theoretically faster system (pina) . but that’s a multi-week refactor for sure

1 Like

example truncated card in a private space: Kinopio – Thinking Canvas

(piri has access)

image

(the original card started with “we talk about gam”… but there was more text on my end. it was truncated at some point. i have seen this occur while actively in the space and not just when re-loading, but not sure if i saw that with this one specifically.)

2 Likes

was able to repro and fixed an issue for card names being blanked out right after being created due to a race condition that would only occur only huge spaces where editing became sluggish.

I’m not sure if this will fix the partial txt truncation issue tho, so if not let me know if there’s a diff way to repro that.

1 Like