mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 00:36:31 +02:00
refactor: remove documents management step from onboarding tour
This commit is contained in:
parent
0edaf429ba
commit
ed3443bc9e
1 changed files with 1 additions and 8 deletions
|
|
@ -39,12 +39,6 @@ const TOUR_STEPS: TourStep[] = [
|
|||
content: "View mentions and notifications in one place.",
|
||||
placement: "right",
|
||||
},
|
||||
{
|
||||
target: '[data-joyride="documents-sidebar"]',
|
||||
title: "Manage your documents",
|
||||
content: "Access and manage all your uploaded documents.",
|
||||
placement: "right",
|
||||
},
|
||||
];
|
||||
|
||||
interface TooltipPosition {
|
||||
|
|
@ -203,13 +197,12 @@ function TourTooltip({
|
|||
const dotSize = 6;
|
||||
const isUploadStep = stepIndex === 1;
|
||||
const isInboxStep = stepIndex === 2;
|
||||
const isDocumentsStep = stepIndex === 3;
|
||||
|
||||
if (position.pointerPosition === "left") {
|
||||
return {
|
||||
position: "absolute",
|
||||
left: -lineLength - dotSize,
|
||||
top: isDocumentsStep || isInboxStep ? "calc(50% - 8px)" : "50%",
|
||||
top: isInboxStep ? "calc(50% - 8px)" : "50%",
|
||||
transform: "translateY(-50%)",
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue