Repository navigation
docs(widgets): choose a project folder for widget dev sessions with /develop - #134
Merged
Merged
Conversation
…overs /develop forget and the person-only POST /widget-dev/chosen-folders/forget take a folder choice back. The card names the folder a path resolves to, a choice covers every folder inside it, a whole drive or the home folder is never kept, and a chosen folder replaced by a link no longer counts. develop_widget gains choose and folders.
…orgotten folder stays reachable A folder is kept as chosen only when the pressed path is still that folder, so a link swapped in meanwhile grants nothing; a missing path gets no button. develop_widget choose runs only in a turn the person sent. Forget answers stillCoveredBy when another folder Clark may use holds the forgotten one, and a moved chosen folder stays listed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
These pages now describe how to choose a project folder for widget dev sessions with
/develop, and how to take that choice back (digitopvn/clarkcant#538). The English and Vietnamese pages are updated together.docs/index.htmlandvi/docs/index.html:/developand/develop forgetare added to the slash command list.docs/cli.htmlandvi/docs/cli.html:/develop, Choose folder… and the folder dialog./develop forget→ Forget takes it back without stopping a running session. A whole drive or the home folder can run one session but is never kept.docs/api.htmlandvi/docs/api.html:POST /widget-dev/chosen-folders/forget{ root }→{ root, forgotten }.ROOT_NOT_OWNEDfolder rules now include folders the person chose, what a choice covers, broad folders that are never kept, a chosen folder replaced by a link no longer counting, and thedevelopcard in the tool answer.develop-foldercard action, the resolved folder the card names and starts, and asking Clark (develop_widgetchoose)./develop forgetand thedevelop-folder-forgetaction.develop_widgetaction list gainschooseandfolders, and the forget route is listed as refused for machine surfaces.Round-2 follow-up (matching digitopvn/clarkcant#612):
develop_widget chooseruns only in a turn the person sent;foldersruns in any turn.stillCoveredBywhen another chosen folder or a configured root still holds the forgotten one, and the pages say Clark keeps access through it. A chosen folder moved away is listed as not found so it can still be forgotten.origin/mainwas merged into the branch.Implementation: digitopvn/clarkcant#612.
Verification
CLARKCANT_SOURCE=<pinned b7f9e364 checkout> corepack pnpm build:widgetsand thencorepack pnpm verify: passed (typecheck, tests and build).