chore(fix): Resolve regressions in history logic, track startup, and GUI performance
This commit is contained in:
@@ -16,6 +16,7 @@ class UISnapshot:
|
||||
auto_add_history: bool
|
||||
disc_entries: list[dict]
|
||||
files: list[dict]
|
||||
context_files: list[dict]
|
||||
screenshots: list[str]
|
||||
|
||||
def to_dict(self) -> dict:
|
||||
@@ -34,6 +35,7 @@ class UISnapshot:
|
||||
"auto_add_history": self.auto_add_history,
|
||||
"disc_entries": self.disc_entries,
|
||||
"files": self.files,
|
||||
"context_files": self.context_files,
|
||||
"screenshots": self.screenshots
|
||||
}
|
||||
|
||||
@@ -54,6 +56,7 @@ class UISnapshot:
|
||||
auto_add_history=data.get("auto_add_history", False),
|
||||
disc_entries=data.get("disc_entries", []),
|
||||
files=data.get("files", []),
|
||||
context_files=data.get("context_files", []),
|
||||
screenshots=data.get("screenshots", [])
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user