Первый коммит для gitea

This commit is contained in:
2025-07-24 16:26:18 +03:00
parent 34baeb40e3
commit 4c7f79bb7f
35 changed files with 168 additions and 4957 deletions

View File

@@ -10,7 +10,7 @@
<script setup lang="ts">
import { ref, computed, watch } from 'vue'
import { useRouter, useRoute } from 'vue-router'
import { useRouter, useRoute } from 'vue-router'
import meetingBlock from 'components/meetingBlock.vue'
import { useMeetingsStore } from 'stores/meetings'
import { parseIntString } from 'helpers/helpers'

View File

@@ -122,7 +122,6 @@
}
function messageUser () {
console.log((!user.value ? '' : (user.value.username)))
const telegramUrl = 'https://t.me/' + (!user.value ? '' : (user.value.username ?? undefined))
if (tg?.platform !== 'unknown') {

View File

@@ -31,18 +31,17 @@
:img="project.logo"
:name="project.name"
type="rounded"
size="lg"
/>
<div class="flex column text-white fit">
<div
class="text-h6 q-pl-sm"
style="max-width: -webkit-fill-available; white-space: pre-line"
class="text-h6 q-pl-sm text-field"
>
{{ project.name }}
</div>
<div
class="text-caption q-pl-sm"
style="max-width: -webkit-fill-available; white-space: pre-line"
class="text-caption q-pl-sm text-field"
>
{{ project.description }}
</div>
@@ -101,6 +100,7 @@
:img="item.logo"
:name="item.name"
type="rounded"
size="lg"
/>
</q-item-section>
<q-item-section :class="item.id === currentProjectId ? 'text-primary !important' : ''">
@@ -137,19 +137,20 @@
const currentProjectId = computed(() => projectsStore.currentProjectId)
const projects = projectsStore.getProjects
const project = computed(() => {
const currentProject = currentProjectId.value && projectsStore.projectById(currentProjectId.value)
const currentProject =
currentProjectId.value && projectsStore.projectById(currentProjectId.value)
return currentProject
? {
name: currentProject.name,
description: currentProject.description ?? '',
logo: currentProject.logo ?? ''
}
: {
name: '',
description: '',
logo: ''
}
return currentProject
? {
name: currentProject.name,
description: currentProject.description ?? '',
logo: currentProject.logo ?? ''
}
: {
name: '',
description: '',
logo: ''
}
})
@@ -176,9 +177,14 @@
</script>
<style scoped>
.fix-width-scroll :deep(.q-scrollarea__content){
width: 100%
}
.text-field {
max-width: -webkit-fill-available;
white-space: pre-line;
}
.fix-width-scroll :deep(.q-scrollarea__content){
width: 100%
}
</style>

View File

@@ -83,36 +83,38 @@
</span>
</q-btn>
</div>
<template v-for="item in displayTasks" :key="item.id">
<q-slide-item
@right="handleSlideRight($event, item.id)"
@left="handleSlideLeft($event, item.id)"
clickable
v-ripple
@click="goTask(item.id)"
right-color="red"
left-color="green"
>
<template #right v-if="item.status !== 6">
<q-icon size="lg" name="mdi-clipboard-remove-outline"/>
</template>
<template #left v-if="item.status === 6">
<q-icon size="lg" name="mdi-clipboard-play-outline"/>
</template>
<q-item
:key="item.id"
:style = "{
backgroundColor:
item.status === 6
? '#999'
: 'inherit',
border: item.status === 6 ? 'solid 1px #999' : 'inherit'
}"
<q-list separator>
<template v-for="item in displayTasks" :key="item.id">
<q-slide-item
@right="handleSlideRight($event, item.id)"
@left="handleSlideLeft($event, item.id)"
clickable
v-ripple
@click="goTask(item.id)"
right-color="red"
left-color="green"
>
<task-item :item/>
</q-item>
</q-slide-item>
</template>
<template #right v-if="item.status !== 6">
<q-icon size="lg" name="mdi-clipboard-remove-outline"/>
</template>
<template #left v-if="item.status === 6">
<q-icon size="lg" name="mdi-clipboard-play-outline"/>
</template>
<q-item
:key="item.id"
:style = "{
backgroundColor:
item.status === 6
? '#999'
: 'inherit',
border: item.status === 6 ? 'solid 1px #999' : 'inherit'
}"
>
<task-item :item/>
</q-item>
</q-slide-item>
</template>
</q-list>
</pn-scroll-list>
<q-page-sticky
position="bottom-right"