Merge branch 'feat/ai-mantis-searcher' of ssh://git.cmzi.uk:222/styletech-sls-team/stylepoint into feat/ai-mantis-searcher

This commit is contained in:
Cameron Redmore 2025-04-27 09:45:30 +01:00
commit 80ca48be70
6 changed files with 22 additions and 6 deletions

1
.gitattributes vendored Normal file
View file

@ -0,0 +1 @@
* text=lf

View file

@ -1,7 +1,8 @@
{ {
"recommendations": [ "recommendations": [
"prisma.prisma", "prisma.prisma",
"dbaeumer.vscode-eslint" "dbaeumer.vscode-eslint",
"vue.volar"
], ],
"unwantedRecommendations": [ "unwantedRecommendations": [
"octref.vetur", "octref.vetur",

View file

@ -58,7 +58,7 @@ router.post('/generate-registration-options', async(req, res) =>
} }
//Check if the registrationToken matches the setting //Check if the registrationToken matches the setting
const registrationTokenSetting = await getSetting('REGISTRATION_TOKEN'); const registrationTokenSetting = await getSetting('REGISTRATION_TOKEN') || 'INITIAL_REGISTRATION_TOKEN_PLEASE_CHANGE_ME';
if (registrationTokenSetting !== registrationToken && !req.session.loggedInUserId) if (registrationTokenSetting !== registrationToken && !req.session.loggedInUserId)
{ {

View file

@ -39,3 +39,15 @@ a:not(.q-link):not(.q-btn) {
color: $blue-5; color: $blue-5;
} }
} }
.body--light {
background: #efefef;
}
.text-outline {
-webkit-text-stroke: 1px black;
}
.text-shadow {
text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

View file

@ -196,7 +196,7 @@
<q-fab <q-fab
v-model="isChatVisible" v-model="isChatVisible"
icon="chat" icon="chat"
class="bg-theme" class="bg-theme text-white"
direction="up" direction="up"
@click="toggleChat" @click="toggleChat"
/> />

View file

@ -95,6 +95,7 @@
<q-badge <q-badge
:color="getStatusColor(statusProps.row.status)" :color="getStatusColor(statusProps.row.status)"
:label="statusProps.row.status" :label="statusProps.row.status"
class="text-bold text-shadow text-subtitle2 text-uppercase"
/> />
</q-td> </q-td>
</template> </template>
@ -103,6 +104,7 @@
<q-badge <q-badge
:color="getPriorityColor(priorityProps.row.priority)" :color="getPriorityColor(priorityProps.row.priority)"
:label="priorityProps.row.priority" :label="priorityProps.row.priority"
class="text-bold text-shadow text-subtitle2 text-uppercase"
/> />
</q-td> </q-td>
</template> </template>
@ -111,6 +113,7 @@
<q-badge <q-badge
:color="getSeverityColor(severityProps.row.severity)" :color="getSeverityColor(severityProps.row.severity)"
:label="severityProps.row.severity" :label="severityProps.row.severity"
class="text-bold text-shadow text-subtitle2 text-uppercase"
/> />
</q-td> </q-td>
</template> </template>
@ -120,12 +123,11 @@
class="text-center" class="text-center"
> >
<q-btn <q-btn
size="sm" size="md"
color="info" color="info"
icon="summarize" icon="summarize"
round round
flat flat
dense
@click.stop="showTicketSummary(actionsProps.row.id)" @click.stop="showTicketSummary(actionsProps.row.id)"
:title="'Show summary for ticket ' + actionsProps.row.id" :title="'Show summary for ticket ' + actionsProps.row.id"
/> />
@ -394,7 +396,7 @@ const getSeverityColor = (severity) =>
if (lowerSeverity === 'trivial') return 'grey'; if (lowerSeverity === 'trivial') return 'grey';
if (lowerSeverity === 'text') return 'blue-grey'; if (lowerSeverity === 'text') return 'blue-grey';
if (lowerSeverity === 'tweak') return 'light-blue'; if (lowerSeverity === 'tweak') return 'light-blue';
if (lowerSeverity === 'minor') return 'lime'; if (lowerSeverity === 'minor') return 'lime-9';
if (lowerSeverity === 'major') return 'amber'; if (lowerSeverity === 'major') return 'amber';
if (lowerSeverity === 'crash') return 'deep-orange'; if (lowerSeverity === 'crash') return 'deep-orange';
if (lowerSeverity === 'block') return 'red'; if (lowerSeverity === 'block') return 'red';