Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
fd340d3
Séparer les fournisseurs IA locaux et cloud dans les paramètres org
MisterPapaye Sep 15, 2026
4d29eaa
Add confirmation before archiving all done tasks
MisterPapaye Sep 15, 2026
6187a89
Pin the archived-tasks button to the right of the filter bar
MisterPapaye Sep 15, 2026
bf0e2b3
fix(agenda): true native smooth infinite horizontal scroll in week view
MisterPapaye Sep 15, 2026
0ab6fdb
Group archived tasks by date with section separators
MisterPapaye Sep 15, 2026
8685824
Add sort-by-folder option to archived tasks
MisterPapaye Sep 15, 2026
b133b93
Group archived tasks by real folders (TodoList) instead of space
MisterPapaye Sep 15, 2026
41e03e0
Add folder creation to the archived tasks panel
MisterPapaye Sep 15, 2026
9be827e
Enable drag-and-drop of archived tasks into folders
MisterPapaye Sep 15, 2026
880bdc9
fix: make admin panel content scroll (root App shell clips the page)
MisterPapaye Sep 15, 2026
e1ef186
fix: SpaceBar icon rail scrolls and stops colliding with the floating…
MisterPapaye Sep 15, 2026
20a7860
feat(agenda): mini-calendar week band, touch support, no popup on mobile
MisterPapaye Sep 15, 2026
0775776
fix: stop SpaceBar dividers/icons from shrinking, and outrank UserCar…
MisterPapaye Sep 15, 2026
f85837b
Fix Home showing blank on mobile
MisterPapaye Sep 15, 2026
92ca6cb
Open the conversation on mobile when tapping an AI session
MisterPapaye Sep 15, 2026
2424a02
fix(agenda): draw an actual rectangle around the visible week in Mini…
MisterPapaye Sep 15, 2026
2a9cb72
fix: mobile horizontal scroll in DM/thread messages (file attachments)
MisterPapaye Sep 15, 2026
8c8267c
fix: constrain avatar+content message row width explicitly
MisterPapaye Sep 15, 2026
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
11 changes: 8 additions & 3 deletions src/components/common/ConfirmDelete.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,15 @@
<div class="flex h-12 w-12 items-center justify-center rounded-full bg-red-500/10">
<i class="bi bi-exclamation-triangle text-2xl" />
</div>
<h3 class="text-xl font-bold text-(--text)">Supprimer {{ itemType }} ?</h3>
<h3 class="text-xl font-bold text-(--text)">{{ title || `Supprimer ${itemType} ?` }}</h3>
</div>

<p class="text-(--text) text-sm leading-relaxed mb-6">
Êtes-vous sûr de vouloir supprimer <strong>{{ itemName }}</strong> ?
Cette action est irréversible et toutes les données associées seront perdues.
<template v-if="message">{{ message }}</template>
<template v-else>
Êtes-vous sûr de vouloir supprimer <strong>{{ itemName }}</strong> ?
Cette action est irréversible et toutes les données associées seront perdues.
</template>
</p>

<div
Expand Down Expand Up @@ -108,6 +111,8 @@ const props = defineProps<{
checkbox?: boolean;
checktext?: boolean;
itemType?: string; // ex: "le salon", "le workspace"
title?: string; // surcharge le titre par défaut "Supprimer {itemType} ?"
message?: string; // surcharge le texte par défaut (utile pour une action non destructive)
loading?: boolean;
extraWarning?: string; // avertissement complémentaire affiché en encart ambre
}>();
Expand Down
4 changes: 4 additions & 0 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ body.light {

}

html {
overflow-x: hidden;
}

body {

overflow-x: hidden;
Expand Down
12 changes: 7 additions & 5 deletions src/views/AdminPanel.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<template>
<div class="min-h-screen bg-(--bg2) text-(--text) font-sans">
<div class="h-full flex flex-col overflow-hidden bg-(--bg2) text-(--text) font-sans">

<!-- Top Navigation -->
<nav class="sticky top-0 z-50 bg-(--bg)/80 backdrop-blur-xl border-b border-white/5 px-6 py-4">
<nav class="shrink-0 z-50 bg-(--bg)/80 backdrop-blur-xl border-b border-white/5 px-6 py-4">
<div class="max-w-7xl mx-auto flex items-center justify-between">
<div class="flex items-center gap-4">
<router-link to="/" class="p-2 hover:bg-white/5 rounded-xl transition-colors">
Expand All @@ -25,8 +25,10 @@
</div>
</nav>

<main class="max-w-7xl mx-auto p-6 mt-4">
<router-view></router-view>
<main class="flex-1 min-h-0 overflow-y-auto">
<div class="max-w-7xl mx-auto p-6 mt-4">
<router-view></router-view>
</div>
</main>
</div>
</template>
Expand Down
16 changes: 8 additions & 8 deletions src/views/OrgSpace/components/common/ChatMessage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@

</div>

<div class="z-20 flex justify-start items-start gap-3">
<div class="z-20 flex justify-start items-start gap-3 min-w-0 w-full">

<img
v-if="msg.sender && !isStacked"
Expand Down Expand Up @@ -163,22 +163,22 @@
v-for="file in msg.files"
:key="file.id"
class="
group/file relative flex items-center gap-3 p-2
rounded-lg border border-(--text)/10
bg-white/3 hover:bg-white/5 transition-all
max-w-sm overflow-hidden
group/file relative flex items-center gap-3 p-2
rounded-lg border border-(--text)/10
bg-white/3 hover:bg-white/5 transition-all
max-w-full sm:max-w-sm min-w-0 overflow-hidden
"
:title="file.originalName"
>

<div class="w-10 h-10 shrink-0 flex items-center justify-center rounded bg-(--bg) border border-(--text)/5">

<i class="bi text-xl" :class="[ getFileInfo(file).color, getFileInfo(file).icon ]" />

</div>

<div class="flex flex-col min-w-0 pr-2">
<span class="text-xs font-medium text-(--text) truncate">
<div class="flex flex-col min-w-0 flex-1 pr-2">
<span class="text-xs font-medium text-(--text) truncate min-w-0">
{{ file.originalName }}
</span>
<span class="text-[10px] text-(--text2) uppercase tracking-wider">
Expand Down
16 changes: 8 additions & 8 deletions src/views/OrgSpace/components/common/ThreadMessage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@

<!-- Emoji reaction picker dropdown - REMOVED: using MessageReactions component instead -->

<div class="z-20 flex justify-start items-start gap-3">
<div class="z-20 flex justify-start items-start gap-3 min-w-0 w-full">

<img
v-if="msg.isWebhook && !isStacked"
Expand Down Expand Up @@ -170,22 +170,22 @@
v-for="file in msg.files"
:key="file.id"
class="
group/file relative flex items-center gap-3 p-2
rounded-lg border border-(--text)/10
bg-white/3 hover:bg-white/5 transition-all
max-w-sm overflow-hidden
group/file relative flex items-center gap-3 p-2
rounded-lg border border-(--text)/10
bg-white/3 hover:bg-white/5 transition-all
max-w-full sm:max-w-sm min-w-0 overflow-hidden
"
:title="file.originalName"
>

<div class="w-10 h-10 shrink-0 flex items-center justify-center rounded bg-(--bg) border border-(--text)/5">

<i class="bi text-xl" :class="[ getFileInfo(file as any).color, getFileInfo(file as any).icon ]" />

</div>

<div class="flex flex-col min-w-0 pr-2">
<span class="text-xs font-medium text-(--text) truncate">
<div class="flex flex-col min-w-0 flex-1 pr-2">
<span class="text-xs font-medium text-(--text) truncate min-w-0">
{{ file.originalName }}
</span>
<span class="text-[10px] text-(--text2) uppercase tracking-wider">
Expand Down
38 changes: 22 additions & 16 deletions src/views/OrgSpace/components/layouts/SpaceBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import SpaceBarBTN from '../common/SpaceBarBTN.vue';
import { useRoute, useRouter } from 'vue-router';
import CreateNewSpace from '../popup/CreateNewSpace.vue';
import { openedOrg, todoEnabled, aiEnabled, agendaEnabled, user } from '@/assets/var';
import { openedOrg, todoEnabled, aiEnabled, agendaEnabled, user, userCardHeight } from '@/assets/var';
import { useNotification } from '@/composables/useNotification';
import draggable from 'vuedraggable';
import { ref, watch } from 'vue';
Expand Down Expand Up @@ -75,9 +75,12 @@ const onSpaceOrderChange = async () => {
"
>

<ul class="flex justify-start items-center flex-col gap-2 h-full w-full">
<ul
class="flex justify-start items-center flex-col gap-2 h-full w-full overflow-y-auto"
:style="{ paddingBottom: userCardHeight + 'px' }"
>

<RouterLink to="/">
<RouterLink to="/" class="shrink-0">
<SpaceBarBTN
icon="bi-arrow-bar-left"
label="Revenir aux organisation"
Expand All @@ -86,7 +89,7 @@ const onSpaceOrderChange = async () => {
/>
</RouterLink>

<RouterLink v-if="canAny(['ORG_GENERAL', 'ORG_MEMBERS', 'ORG_ROLES', 'ORG_WEBHOOKS', 'ORG_STORAGE', 'ORG_AI'])" :to="`/${openedOrg.id}/settings?showView=0`">
<RouterLink v-if="canAny(['ORG_GENERAL', 'ORG_MEMBERS', 'ORG_ROLES', 'ORG_WEBHOOKS', 'ORG_STORAGE', 'ORG_AI'])" :to="`/${openedOrg.id}/settings?showView=0`" class="shrink-0">
<SpaceBarBTN
icon="bi-gear"
label="Paramètres"
Expand All @@ -95,9 +98,9 @@ const onSpaceOrderChange = async () => {
/>
</RouterLink>

<hr class=" w-8 h-0.5 bg-(--text)/50 border-none rounded-full my-2" />
<hr class="shrink-0 w-8 h-0.5 bg-(--text)/50 border-none rounded-full my-2" />

<RouterLink :to="`/${openedOrg.id}/home?showView=0`">
<RouterLink :to="`/${openedOrg.id}/home?showView=1`" class="shrink-0">
<SpaceBarBTN
icon="bi-house"
label="Général"
Expand All @@ -107,7 +110,7 @@ const onSpaceOrderChange = async () => {
/>
</RouterLink>

<RouterLink :to="`/${openedOrg.id}/chat?showView=0`" class="relative">
<RouterLink :to="`/${openedOrg.id}/chat?showView=0`" class="relative shrink-0">
<SpaceBarBTN
icon="bi-chat-dots"
label="Messages privées"
Expand All @@ -117,7 +120,7 @@ const onSpaceOrderChange = async () => {
/>
</RouterLink>

<RouterLink v-if="todoEnabled" :to="`/${openedOrg.id}/tasks?showView=1`">
<RouterLink v-if="todoEnabled" :to="`/${openedOrg.id}/tasks?showView=1`" class="shrink-0">
<SpaceBarBTN
icon="bi-list-check"
label="Mes Tâches"
Expand All @@ -126,23 +129,23 @@ const onSpaceOrderChange = async () => {
/>
</RouterLink>

<RouterLink v-if="agendaEnabled" :to="`/${openedOrg.id}/agenda?showView=1`">
<RouterLink v-if="agendaEnabled" :to="`/${openedOrg.id}/agenda?showView=1`" class="shrink-0">
<SpaceBarBTN
icon="bi-calendar3"
label="Agenda"
:active="route.name === 'AgendaGlobal'"
/>
</RouterLink>

<RouterLink v-if="aiEnabled" :to="`/${openedOrg.id}/ai?showView=0`">
<RouterLink v-if="aiEnabled" :to="`/${openedOrg.id}/ai?showView=0`" class="shrink-0">
<SpaceBarBTN
icon="bi-robot"
label="Synco AI"
:active="route.name === 'OrgAI'"
/>
</RouterLink>

<hr class=" w-8 h-0.5 bg-(--text)/50 border-none rounded-full my-2" />
<hr class="shrink-0 w-8 h-0.5 bg-(--text)/50 border-none rounded-full my-2" />

<draggable
v-model="localSpaces"
Expand All @@ -151,12 +154,12 @@ const onSpaceOrderChange = async () => {
@change="onSpaceOrderChange"
ghost-class="opacity-50"
drag-class="cursor-grabbing"
class="flex flex-col gap-2 w-full"
class="shrink-0 flex flex-col gap-2 w-full"
>
<template #item="{ element: space }">
<RouterLink
:to="`/${openedOrg.id}/${space.id}?showView=0`"
class="w-full flex justify-center cursor-grab active:cursor-grabbing"
class="w-full shrink-0 flex justify-center cursor-grab active:cursor-grabbing"
>
<SpaceBarBTN
:key="'space-' + space.id + '-btn'"
Expand Down Expand Up @@ -190,7 +193,10 @@ const onSpaceOrderChange = async () => {
"
>

<ul class="flex justify-start items-center flex-col gap-2 h-full w-full ">
<ul
class="flex justify-start items-center flex-col gap-2 h-full w-full overflow-y-auto"
:style="{ paddingBottom: userCardHeight + 'px' }"
>

<SpaceBarBTN
icon="bi-arrow-bar-left"
Expand All @@ -208,7 +214,7 @@ const onSpaceOrderChange = async () => {
"
/>

<hr class=" w-8 h-0.5 bg-(--text)/50 border-none rounded-full my-2" />
<hr class="shrink-0 w-8 h-0.5 bg-(--text)/50 border-none rounded-full my-2" />

<div
v-for="i in 2"
Expand All @@ -220,7 +226,7 @@ const onSpaceOrderChange = async () => {
"
/>

<hr class=" w-8 h-0.5 bg-(--text)/50 border-none rounded-full my-2" />
<hr class="shrink-0 w-8 h-0.5 bg-(--text)/50 border-none rounded-full my-2" />

<div
v-for="i in 5"
Expand Down
19 changes: 15 additions & 4 deletions src/views/OrgSpace/components/layouts/ThreadsBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@

<div class="space-y-1">
<button
@click="newSession"
@click="startAiSession"
class="default w-full flex items-center justify-start! gap-2 mb-4"
>
<i class="bi bi-plus-lg"></i>
Expand All @@ -221,12 +221,12 @@
</span>
</button>

<button
v-for="session in chatSessions"
<button
v-for="session in chatSessions"
:key="session.id"
class="tab w-full group flex items-center justify-between"
:class="activeSessionId === session.id ? 'active' : ''"
@click="loadSession(session.id)"
@click="selectAiSession(session.id)"
>
<div class="truncate pr-2 flex-1 text-sm">
{{ session.title || 'Nouveau chat' }}
Expand Down Expand Up @@ -389,6 +389,17 @@ const isChat = computed(() => route.name == 'OrgChat' || route.name == 'OrgThrea
const isHome = computed(()=> route.name == 'OrgHome' || route.name == 'OrgThreadHome');
const isSettings = computed(()=> route.name?.toString().startsWith('OrgSettings'));
const isAI = computed(() => route.name === 'OrgAI');

const selectAiSession = (sessionId: string) => {
loadSession(sessionId);
router.push({ query: { ...route.query, showView: '1' } });
};

const startAiSession = () => {
newSession();
router.push({ query: { ...route.query, showView: '1' } });
};

const showDropDown = ref<boolean>(false);
const showSearchModal = ref<boolean>(false);

Expand Down
2 changes: 1 addition & 1 deletion src/views/OrgSpace/components/layouts/UserCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<div
ref="cardRootEl"
class="absolute bottom-1 left-1 flex flex-col gap-1"
class="absolute bottom-1 left-1 z-30 flex flex-col gap-1"
:class="isLittleScreen ? 'w-full' : 'w-75'"
>

Expand Down
Loading
Loading