Skip to content

Commit 84ed65c

Browse files
committed
feat: tweak anon names
1 parent 9c223c6 commit 84ed65c

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed

valentine/lib/valentine_web/live/workspace_live/components/presence_indicator_component.ex

+14-10
Original file line numberDiff line numberDiff line change
@@ -62,16 +62,20 @@ defmodule ValentineWeb.WorkspaceLive.Components.PresenceIndicatorComponent do
6262

6363
defp get_name("||" <> _key, index) do
6464
[
65-
"Anonymous Vancouverite",
66-
"Anonymous Ottawan",
67-
"Anonymous Haligonian",
68-
"Anonymous Yellowknifer",
69-
"Anonymous Calgarian",
70-
"Anonymous Winnipegger",
71-
"Anonymous Edmontonian",
72-
"Anonymous Yukoner",
73-
"Anonymous Montrealer",
74-
"Anonymous Banffite"
65+
"Adventurous Ant",
66+
"Bashful Bumblebee",
67+
"Clever Caterpillar",
68+
"Daring Dragonfly",
69+
"Eager Earwig",
70+
"Friendly Firefly",
71+
"Gentle Grasshopper",
72+
"Happy Hornet",
73+
"Inquisitive Inchworm",
74+
"Jolly Junebug",
75+
"Kindly Katydid",
76+
"Lively Ladybug",
77+
"Merry Mosquito",
78+
"Nice Nematode"
7579
]
7680
|> Enum.at(index)
7781
end

valentine/test/valentine_web/live/components/presence_indicator_component_test.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ defmodule ValentineWeb.WorkspaceLive.Components.PresenceIndicatorComponentTest d
161161
current_user: "some_user"
162162
)
163163

164-
assert html =~ "Anonymous Vancouverite"
164+
assert html =~ "Adventurous Ant"
165165
end
166166

167167
test "renders a presence with their username if it does not start with ||" do

0 commit comments

Comments
 (0)