Skip to content

TEMP verify: app workspace reset (#106) - #112

Closed
jstzy wants to merge 1 commit into
Sanuu7:mainfrom
jstzy:verify/106
Closed

jstzy wants to merge 1 commit into
Sanuu7:mainfrom
jstzy:verify/106

Conversation

@jstzy

@jstzy jstzy commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

Temporary draft: this branch carries the proposed PR CI workflow (see #111) so the #106 reset feature compiles and its unit test passes before the real PR. Will be closed once the build is green.

No review needed.

…7#106)

The app workspace is permanent: ProjectDeletion refuses it and the list hides its
menu, so users cannot reclaim the files or start over (issue Sanuu7#106). Deleting the
row would only recreate the same default, so this adds an explicit reset instead.

Reset removes the workspace's chats, automations and every file under the
app-private folder (project memory and undo history included), then keeps the row
as the empty default. It is offered from the workspace list menu and the
workspace details dialog, and previews the chat count, automations and folder
size before confirming. Chats that merely share the app workspace block the
reset, and running tasks must stop first.

AppWorkspaceReset keeps the file operations free of Android APIs so they are
unit-tested.
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