Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ PUBLIC_TURNSTILE_DEV_BYPASS_VALUE=INVALID

PUBLIC_DEVELOPMENT_BANNER=false

PUBLIC_DISABLE_ONBOARDING=false

PUBLIC_DISABLE_SHOCKER_MAP=true

Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@
"@opentelemetry/sdk-logs": "^0.223.0",
"@opentelemetry/sdk-trace-node": "^2.12.0",
"@opentelemetry/sdk-trace-web": "^2.12.0",
"driver.js": "^1.10.1",
"temporal-polyfill": "^1.0.5",
"vite": "^8.3.4"
},
Expand Down
8 changes: 0 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

51 changes: 0 additions & 51 deletions src/app.css
Original file line number Diff line number Diff line change
@@ -1,54 +1,3 @@
@import 'tailwindcss';
@import 'tw-animate-css';
@import '@openshock/svelte-core/theme.css';

/* driver.js theme override — match the dark UI */
.driver-popover {
background: #13131a;
color: rgba(255, 255, 255, 0.85);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 0.75rem;
}
.driver-popover-title {
color: #fff;
font-weight: 600;
}
.driver-popover-description {
color: rgba(255, 255, 255, 0.7);
}
.driver-popover-arrow-side-left.driver-popover-arrow,
.driver-popover-arrow-side-right.driver-popover-arrow,
.driver-popover-arrow-side-top.driver-popover-arrow,
.driver-popover-arrow-side-bottom.driver-popover-arrow {
border-color: #13131a;
}
.driver-popover-progress-text {
color: rgba(255, 255, 255, 0.5);
font-size: 0.75rem;
}
.driver-popover-footer button {
background: rgba(255, 255, 255, 0.08) !important;
color: #fff !important;
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 0.5rem;
padding: 0.375rem 0.875rem;
font-size: 0.875rem;
text-shadow: none !important;
}
.driver-popover-footer button:hover {
background: rgba(255, 255, 255, 0.14) !important;
}
.driver-popover-footer .driver-popover-next-btn {
background: #fff !important;
color: #000 !important;
border-color: transparent;
}
.driver-popover-footer .driver-popover-next-btn:hover {
background: rgba(255, 255, 255, 0.9) !important;
}
.driver-popover-close-btn {
color: rgba(255, 255, 255, 0.5);
}
.driver-popover-close-btn:hover {
color: #fff;
}
6 changes: 0 additions & 6 deletions src/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,6 @@ export const variables = defineEnvVars({
description: 'Shows the "development deployment" banner above the app shell.',
schema: isTruthy,
},
PUBLIC_DISABLE_ONBOARDING: {
public: true,
static: true,
description: 'Suppresses the first-run onboarding tour.',
schema: isTruthy,
},
PUBLIC_DISABLE_SHOCKER_MAP: {
public: true,
static: true,
Expand Down
21 changes: 0 additions & 21 deletions src/lib/state/auth-state.svelte.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
import { registerOnUnauthorized } from '#lib/errorhandling/apiErrorHandling.js';
import { destroySignalR, initializeSignalR } from '#lib/signalr/user.svelte.js';
import {
hasCompletedTour,
hasSeenWelcome,
isOnboardingDisabled,
markTourCompleted,
startWelcomeTour,
} from '#lib/tour/welcome-tour.js';
import { dialog } from '@openshock/svelte-core/components/dialog-manager';
import { userState } from './user-state.svelte';

export const AuthStatus = {
Expand All @@ -33,18 +25,6 @@ export const authState = {
},
};

async function maybeTourPrompt() {
if (isOnboardingDisabled() || hasCompletedTour() || !hasSeenWelcome()) return;
const result = await dialog.confirm({
title: 'Take the quick tour?',
desc: "You skipped it earlier. It only takes a minute and shows you what's new.",
confirmButtonText: 'Sure, show me',
cancelButtonText: 'No thanks',
});
if (result.confirmed) await startWelcomeTour();
else markTourCompleted();
}

/**
* Wires up the reactive side-effects of auth state:
* - SignalR connects/disconnects as the user logs in/out.
Expand All @@ -61,7 +41,6 @@ export function startAuthLifecycle() {
$effect(() => {
const self = userState.self;
if (self && !prevSelf) {
void maybeTourPrompt();
void initializeSignalR();
} else if (!self) {
void destroySignalR();
Expand Down
78 changes: 0 additions & 78 deletions src/lib/tour/onboarding-state.ts

This file was deleted.

Loading
Loading