(feat): big methanium/ui migration
Some checks failed
/ build-web (push) Failing after 5m27s
/ build-desktop (linux) (push) Failing after 5m54s
/ build-mobile (push) Failing after 8m0s
/ release (push) Has been skipped

(feat): update message state icons
(qol): update todo
(qol): formatted
This commit is contained in:
Alois 2026-07-26 18:55:46 +02:00
commit ace7973dff
Signed by: alois
SSH key fingerprint: SHA256:GBzT2DXvAuGV9XIV5W3WrzVpjU54FThmxHXdbz95J24
24 changed files with 842 additions and 541 deletions

View file

@ -1,6 +1,6 @@
import type { RawMessage } from "../values";
import Text from "@tensamin/markdown/text";
import { AlertTriangle, Check, Ellipse, RefreshCw } from "lucide-react";
import { AlertTriangle, Check, CheckLine, RefreshCw } from "lucide-react";
import { memo, useCallback, useEffect, useState } from "react";
import type { User } from "@tensamin/user/context";
@ -289,11 +289,11 @@ function MessageComponent({
color="var(--primary-foreground-alt)"
/>
) : message.MessageState === "received" ? (
<Check size={12} color="var(--muted-foreground)" />
<CheckLine size={12} color="var(--muted-foreground)" />
) : message.MessageState === "sent" ? (
<RefreshCw size={12} color="var(--muted-foreground)" />
<Check size={12} color="var(--muted-foreground)" />
) : message.MessageState === "sending" ? (
<Ellipse size={12} color="var(--muted-foreground)" />
<RefreshCw size={12} color="var(--muted-foreground)" />
) : null}
{actuallyFailed && (
<AlertTriangle color="var(--destructive)" size={12} />