ananthakumaran / paisa

Paisa – Personal Finance Manager. https://paisa.fyi demo: https://demo.paisa.fyi
https://paisa.fyi
GNU Affero General Public License v3.0
2.24k stars 111 forks source link

Template code preview breaks after interruptions in Paisa.fy #214

Open Piyush-KumarSingh opened 3 months ago

Piyush-KumarSingh commented 3 months ago

Describe your Environment OS: Windows 11 Paisa Version: 0.6.6 App Variant: CLI

Describe the bug Whenever I'm writing my template code in paisa and encounter interruptions like loss of internet connection or accidentally closing the tab, the templating code ceases to function properly upon returning. Previously, the code previewed the ledger correctly. However, after the interruption, fails to display any previews of ledger, which was working earlier.

To Reproduce Steps to reproduce the behavior: Navigate to the Paisa UI. Write template code for ledger entries. Experience an interruption such as loss of internet connection or accidentally closing the tab. Return to the Paisa.fyi website and attempt to preview the ledger.

Expected behavior The expected behavior is that even after interruptions or tab closures, the templating code should resume its functionality seamlessly. Upon returning to the page, the entire ledger preview, including the date, description, accounts, and INR, should be displayed as before without requiring the user to rewrite the template code

Screenshots If applicable, add screenshots to help explain your problem.

Journal If applicable, provide a minimal journal to help explain your problem.