LostRuins / lite.koboldai.net

A zero dependency web UI for KoboldAI Horde
GNU Affero General Public License v3.0
69 stars 34 forks source link

[WIP] In-Browser Session History #35

Closed raefu closed 7 months ago

raefu commented 11 months ago

This PR adds a dialog that lets you jump to previous sessions or loaded scenarios easily. Sessions are stored in the browser.

Still missing some testing and pruning of older sessions, but the basics all appear to work.

image

Looking for comments.

henk717 commented 11 months ago

We originally deliberately did not do this, this encourages users to use their browser storage to much which users wont understand is their browser. I expect a lot of unexpected data loss when their browser storage gets cleaned up.

I do see value in this in casw they forget to save, but it should come with a way to easily download them and a warning that all sessions will be lost if the browser's storage gets cleaned up.

LostRuins commented 11 months ago

I am inclined to agree with Henky on this one. I do think users should save to disk rather than browser if possible.