feat(dm): add first / last message date, dm duration and overall messages

This commit is contained in:
Samuel 2024-12-14 16:27:02 +01:00
parent bce22b1c7f
commit e45812534b
12 changed files with 495 additions and 65 deletions

View file

@ -4,7 +4,7 @@ import type { RouteSectionProps } from "@solidjs/router";
import { allThreadsOverviewQuery, overallSentMessagesQuery, SELF_ID } from "~/db";
import { OverviewTable, type RoomOverview } from "./overview-table";
import { getNameFromRecipient } from "~/lib/getNameFromRecipient";
import { getNameFromRecipient } from "~/lib/get-name-from-recipient";
export const Overview: Component<RouteSectionProps> = () => {
const [allSelfSentMessagesCount] = createResource(() => overallSentMessagesQuery(SELF_ID));