dashboard sidebar updated

This commit is contained in:
2025-08-29 16:39:14 +05:30
parent 62ddc1c25f
commit ef9c3a9c63

View File

@@ -64,7 +64,7 @@ const SidePannel: React.FC<SidePannelProps> = ({ setActiveTab, activeTab }) => {
if (projectSocket) { if (projectSocket) {
const handleResponse = (data: any) => { const handleResponse = (data: any) => {
if (data.message === "Project created successfully") { if (data.message === "Project created successfully") {
setLoadingProgress(1) setLoadingProgress(1);
navigate(`/projects/${data.data.projectId}`); navigate(`/projects/${data.data.projectId}`);
} }
projectSocket.off("v1-project:response:add", handleResponse); // Clean up projectSocket.off("v1-project:response:add", handleResponse); // Clean up
@@ -141,7 +141,10 @@ const SidePannel: React.FC<SidePannelProps> = ({ setActiveTab, activeTab }) => {
activeTab === "Tutorials" ? "option-list active" : "option-list" activeTab === "Tutorials" ? "option-list active" : "option-list"
} }
title="coming soon" title="coming soon"
onClick={() => setActiveTab("Tutorials")} onClick={() => {
// setActiveTab("Tutorials");
console.warn("Tutorials comming soon");
}}
> >
<TutorialsIcon /> <TutorialsIcon />
Tutorials Tutorials
@@ -153,14 +156,17 @@ const SidePannel: React.FC<SidePannelProps> = ({ setActiveTab, activeTab }) => {
: "option-list" : "option-list"
} }
title="coming soon" title="coming soon"
onClick={() => setActiveTab("Documentation")} onClick={() => {
// setActiveTab("Documentation");
console.warn("Documentation comming soon");
}}
> >
<DocumentationIcon /> <DocumentationIcon />
Documentation Documentation
</div> </div>
</div> </div>
<div className="side-bar-options-container" title="coming soon"> <div className="side-bar-options-container">
<div className="option-list"> <div className="option-list" title="coming soon">
<SettingsIcon /> <SettingsIcon />
Settings Settings
</div> </div>
@@ -175,7 +181,7 @@ const SidePannel: React.FC<SidePannelProps> = ({ setActiveTab, activeTab }) => {
<LogoutIcon /> <LogoutIcon />
Log out Log out
</div> </div>
<div className="option-list"> <div className="option-list" title="coming soon">
<HelpIcon /> <HelpIcon />
Help & Feedback Help & Feedback
</div> </div>