Skip to content

Rework state handling for #542 - #547

Merged
jobisoft merged 3 commits into
Mainfrom
save-states-2
Aug 21, 2025
Merged

jobisoft merged 3 commits into
Mainfrom
save-states-2

Conversation

@jobisoft

@jobisoft jobisoft commented Aug 19, 2025 •

Copy link
Copy Markdown
Owner

ATT, SUBJECT, FROM, TO are not cached anymore, will be revisted later.

Even if tags are not cached, the current replacement logic replaces all identical tags at the same time, which is the cause for #335

@SamuelPlentz : I am running low on time, but do not want to hurry and create new bugs. Do you see something wrong with this change?

ATT, SUBJECT, FROM, TO are not cached anymore, will be revisted later.

Even if tags are not cached, the current replacement logic replaces all identical tags at the same time, which is the cause for #335
@jobisoft

jobisoft commented Aug 19, 2025 •

Copy link
Copy Markdown
Owner Author

The genral concept here is that we do not keep the cached data in the qParser instance (as we get new instances if scripts are executed), but put the cache into local storage.

global entry points are now insertVariable() and insertTemplate(), both clear non-persistent data
no further need for clearStates logic
@jobisoft
jobisoft merged commit 33fd780 into Main Aug 21, 2025
@jobisoft
jobisoft deleted the save-states-2 branch August 21, 2025 07:21
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

Successfully merging this pull request may close these issues.

1 participant