2021-08-17 06:01:12 +00:00
|
|
|
import '@/_styles/left-sidebar.scss';
|
2023-01-05 09:17:24 +00:00
|
|
|
import React, { useState, useImperativeHandle, forwardRef, useEffect } from 'react';
|
2021-08-17 06:01:12 +00:00
|
|
|
|
2021-11-10 08:43:22 +00:00
|
|
|
import { LeftSidebarInspector } from './SidebarInspector';
|
|
|
|
|
import { LeftSidebarDataSources } from './SidebarDatasources';
|
2021-08-17 06:01:12 +00:00
|
|
|
import { DarkModeToggle } from '../../_components/DarkModeToggle';
|
|
|
|
|
import useRouter from '../../_hooks/use-router';
|
2021-08-27 06:35:53 +00:00
|
|
|
import { LeftSidebarDebugger } from './SidebarDebugger';
|
Feature: Collaboration ( realtime comments for canvas ) 🔥 (#810)
* feat: initial commit for collaboration feature
* add dnd to comments
* add positions endpoint
* feat: encapsulate all http common logic in http-client
* segregate sections and transfer responsibility of state
* feat: use-spring to add fade effect :zap:
* fix: open in right
* fix: left-right position css
* add footer for message
* integrate getcomment endpoint
* use fromnow for date ago
* add dnd
* - Add data trasfer object for comment
- Add class-validator package to check the response type from client
- Add comment repository class for persistance layer
- Add comment service with std. http methods
- Update controller with all http methods
- Update comment module
- Fix http-client bug when error is thrown
* fix http client bug when error is thrown
* feat: add entity thread
* feat: add migrations for thread and comment
* update entitites
* add tid to migration
* filter comments by tid(thread_id)
* fix: comment migration, add missing column comment
* feat: integrate in ui
* feat: split comments based on app_id
* fix: dnd to correct position
* package json engines
* engines update
* update npm
* npm 6 to 7
* fix: add user initials to thread
* fix: add firtname lastname to the comments
* - Return user object when save thread called
- Hide password field from user response
- Fix created_at date typo
- Instead of fetch all threads on new thread added, add the response to array of existing threads
* feat: update ui components
* change icon on comments view
* ui fixes
* fix: close icon close the popover
* temp: comment select: false
* use currentUser from localStorage
* fix: on click outside if comment is open, dont hit addThread
* fix: auth token issue in http-client
* on drag hide the comment if open
* add jwt auth
* spec: add test for comment & thread
* cleanup: remove console.log
* feat: add comment actions
* feat: add edit, delete, resolve options
* feat: add mentions component
* feat: add nestjs websockets
* temp
* websocket: establish client-server communication
* ws: add message listner to comments module in ui
* feat: add broadcast method to broadcast new events to all clients :bomb:
* ws: cleanup :call_me_hand:
* fix: remove max height from comment actions
* feat: add user mentions, emoji support
* fix: add static list of users - temp
* update and delete iterations
* - Rename comment, thread to comments, threads
- Add conditional actions
- Show edit, delete only if he is comment owner
- Show resolve only if he is thread owner
* reset engines
* move svgr webpack to deps
* fix: ui issues
* remove log stmt
* refactor: move resolved icon to comment-header
* feat: allow comments to be added on top of widgets
* feat: add keyboard shortcut
* scroll to bottom on comment add
* ui fixes
* feat: add react toast for notification display
* feat: add comment badge
* fix: ws connection
* fix: ws
* remove rvrse
* feat: add comment sidebar
* feat: add comment right sidebar
* fix: add missing foreign key elements
* - upgrade typeorm to 0.2.38
- comment sidebar ui
- added filter ui
* feat: on click of right sidebar notificaiton open the comment box
* reset engines
* fix: add organization id to the comment and thread module
* fix: add current version id
* add currentversion id
* disable comments if no id present
* temp:checking for heroku deploy
* fetch app on edit and deploy version
* rename current_version_id to app_versions_id
* ui fixes
* show mentioned user in blue color
* add ui changes
* add authorization for create thread
* change color to blue on click of comment, add auth for other endpoints of thread
* update threads, notifications using socket
* add auth for comments
* remove events spec file
* fix duplicate key error
* fix notificaitons updation on edit, delete, resolve buttons clicked
* update notifications for edit
* feature toggle changes for frontend
* add check for comments server
* add emoji mart package for emoji
* add reply count in comment sidebar
* subtract 1 from count in comment sidebar
* change empty text when no comments available
2021-11-01 07:28:03 +00:00
|
|
|
import { LeftSidebarComment } from './SidebarComment';
|
2022-12-08 12:21:09 +00:00
|
|
|
import LeftSidebarPageSelector from './SidebarPageSelector';
|
2021-10-13 04:02:18 +00:00
|
|
|
import { ConfirmDialog } from '@/_components';
|
Feature: Collaboration ( realtime comments for canvas ) 🔥 (#810)
* feat: initial commit for collaboration feature
* add dnd to comments
* add positions endpoint
* feat: encapsulate all http common logic in http-client
* segregate sections and transfer responsibility of state
* feat: use-spring to add fade effect :zap:
* fix: open in right
* fix: left-right position css
* add footer for message
* integrate getcomment endpoint
* use fromnow for date ago
* add dnd
* - Add data trasfer object for comment
- Add class-validator package to check the response type from client
- Add comment repository class for persistance layer
- Add comment service with std. http methods
- Update controller with all http methods
- Update comment module
- Fix http-client bug when error is thrown
* fix http client bug when error is thrown
* feat: add entity thread
* feat: add migrations for thread and comment
* update entitites
* add tid to migration
* filter comments by tid(thread_id)
* fix: comment migration, add missing column comment
* feat: integrate in ui
* feat: split comments based on app_id
* fix: dnd to correct position
* package json engines
* engines update
* update npm
* npm 6 to 7
* fix: add user initials to thread
* fix: add firtname lastname to the comments
* - Return user object when save thread called
- Hide password field from user response
- Fix created_at date typo
- Instead of fetch all threads on new thread added, add the response to array of existing threads
* feat: update ui components
* change icon on comments view
* ui fixes
* fix: close icon close the popover
* temp: comment select: false
* use currentUser from localStorage
* fix: on click outside if comment is open, dont hit addThread
* fix: auth token issue in http-client
* on drag hide the comment if open
* add jwt auth
* spec: add test for comment & thread
* cleanup: remove console.log
* feat: add comment actions
* feat: add edit, delete, resolve options
* feat: add mentions component
* feat: add nestjs websockets
* temp
* websocket: establish client-server communication
* ws: add message listner to comments module in ui
* feat: add broadcast method to broadcast new events to all clients :bomb:
* ws: cleanup :call_me_hand:
* fix: remove max height from comment actions
* feat: add user mentions, emoji support
* fix: add static list of users - temp
* update and delete iterations
* - Rename comment, thread to comments, threads
- Add conditional actions
- Show edit, delete only if he is comment owner
- Show resolve only if he is thread owner
* reset engines
* move svgr webpack to deps
* fix: ui issues
* remove log stmt
* refactor: move resolved icon to comment-header
* feat: allow comments to be added on top of widgets
* feat: add keyboard shortcut
* scroll to bottom on comment add
* ui fixes
* feat: add react toast for notification display
* feat: add comment badge
* fix: ws connection
* fix: ws
* remove rvrse
* feat: add comment sidebar
* feat: add comment right sidebar
* fix: add missing foreign key elements
* - upgrade typeorm to 0.2.38
- comment sidebar ui
- added filter ui
* feat: on click of right sidebar notificaiton open the comment box
* reset engines
* fix: add organization id to the comment and thread module
* fix: add current version id
* add currentversion id
* disable comments if no id present
* temp:checking for heroku deploy
* fetch app on edit and deploy version
* rename current_version_id to app_versions_id
* ui fixes
* show mentioned user in blue color
* add ui changes
* add authorization for create thread
* change color to blue on click of comment, add auth for other endpoints of thread
* update threads, notifications using socket
* add auth for comments
* remove events spec file
* fix duplicate key error
* fix notificaitons updation on edit, delete, resolve buttons clicked
* update notifications for edit
* feature toggle changes for frontend
* add check for comments server
* add emoji mart package for emoji
* add reply count in comment sidebar
* subtract 1 from count in comment sidebar
* change empty text when no comments available
2021-11-01 07:28:03 +00:00
|
|
|
import config from 'config';
|
2021-08-17 06:01:12 +00:00
|
|
|
|
2022-06-15 10:46:51 +00:00
|
|
|
export const LeftSidebar = forwardRef((props, ref) => {
|
2021-09-12 04:24:47 +00:00
|
|
|
const router = useRouter();
|
2022-06-15 10:46:51 +00:00
|
|
|
const {
|
|
|
|
|
appId,
|
|
|
|
|
switchDarkMode,
|
2022-12-29 11:48:24 +00:00
|
|
|
showComments,
|
2022-06-15 10:46:51 +00:00
|
|
|
darkMode = false,
|
|
|
|
|
components,
|
|
|
|
|
toggleComments,
|
|
|
|
|
dataSources = [],
|
2023-03-24 16:11:21 +00:00
|
|
|
globalDataSources = [],
|
2022-06-15 10:46:51 +00:00
|
|
|
dataSourcesChanged,
|
2023-03-24 16:11:21 +00:00
|
|
|
globalDataSourcesChanged,
|
2022-06-15 10:46:51 +00:00
|
|
|
dataQueriesChanged,
|
|
|
|
|
errorLogs,
|
|
|
|
|
appVersionsId,
|
2022-07-19 13:21:45 +00:00
|
|
|
debuggerActions,
|
2022-06-15 10:46:51 +00:00
|
|
|
currentState,
|
|
|
|
|
appDefinition,
|
|
|
|
|
setSelectedComponent,
|
|
|
|
|
removeComponent,
|
|
|
|
|
runQuery,
|
2022-12-08 12:21:09 +00:00
|
|
|
currentPageId,
|
|
|
|
|
addNewPage,
|
|
|
|
|
switchPage,
|
|
|
|
|
deletePage,
|
|
|
|
|
renamePage,
|
|
|
|
|
hidePage,
|
|
|
|
|
unHidePage,
|
|
|
|
|
updateHomePage,
|
|
|
|
|
updatePageHandle,
|
|
|
|
|
showHideViewerNavigationControls,
|
|
|
|
|
updateOnSortingPages,
|
|
|
|
|
updateOnPageLoadEvents,
|
|
|
|
|
apps,
|
|
|
|
|
dataQueries,
|
|
|
|
|
clonePage,
|
2023-01-05 09:17:24 +00:00
|
|
|
queryPanelHeight,
|
2022-06-15 10:46:51 +00:00
|
|
|
} = props;
|
2022-12-29 11:48:24 +00:00
|
|
|
const [selectedSidebarItem, setSelectedSidebarItem] = useState();
|
2021-10-13 04:02:18 +00:00
|
|
|
const [showLeaveDialog, setShowLeaveDialog] = useState(false);
|
2022-06-15 10:46:51 +00:00
|
|
|
const [showDataSourceManagerModal, toggleDataSourceManagerModal] = useState(false);
|
2023-01-05 09:17:24 +00:00
|
|
|
const [popoverContentHeight, setPopoverContentHeight] = useState(queryPanelHeight);
|
|
|
|
|
useEffect(() => {
|
|
|
|
|
popoverContentHeight !== queryPanelHeight && setPopoverContentHeight(queryPanelHeight);
|
|
|
|
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
|
|
|
}, [queryPanelHeight]);
|
2022-06-15 10:46:51 +00:00
|
|
|
|
|
|
|
|
useImperativeHandle(ref, () => ({
|
|
|
|
|
dataSourceModalToggleStateHandler() {
|
|
|
|
|
toggleDataSourceManagerModal(true);
|
|
|
|
|
},
|
|
|
|
|
}));
|
2022-12-30 06:39:07 +00:00
|
|
|
|
2022-12-29 11:48:24 +00:00
|
|
|
const handleSelectedSidebarItem = (item) => {
|
2022-12-30 06:39:07 +00:00
|
|
|
if (item === selectedSidebarItem) {
|
2022-12-29 11:48:24 +00:00
|
|
|
setSelectedSidebarItem(null);
|
|
|
|
|
} else {
|
|
|
|
|
setSelectedSidebarItem(item);
|
|
|
|
|
}
|
2022-12-30 06:39:07 +00:00
|
|
|
};
|
2022-12-29 11:48:24 +00:00
|
|
|
|
2021-08-17 06:01:12 +00:00
|
|
|
return (
|
2022-07-20 07:11:50 +00:00
|
|
|
<div className="left-sidebar" data-cy="left-sidebar-inspector">
|
2022-12-08 12:21:09 +00:00
|
|
|
<LeftSidebarPageSelector
|
|
|
|
|
darkMode={darkMode}
|
2022-12-29 11:48:24 +00:00
|
|
|
selectedSidebarItem={selectedSidebarItem}
|
|
|
|
|
setSelectedSidebarItem={handleSelectedSidebarItem}
|
2022-12-08 12:21:09 +00:00
|
|
|
appDefinition={appDefinition}
|
|
|
|
|
currentPageId={currentPageId}
|
|
|
|
|
addNewPage={addNewPage}
|
|
|
|
|
switchPage={switchPage}
|
|
|
|
|
deletePage={deletePage}
|
|
|
|
|
renamePage={renamePage}
|
|
|
|
|
hidePage={hidePage}
|
|
|
|
|
unHidePage={unHidePage}
|
|
|
|
|
updateHomePage={updateHomePage}
|
|
|
|
|
updatePageHandle={updatePageHandle}
|
|
|
|
|
clonePage={clonePage}
|
|
|
|
|
pages={Object.entries(appDefinition.pages).map(([id, page]) => ({ id, ...page })) || []}
|
|
|
|
|
homePageId={appDefinition.homePageId}
|
|
|
|
|
showHideViewerNavigationControls={showHideViewerNavigationControls}
|
|
|
|
|
updateOnSortingPages={updateOnSortingPages}
|
|
|
|
|
updateOnPageLoadEvents={updateOnPageLoadEvents}
|
|
|
|
|
currentState={currentState}
|
|
|
|
|
apps={apps}
|
|
|
|
|
dataQueries={dataQueries}
|
2023-01-05 09:17:24 +00:00
|
|
|
popoverContentHeight={popoverContentHeight}
|
2022-12-08 12:21:09 +00:00
|
|
|
/>
|
2022-12-29 11:48:24 +00:00
|
|
|
<LeftSidebarInspector
|
|
|
|
|
darkMode={darkMode}
|
|
|
|
|
selectedSidebarItem={selectedSidebarItem}
|
|
|
|
|
setSelectedSidebarItem={handleSelectedSidebarItem}
|
|
|
|
|
currentState={currentState}
|
|
|
|
|
appDefinition={appDefinition}
|
|
|
|
|
setSelectedComponent={setSelectedComponent}
|
|
|
|
|
removeComponent={removeComponent}
|
|
|
|
|
runQuery={runQuery}
|
2023-04-28 14:18:36 +00:00
|
|
|
dataSources={globalDataSources}
|
2023-01-05 09:17:24 +00:00
|
|
|
popoverContentHeight={popoverContentHeight}
|
2022-12-29 11:48:24 +00:00
|
|
|
/>
|
2023-03-24 16:11:21 +00:00
|
|
|
{dataSources?.length > 0 && (
|
|
|
|
|
<LeftSidebarDataSources
|
|
|
|
|
darkMode={darkMode}
|
|
|
|
|
selectedSidebarItem={selectedSidebarItem}
|
|
|
|
|
setSelectedSidebarItem={handleSelectedSidebarItem}
|
|
|
|
|
appId={appId}
|
|
|
|
|
editingVersionId={appVersionsId}
|
|
|
|
|
dataSources={dataSources}
|
|
|
|
|
globalDataSources={globalDataSources}
|
|
|
|
|
dataSourcesChanged={dataSourcesChanged}
|
|
|
|
|
globalDataSourcesChanged={globalDataSourcesChanged}
|
|
|
|
|
dataQueriesChanged={dataQueriesChanged}
|
|
|
|
|
toggleDataSourceManagerModal={toggleDataSourceManagerModal}
|
|
|
|
|
showDataSourceManagerModal={showDataSourceManagerModal}
|
|
|
|
|
popoverContentHeight={popoverContentHeight}
|
|
|
|
|
/>
|
|
|
|
|
)}
|
Feature: Collaboration ( realtime comments for canvas ) 🔥 (#810)
* feat: initial commit for collaboration feature
* add dnd to comments
* add positions endpoint
* feat: encapsulate all http common logic in http-client
* segregate sections and transfer responsibility of state
* feat: use-spring to add fade effect :zap:
* fix: open in right
* fix: left-right position css
* add footer for message
* integrate getcomment endpoint
* use fromnow for date ago
* add dnd
* - Add data trasfer object for comment
- Add class-validator package to check the response type from client
- Add comment repository class for persistance layer
- Add comment service with std. http methods
- Update controller with all http methods
- Update comment module
- Fix http-client bug when error is thrown
* fix http client bug when error is thrown
* feat: add entity thread
* feat: add migrations for thread and comment
* update entitites
* add tid to migration
* filter comments by tid(thread_id)
* fix: comment migration, add missing column comment
* feat: integrate in ui
* feat: split comments based on app_id
* fix: dnd to correct position
* package json engines
* engines update
* update npm
* npm 6 to 7
* fix: add user initials to thread
* fix: add firtname lastname to the comments
* - Return user object when save thread called
- Hide password field from user response
- Fix created_at date typo
- Instead of fetch all threads on new thread added, add the response to array of existing threads
* feat: update ui components
* change icon on comments view
* ui fixes
* fix: close icon close the popover
* temp: comment select: false
* use currentUser from localStorage
* fix: on click outside if comment is open, dont hit addThread
* fix: auth token issue in http-client
* on drag hide the comment if open
* add jwt auth
* spec: add test for comment & thread
* cleanup: remove console.log
* feat: add comment actions
* feat: add edit, delete, resolve options
* feat: add mentions component
* feat: add nestjs websockets
* temp
* websocket: establish client-server communication
* ws: add message listner to comments module in ui
* feat: add broadcast method to broadcast new events to all clients :bomb:
* ws: cleanup :call_me_hand:
* fix: remove max height from comment actions
* feat: add user mentions, emoji support
* fix: add static list of users - temp
* update and delete iterations
* - Rename comment, thread to comments, threads
- Add conditional actions
- Show edit, delete only if he is comment owner
- Show resolve only if he is thread owner
* reset engines
* move svgr webpack to deps
* fix: ui issues
* remove log stmt
* refactor: move resolved icon to comment-header
* feat: allow comments to be added on top of widgets
* feat: add keyboard shortcut
* scroll to bottom on comment add
* ui fixes
* feat: add react toast for notification display
* feat: add comment badge
* fix: ws connection
* fix: ws
* remove rvrse
* feat: add comment sidebar
* feat: add comment right sidebar
* fix: add missing foreign key elements
* - upgrade typeorm to 0.2.38
- comment sidebar ui
- added filter ui
* feat: on click of right sidebar notificaiton open the comment box
* reset engines
* fix: add organization id to the comment and thread module
* fix: add current version id
* add currentversion id
* disable comments if no id present
* temp:checking for heroku deploy
* fetch app on edit and deploy version
* rename current_version_id to app_versions_id
* ui fixes
* show mentioned user in blue color
* add ui changes
* add authorization for create thread
* change color to blue on click of comment, add auth for other endpoints of thread
* update threads, notifications using socket
* add auth for comments
* remove events spec file
* fix duplicate key error
* fix notificaitons updation on edit, delete, resolve buttons clicked
* update notifications for edit
* feature toggle changes for frontend
* add check for comments server
* add emoji mart package for emoji
* add reply count in comment sidebar
* subtract 1 from count in comment sidebar
* change empty text when no comments available
2021-11-01 07:28:03 +00:00
|
|
|
{config.COMMENT_FEATURE_ENABLE && (
|
2022-12-08 12:21:09 +00:00
|
|
|
<LeftSidebarComment
|
|
|
|
|
appVersionsId={appVersionsId}
|
2022-12-29 11:48:24 +00:00
|
|
|
selectedSidebarItem={showComments ? 'comments' : ''}
|
2022-12-08 12:21:09 +00:00
|
|
|
toggleComments={toggleComments}
|
|
|
|
|
currentPageId={currentPageId}
|
|
|
|
|
/>
|
Feature: Collaboration ( realtime comments for canvas ) 🔥 (#810)
* feat: initial commit for collaboration feature
* add dnd to comments
* add positions endpoint
* feat: encapsulate all http common logic in http-client
* segregate sections and transfer responsibility of state
* feat: use-spring to add fade effect :zap:
* fix: open in right
* fix: left-right position css
* add footer for message
* integrate getcomment endpoint
* use fromnow for date ago
* add dnd
* - Add data trasfer object for comment
- Add class-validator package to check the response type from client
- Add comment repository class for persistance layer
- Add comment service with std. http methods
- Update controller with all http methods
- Update comment module
- Fix http-client bug when error is thrown
* fix http client bug when error is thrown
* feat: add entity thread
* feat: add migrations for thread and comment
* update entitites
* add tid to migration
* filter comments by tid(thread_id)
* fix: comment migration, add missing column comment
* feat: integrate in ui
* feat: split comments based on app_id
* fix: dnd to correct position
* package json engines
* engines update
* update npm
* npm 6 to 7
* fix: add user initials to thread
* fix: add firtname lastname to the comments
* - Return user object when save thread called
- Hide password field from user response
- Fix created_at date typo
- Instead of fetch all threads on new thread added, add the response to array of existing threads
* feat: update ui components
* change icon on comments view
* ui fixes
* fix: close icon close the popover
* temp: comment select: false
* use currentUser from localStorage
* fix: on click outside if comment is open, dont hit addThread
* fix: auth token issue in http-client
* on drag hide the comment if open
* add jwt auth
* spec: add test for comment & thread
* cleanup: remove console.log
* feat: add comment actions
* feat: add edit, delete, resolve options
* feat: add mentions component
* feat: add nestjs websockets
* temp
* websocket: establish client-server communication
* ws: add message listner to comments module in ui
* feat: add broadcast method to broadcast new events to all clients :bomb:
* ws: cleanup :call_me_hand:
* fix: remove max height from comment actions
* feat: add user mentions, emoji support
* fix: add static list of users - temp
* update and delete iterations
* - Rename comment, thread to comments, threads
- Add conditional actions
- Show edit, delete only if he is comment owner
- Show resolve only if he is thread owner
* reset engines
* move svgr webpack to deps
* fix: ui issues
* remove log stmt
* refactor: move resolved icon to comment-header
* feat: allow comments to be added on top of widgets
* feat: add keyboard shortcut
* scroll to bottom on comment add
* ui fixes
* feat: add react toast for notification display
* feat: add comment badge
* fix: ws connection
* fix: ws
* remove rvrse
* feat: add comment sidebar
* feat: add comment right sidebar
* fix: add missing foreign key elements
* - upgrade typeorm to 0.2.38
- comment sidebar ui
- added filter ui
* feat: on click of right sidebar notificaiton open the comment box
* reset engines
* fix: add organization id to the comment and thread module
* fix: add current version id
* add currentversion id
* disable comments if no id present
* temp:checking for heroku deploy
* fetch app on edit and deploy version
* rename current_version_id to app_versions_id
* ui fixes
* show mentioned user in blue color
* add ui changes
* add authorization for create thread
* change color to blue on click of comment, add auth for other endpoints of thread
* update threads, notifications using socket
* add auth for comments
* remove events spec file
* fix duplicate key error
* fix notificaitons updation on edit, delete, resolve buttons clicked
* update notifications for edit
* feature toggle changes for frontend
* add check for comments server
* add emoji mart package for emoji
* add reply count in comment sidebar
* subtract 1 from count in comment sidebar
* change empty text when no comments available
2021-11-01 07:28:03 +00:00
|
|
|
)}
|
2021-10-13 04:02:18 +00:00
|
|
|
<ConfirmDialog
|
|
|
|
|
show={showLeaveDialog}
|
|
|
|
|
message={'The unsaved changes will be lost if you leave the editor, do you want to leave?'}
|
|
|
|
|
onConfirm={() => router.push('/')}
|
|
|
|
|
onCancel={() => setShowLeaveDialog(false)}
|
2023-01-06 11:44:56 +00:00
|
|
|
darkMode={darkMode}
|
2021-10-13 04:02:18 +00:00
|
|
|
/>
|
2021-09-12 04:24:47 +00:00
|
|
|
<div className="left-sidebar-stack-bottom">
|
2022-12-29 11:48:24 +00:00
|
|
|
<LeftSidebarDebugger
|
|
|
|
|
darkMode={darkMode}
|
|
|
|
|
selectedSidebarItem={selectedSidebarItem}
|
|
|
|
|
setSelectedSidebarItem={handleSelectedSidebarItem}
|
|
|
|
|
components={components}
|
|
|
|
|
errors={errorLogs}
|
|
|
|
|
debuggerActions={debuggerActions}
|
|
|
|
|
currentPageId={currentPageId}
|
2023-01-05 09:17:24 +00:00
|
|
|
popoverContentHeight={popoverContentHeight}
|
2022-12-29 11:48:24 +00:00
|
|
|
/>
|
2021-09-12 04:24:47 +00:00
|
|
|
<div className="left-sidebar-item no-border">
|
2021-10-21 17:27:31 +00:00
|
|
|
<DarkModeToggle switchDarkMode={switchDarkMode} darkMode={darkMode} tooltipPlacement="right" />
|
2021-08-17 06:01:12 +00:00
|
|
|
</div>
|
|
|
|
|
{/* <LeftSidebarItem icon='support' className='left-sidebar-item' /> */}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2021-09-12 04:24:47 +00:00
|
|
|
);
|
2022-06-15 10:46:51 +00:00
|
|
|
});
|