firepad icon indicating copy to clipboard operation
firepad copied to clipboard

[Feature Request] Playback of the document

Open shivtej1505 opened this issue 7 years ago • 3 comments

Hi,

I'm working on a collaborative code editor in which users can work simultaneously and later they should be able to view the history of the document like a video.

Basically, the video should show the edits to document on a time frame. I'm using the ACE editor as a client.

Can anybody throw me some ideas to get me started?

As of now, I've been reading about how ACE & firepad works internally and deltas (in ACE) looks like a promising stuff.

shivtej1505 avatar Oct 15 '18 15:10 shivtej1505

@shivtej1505 Hi, I know you asked this question back in 2018. Did you figure out how to do it? I am also trying to get the history data. So I can easily display the coding history by time frame. It would be great if there are some APIs that can return the full text value by history. Like based on history index, I can do getHistoryValue(index) => full text value of this moment.

haow-abc avatar Mar 11 '22 16:03 haow-abc

I did actually. I was able to make a code replay kind of thing. Don't remember the details though 😅

shivtej1505 avatar Sep 07 '23 21:09 shivtej1505

I did actually. I was able to make a code replay kind of thing. Don't remember the details though 😅

No worries, thank you for the reply, I figured this out as well. And I also forgot how I did it 😅

haow-abc avatar Sep 08 '23 00:09 haow-abc