From 9d206b06d09269dfbc4b04c582fc03a4c71ca84c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Bara=C3=BAna?= Date: Fri, 4 Aug 2023 09:34:04 -0300 Subject: [PATCH] Changes copy of Add Teams Hub page (#2139) --- lib/livebook_web/live/hub/new_live.ex | 17 +++++++++++++++-- lib/livebook_web/live/layout_helpers.ex | 2 +- test/livebook_web/live/home_live_test.exs | 2 +- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/lib/livebook_web/live/hub/new_live.ex b/lib/livebook_web/live/hub/new_live.ex index 971d06f6e..0ba83e521 100644 --- a/lib/livebook_web/live/hub/new_live.ex +++ b/lib/livebook_web/live/hub/new_live.ex @@ -43,9 +43,22 @@ defmodule LivebookWeb.Hub.NewLive do
- +

- Manage your Livebooks in the cloud with Hubs. + + Livebook Teams amplifies Livebook with features designed for teams and businesses. It is currently in closed beta. +

+

+ To create a Teams organization, you must join the beta for free early access.

diff --git a/lib/livebook_web/live/layout_helpers.ex b/lib/livebook_web/live/layout_helpers.ex index b77546b67..7522c669b 100644 --- a/lib/livebook_web/live/layout_helpers.ex +++ b/lib/livebook_web/live/layout_helpers.ex @@ -220,7 +220,7 @@ defmodule LivebookWeb.LayoutHelpers do <% end %> <% end %> - <.sidebar_link title="Add Teams" icon="add-line" to={~p"/hub"} current={@current_page} /> + <.sidebar_link title="Add Organization" icon="add-line" to={~p"/hub"} current={@current_page} />
""" diff --git a/test/livebook_web/live/home_live_test.exs b/test/livebook_web/live/home_live_test.exs index 3334564c4..f27d777d1 100644 --- a/test/livebook_web/live/home_live_test.exs +++ b/test/livebook_web/live/home_live_test.exs @@ -208,7 +208,7 @@ defmodule LivebookWeb.HomeLiveTest do test "renders sidebar section", %{conn: conn} do {:ok, _view, html} = live(conn, ~p"/") assert html =~ "HUBS" - assert html =~ "Add Teams" + assert html =~ "Add Organization" end test "renders sidebar persisted hubs", %{conn: conn} do