Skip to content

Commit ae5ea89

Browse files
committed
feat: add embed Algora prompt to dashboard getting started
1 parent 17693aa commit ae5ea89

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/algora_web/live/org/dashboard_live.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1245,6 +1245,7 @@ defmodule AlgoraWeb.Org.DashboardLive do
12451245
{&reward_bounty_status/1, "Reward a bounty", nil},
12461246
{&create_contract_status/1, "Contract a developer",
12471247
if(current_org.handle, do: [patch: ~p"/#{current_org.handle}/dashboard?action=create_contract"])},
1248+
{&embed_algora_status/1, "Embed Algora", "/docs/embed/sdk"},
12481249
{&share_with_friend_status/1, "Share Algora with a friend", nil}
12491250
]
12501251

@@ -1253,6 +1254,7 @@ defmodule AlgoraWeb.Org.DashboardLive do
12531254
{&complete_signin_status/1, "Sign in to your account", nil},
12541255
{&create_contract_status/1, "Contract a developer",
12551256
if(current_org.handle, do: [patch: ~p"/#{current_org.handle}/dashboard?action=create_contract"])},
1257+
{&embed_algora_status/1, "Embed Algora", "/docs/embed/sdk"},
12561258
{&share_with_friend_status/1, "Share Algora with a friend", nil}
12571259
]
12581260
end
@@ -1330,6 +1332,7 @@ defmodule AlgoraWeb.Org.DashboardLive do
13301332
end
13311333
end
13321334

1335+
defp embed_algora_status(_socket), do: :upcoming
13331336
defp share_with_friend_status(_socket), do: :upcoming
13341337

13351338
defp developer_card(assigns) do

0 commit comments

Comments
 (0)