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

feat: 🎸 SQFormGuidedWorkflow additional section #587

Merged
merged 1 commit into from
Jan 21, 2022
Merged

Conversation

20BBrown14
Copy link
Contributor

Added the ability for the SQFormGuidedWorkflow component to have an
additional section above the agent script section.

✅ Closes: #586

Loom: https://www.loom.com/share/89ea19daa1ec4588bbc24ca2db0505c2

@laurelbean
Copy link
Contributor

laurelbean commented Jan 20, 2022

I wonder if we need to add a test case for this? On one hand, it's a new feature so it should probably add a test. On the other hand, I don't see how this feature would really change how a user uses Guided Workflow. Might be too close to testing implementation detail

@20BBrown14
Copy link
Contributor Author

I wonder if we need to add a test case for this? On one hand, it's a new feature so it should probably add a test. On the other hand, I don't see how this feature would really change how a user uses Guided Workflow. Might be too close to testing implementation detail

Ya, not sure that'd be useful. we're not testing any "displays x if y" scenarios with the contents of the guided workflow. Instead we test the workflow details (Click x opens section y, etc).

@@ -63,6 +64,7 @@ function SQFormGuidedWorkflow({
useManageTaskModules(initialCompletedTasks, taskModulesContext);

const transformedTaskModules = taskModules.map((taskModule, index) => {
console.log('taskModule', taskModule.additionalInformationSectionProps);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stray console.log

Copy link
Contributor

@SeanGroff SeanGroff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved pending the console.log removal

Added the ability for the SQFormGuidedWorkflow component to have an
additional section above the agent script section.

✅ Closes: #586
@20BBrown14 20BBrown14 merged commit 55ae824 into master Jan 21, 2022
@20BBrown14 20BBrown14 deleted the issue/586 branch January 21, 2022 21:15
ghost pushed a commit that referenced this pull request Jan 21, 2022
## [7.1.0](v7.0.5...v7.1.0) (2022-01-21)

### Features

* 🎸 SQFormGuidedWorkflow additional section ([#587](#587)) ([55ae824](55ae824)), closes [#586](#586)
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.

SQFormGuidedWorkFlow should display additional jsx above scripting block
3 participants