Docs: only learn.markStep checks a tutorial id, not learn.resetProgress

docs/mcp.md said that for both learn.markStep and learn.resetProgress a
missing, non-string or unknown `tutorial` is an error. learn.resetProgress
takes no params and clears the progress without reading `tutorial`
(crates/ui-egui/src/panels/learn.rs), so the sentence now names the
tutorial errors under learn.markStep alone, and the rule that an error
changes nothing stays with them.
This commit is contained in:
dotCooCoo
2026-11-14 07:59:21 -08:00
parent 676f0524cc
commit 93f9ec0346
+5 -5
View File
@@ -2952,11 +2952,11 @@ finished and every step marked. The desktop app keeps the progress in its prefer
when two windows change it, the one that saves last keeps its progress. The web build keeps it while the page is open.
Marking steps by hand, keeping the progress and Reset progress are VectorCraft's own rules.
`learn.markStep {tutorial, step, complete?}` runs a step's check box → `{tutorial, step, complete}`: `step` is the
zero-based step number, and `complete` marks the step done (`true`, omitted or null) or not done (`false`). A missing
`step` or one the tutorial does not have, a `complete` that is not true or false, a tutorial whose sample was not
opened, and a finished tutorial are errors. `learn.resetProgress {}` runs Reset progress and answers what `learn.list`
answers; open documents, opened samples and the Learn view stay as they are. For both, a missing, non-string or
unknown `tutorial` is an error, and an error changes nothing.
zero-based step number, and `complete` marks the step done (`true`, omitted or null) or not done (`false`). A missing,
non-string or unknown `tutorial`, a missing `step` or one the tutorial does not have, a `complete` that is not true or
false, a tutorial whose sample was not opened, and a finished tutorial are errors, and an error changes nothing.
`learn.resetProgress {}` runs Reset progress and answers what `learn.list` answers; open documents, opened samples and
the Learn view stay as they are.
The Home screen has a Learn section between Recent Files and the new-file presets, as
[the help page](https://helpx.adobe.com/illustrator/desktop/get-started/learn-the-basics/homescreen-overview.html)