feat: Implement chat pagination, participant single page with mutations, and fix user link substitutions

This commit is contained in:
Daan Meijer
2026-06-17 22:55:11 +02:00
parent 11df4ef55c
commit ed16d5dcda
12 changed files with 268 additions and 43 deletions
+7
View File
@@ -4,6 +4,7 @@ import { useEcho } from '@laravel/echo-vue';
import { ref } from 'vue';
import { route } from 'ziggy-js';
import AddMutationForm from '@/components/AddMutationForm.vue';
import Chat from '@/components/Chat.vue';
import MutationList from '@/components/MutationList.vue';
const props = defineProps<{
@@ -37,6 +38,10 @@ const props = defineProps<{
}>;
};
isOwner: boolean;
messages: {
data: Array<any>;
next_page_url: string | null;
};
}>();
const breadcrumbs = [
@@ -258,6 +263,8 @@ function isOwnerUser(userId: number): boolean {
:ledger-alignment="ledger.alignment"
@open-lightbox="openLightbox"
/>
<Chat :chat="dynamic.chat" :initial-messages="messages" :participants="dynamic.participants" :dynamic-id="dynamic.id" />
</div>
</div>