-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #445 from DrDroidLab/@hotfix/teething-ui-issues
@hotfix/teething UI issues
- Loading branch information
Showing
14 changed files
with
85 additions
and
70 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import { PageKeys } from "../../pageKeys"; | ||
|
||
export const noLayoutPages = [ | ||
PageKeys.PLAYBOOKS_CREATE, | ||
PageKeys.PLAYBOOK_VIEW, | ||
PageKeys.PLAYBOOK_LOGS, | ||
PageKeys.PLAYBOOK_EDIT, | ||
// PageKeys.PLAYBOOKS_CREATE, | ||
// PageKeys.PLAYBOOK_VIEW, | ||
// PageKeys.PLAYBOOK_LOGS, | ||
// PageKeys.PLAYBOOK_EDIT, | ||
]; |
This file contains 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
11 changes: 11 additions & 0 deletions
11
web/src/utils/playbook/step/setCurrentVisibleStepFunction.ts
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { store } from "../../../store"; | ||
import { setPermanentView } from "../../../store/features/drawers/drawersSlice"; | ||
import { PermanentDrawerTypes } from "../../../store/features/drawers/permanentDrawerTypes"; | ||
import { setCurrentVisibleStep } from "../../../store/features/playbook/playbookSlice"; | ||
|
||
const stepDetailsId = PermanentDrawerTypes.STEP_DETAILS; | ||
|
||
export const setCurrentVisibleStepFunction = (id: string) => { | ||
store.dispatch(setCurrentVisibleStep(id)); | ||
store.dispatch(setPermanentView(stepDetailsId)); | ||
}; |
11 changes: 11 additions & 0 deletions
11
web/src/utils/playbook/task/setCurrentVisibleTaskFunction.ts
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { store } from "../../../store"; | ||
import { setPermanentView } from "../../../store/features/drawers/drawersSlice"; | ||
import { PermanentDrawerTypes } from "../../../store/features/drawers/permanentDrawerTypes"; | ||
import { setCurrentVisibleTask } from "../../../store/features/playbook/playbookSlice"; | ||
|
||
const taskDetailsId = PermanentDrawerTypes.TASK_DETAILS; | ||
|
||
export const setCurrentVisibleTaskFunction = (id: string) => { | ||
store.dispatch(setCurrentVisibleTask(id)); | ||
store.dispatch(setPermanentView(taskDetailsId)); | ||
}; |