Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Возможность передавать выполненные шаги частями, а не все сразу #47

Closed
Pr-Mex opened this issue Jun 8, 2020 · 3 comments
Assignees

Comments

@Pr-Mex
Copy link
Owner

Pr-Mex commented Jun 8, 2020

Сейчас нужно вызвать
VanessaEditor.decorateCompleteSteps(ЗаписатьОбъектJSON(ВыполненныеШагиVanessaEditor));

Надо добавить возможность передавать часть шагов:
VanessaEditor.addCompleteSteps(Массив)

@lintest lintest self-assigned this Jun 8, 2020
@lintest
Copy link
Collaborator

lintest commented Jun 8, 2020

Предлагаю вот так:

VanessaEditor.addCompleteSteps(Массив, Очищать = Истина);

@Pr-Mex
Copy link
Owner Author

Pr-Mex commented Jun 8, 2020

Предлагаю вот так:

VanessaEditor.addCompleteSteps(Массив, Очищать = Истина);

Да. Давай.

@lintest
Copy link
Collaborator

lintest commented Jun 8, 2020

Установка статуса шагов:

Steps = New Array;
Steps.Add(8);
Steps.Add(9);
Steps.Add(10);
VanessaEditor.setRuntimeProcess(JsonDump(Steps), "complete");

Steps = New Array;
Steps.Add(11);
Steps.Add(12);
VanessaEditor.setRuntimeProcess(JsonDump(Steps), "error");

Steps = New Array;
Steps.Add(15);
VanessaEditor.setRuntimeProcess(JsonDump(Steps), "current");

Очищаем статус выбранных шагов:

Steps = New Array;
Steps.Add(11);
Steps.Add(12);
VanessaEditor.setRuntimeProcess(JsonDump(Steps), "");

Очищаем статус всех шагов:

VanessaEditor.clearRuntimeProcess();

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

No branches or pull requests

2 participants