Skip to content

Commit 1308cff

Browse files
committed
remove unused components
1 parent 186a09d commit 1308cff

File tree

6 files changed

+1
-262
lines changed

6 files changed

+1
-262
lines changed

frontend/packages/volto-workflow-manager/src/components/States/State.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ import PermissionRolesTab from './Tabs/PermissionRolesTab';
2020
import GroupRolesTab from './Tabs/GroupRolesTab';
2121
import type { GlobalRootState } from '../../types';
2222
import type { StateData, StateProps } from '../../types/state';
23-
import { Label } from 'react-aria-components';
2423

2524
const propertiesSchema = {
2625
title: 'State Properties',

frontend/packages/volto-workflow-manager/src/components/Workflow/PropertiesForm.tsx

Lines changed: 0 additions & 76 deletions
This file was deleted.

frontend/packages/volto-workflow-manager/src/components/Workflow/WorkflowSettings.tsx

Lines changed: 0 additions & 166 deletions
This file was deleted.

frontend/packages/volto-workflow-manager/src/components/Workflow/WorkflowSidebar.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ const Sidebar = (props) => {
163163
),
164164
},
165165
].filter(Boolean),
166+
// eslint-disable-next-line react-hooks/exhaustive-deps
166167
[
167168
onDataChange,
168169
workflowTab,

frontend/packages/volto-workflow-manager/src/components/Workflow/WorkflowView.tsx

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -149,18 +149,6 @@ const WorkflowView: React.FC<WorkflowViewProps> = ({
149149
title="back"
150150
/>
151151
</Link>
152-
<Link
153-
to={`/controlpanel/workflowmanager/${workflowId}/settings`}
154-
className="settings"
155-
>
156-
<Icon
157-
name={settings}
158-
className="circled"
159-
aria-label="Workflow Settings"
160-
size="30px"
161-
title="Workflow Settings"
162-
/>
163-
</Link>
164152
<Button
165153
id="toolbar-saving-workflow"
166154
aria-label="Save changes"

frontend/packages/volto-workflow-manager/src/index.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
import WorkflowControlPanel from './components/Controlpanel/WorkflowPanel';
2-
import WorkflowSettings from './components/Workflow/WorkflowSettings';
3-
// import State from './components/States/State';
42
import { workflow, state, transition } from './reducers';
53
import './theme/main.scss';
64

@@ -19,11 +17,6 @@ const applyConfig = (config) => {
1917

2018
config.addonRoutes = [
2119
...config.addonRoutes,
22-
{
23-
path: '/controlpanel/workflowmanager/:workflowId/settings',
24-
exact: true,
25-
component: WorkflowSettings,
26-
},
2720
{
2821
path: '/controlpanel/workflowmanager',
2922
exact: true,

0 commit comments

Comments
 (0)