Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undo redo and transactions #11

Open
erasta opened this issue Feb 20, 2024 · 1 comment
Open

undo redo and transactions #11

erasta opened this issue Feb 20, 2024 · 1 comment

Comments

@erasta
Copy link
Collaborator

erasta commented Feb 20, 2024

"לדעתי כדאי שזה יגיע עם מנגנון הלוג, ואז שמירה אוטומטית עם יכולת לחזור צעד אחורה
בנוסף, אפשר לתת אינדיקציה למשתמש אם השינוי נשמר מקומית בלבד שאין תקשורת למסד הנתונים.
כאשר המושבה היתה אפשרות לעבודה offline מלאה, גם בלי צורך ב db"

"ה local זה בשביל שהמידע ישמר למרות ריפרשים, זה עדיין לא יעבור לשרת.
אחלק את שמירת המידע לטרנזקציות לפי איזה שדה השתנה (כדי לא לשמור כל הקלקה על אות) ואז אעביר אותן בסדר FIFO לשרת.
אם אין תקשורת, הטרנזקציות הללו ישמרו ב local.
השרת יעובה כדי לשמור את הטרנזקציות האלו, אני מניח שיהיה איזשהו גבול מעליו לא נשמור טרנזקציות על מנת שלא לפוצץ את השרת."

@erasta
Copy link
Collaborator Author

erasta commented Mar 5, 2024

currently the transactions are saved only to the server so refresh on offline mode resets them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant