(wip): add reactions
Some checks failed
/ release (push) Has been cancelled
/ build-desktop (linux) (push) Has been cancelled
/ build-web (push) Has been cancelled
/ build-mobile (push) Has been cancelled

(qol): update todo
This commit is contained in:
Alois 2026-07-11 14:53:12 +02:00
commit 7ba08090fe
20 changed files with 4533 additions and 5894 deletions

View file

@ -1,7 +1,11 @@
import { List, Switch } from "@/features/settings/components";
import { Kbd } from "@tensamin/ui";
import { Button, Kbd } from "@tensamin/ui";
import { useStorage } from "@tensamin/storage/context";
import { storageDefaults } from "@tensamin/shared/data";
export default function Page() {
const { save } = useStorage();
return (
<div className="flex flex-col gap-2">
<Switch
@ -29,6 +33,12 @@ export default function Page() {
Trusted embed domains can get your IP-Address! Only add domains if you
really trust them!
</p>
<Button
variant="outline"
onClick={() => void save("reactions", storageDefaults.reactions)}
>
Reset Emoji Ranks
</Button>
<List label="Trusted embed domains" id="chat_trusted_domains" />
</div>
);