Skip to content

Commit 5f8b505

Browse files
committed
add warning for handle updates
1 parent 60dd3a9 commit 5f8b505

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

lib/algora_web/live/user/settings_live.ex

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,13 @@ defmodule AlgoraWeb.User.SettingsLive do
2020
<.card_content>
2121
<.simple_form for={@form} phx-change="validate" phx-submit="save">
2222
<div class="flex flex-col gap-6">
23-
<.input field={@form[:handle]} label="Handle" />
23+
<div class="flex flex-col gap-2">
24+
<.input field={@form[:handle]} label="Handle" />
25+
<p class="text-sm text-muted-foreground flex items-center gap-1.5">
26+
<.icon name="tabler-alert-triangle" class="w-4 h-4" />
27+
Changing your handle can have unintended side effects.
28+
</p>
29+
</div>
2430
<.input
2531
label="Email"
2632
name="email"

0 commit comments

Comments
 (0)