6 Commits

Author SHA1 Message Date
c04a2b06cb Fixed glitchtip disabled inversion on API
Some checks failed
Continuous Deployment / Update Deployment (push) Failing after 1m22s
2025-12-08 14:51:02 -05:00
98138f51f4 Fixed glitchtip disabled state inverted (whoops)
Some checks failed
Continuous Deployment / Update Deployment (push) Failing after 1m12s
2025-12-04 23:42:28 -05:00
5a7b3ba2ab fixed application form sizing
Some checks failed
Continuous Deployment / Update Deployment (push) Failing after 1m12s
2025-12-03 19:23:50 -05:00
2de6b18135 Fixed scrolling on unauthroized page 2025-12-03 19:16:10 -05:00
aedcbd9492 Sticky'd navbar
Some checks failed
Continuous Deployment / Update Deployment (push) Failing after 1m11s
2025-12-03 19:14:47 -05:00
f985e0234c Merge pull request 'Onboarding-Reworko' (#52) from Onboarding-Reworko into main
Some checks failed
Continuous Deployment / Update Deployment (push) Failing after 1m11s
Reviewed-on: #52
2025-12-03 16:58:17 -06:00
5 changed files with 20 additions and 18 deletions

View File

@@ -20,8 +20,8 @@ const port = process.env.SERVER_PORT;
//glitchtip setup //glitchtip setup
const sentry = require('@sentry/node'); const sentry = require('@sentry/node');
if (!process.env.DISABLE_GLITCHTIP) { if (process.env.DISABLE_GLITCHTIP) {
console.log("Glitchtip disabled AAAAAA") console.log("Glitchtip disabled")
} else { } else {
let dsn = process.env.GLITCHTIP_DSN; let dsn = process.env.GLITCHTIP_DSN;
sentry.init({ dsn: dsn }); sentry.init({ dsn: dsn });

View File

@@ -22,18 +22,20 @@ const environment = import.meta.env.VITE_ENVIRONMENT;
<template> <template>
<div class="flex flex-col min-h-screen"> <div class="flex flex-col min-h-screen">
<Navbar class="flex"></Navbar> <div class="sticky top-0 bg-background z-50">
<Alert v-if="environment == 'dev'" class="m-2 mx-auto w-5xl" variant="info"> <Navbar class="flex"></Navbar>
<AlertDescription class="flex flex-row items-center text-nowrap gap-5 mx-auto"> <Alert v-if="environment == 'dev'" class="m-2 mx-auto w-5xl" variant="info">
<p>This is a development build of the application. Some features will be unavailable or unstable.</p> <AlertDescription class="flex flex-row items-center text-nowrap gap-5 mx-auto">
</AlertDescription> <p>This is a development build of the application. Some features will be unavailable or unstable.</p>
</Alert> </AlertDescription>
<Alert v-if="userStore.user?.loa?.[0]" class="m-2 mx-auto w-5xl" variant="info"> </Alert>
<AlertDescription class="flex flex-row items-center text-nowrap gap-5 mx-auto"> <Alert v-if="userStore.user?.loa?.[0]" class="m-2 mx-auto w-5xl" variant="info">
<p>You are on LOA until <strong>{{ formatDate(userStore.user?.loa?.[0].end_date) }}</strong></p> <AlertDescription class="flex flex-row items-center text-nowrap gap-5 mx-auto">
<Button variant="secondary">End LOA</Button> <p>You are on LOA until <strong>{{ formatDate(userStore.user?.loa?.[0].end_date) }}</strong></p>
</AlertDescription> <Button variant="secondary">End LOA</Button>
</Alert> </AlertDescription>
</Alert>
</div>
<RouterView class="flex-1 min-h-0"></RouterView> <RouterView class="flex-1 min-h-0"></RouterView>
</div> </div>

View File

@@ -20,7 +20,7 @@ const app = createApp(App)
app.use(createPinia()) app.use(createPinia())
app.use(router) app.use(router)
if (!!import.meta.env.VITE_DISABLE_GLITCHTIP) { if (!import.meta.env.VITE_DISABLE_GLITCHTIP) {
let dsn = import.meta.env.VITE_GLITCHTIP_DSN; let dsn = import.meta.env.VITE_GLITCHTIP_DSN;
let environment = import.meta.env.VITE_ENVIRONMENT; let environment = import.meta.env.VITE_ENVIRONMENT;

View File

@@ -116,7 +116,7 @@ const finalPanel = ref<'app' | 'message'>('message');
</div> </div>
<!-- Content --> <!-- Content -->
<div class="mt-12 mb-20 flex w-full justify-center"> <div class="mt-12 mb-20 flex w-full max-w-6xl justify-center">
<div v-if="currentStep === 1" class="w-full max-w-2xl p-8"> <div v-if="currentStep === 1" class="w-full max-w-2xl p-8">
<h1 class="text-3xl sm:text-4xl font-bold mb-4 text-left"> <h1 class="text-3xl sm:text-4xl font-bold mb-4 text-left">
Create your account Create your account
@@ -133,7 +133,7 @@ const finalPanel = ref<'app' | 'message'>('message');
</div> </div>
<Application v-else-if="currentStep === 2" @submit="userStore.loadUser()" :mode="'create'"></Application> <Application v-else-if="currentStep === 2" @submit="userStore.loadUser()" :mode="'create'"></Application>
<Application v-else-if="currentStep === 3" :mode="'view-self'"></Application> <Application v-else-if="currentStep === 3" :mode="'view-self'"></Application>
<div v-if="currentStep === 5" class="w-full max-w-4xl p-8 pt-0"> <div v-if="currentStep === 5" class="w-full p-8 pt-0">
<div class="mb-5"> <div class="mb-5">
<div class="flex w-min *:px-10 pt-2 border-b *:w-full *:text-center *:pb-1 *:cursor-pointer"> <div class="flex w-min *:px-10 pt-2 border-b *:w-full *:text-center *:pb-1 *:cursor-pointer">
<label :class="finalPanel === 'message' ? 'border-b-3 border-foreground' : 'mb-[2px]'" <label :class="finalPanel === 'message' ? 'border-b-3 border-foreground' : 'mb-[2px]'"

View File

@@ -1,5 +1,5 @@
<template> <template>
<div class="min-h-screen flex flex-col items-center justify-center text-center px-6"> <div class="flex flex-col items-center justify-center text-center px-6">
<h1 class="text-5xl font-bold mb-4">Unauthorized</h1> <h1 class="text-5xl font-bold mb-4">Unauthorized</h1>
<p class="text-lg text-muted-foreground max-w-md mb-6"> <p class="text-lg text-muted-foreground max-w-md mb-6">
You don't have permission to access this page. You don't have permission to access this page.