ananthakumaran/paisa

Template code preview breaks after interruptions in Paisa.fy

Opened this issue · 0 comments

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.