From 0b6e8f7ef2c3c210ca38484d9a0cf34c2443f29b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonatan=20K=C5=82osko?= Date: Wed, 3 Mar 2021 23:22:53 +0100 Subject: [PATCH] Update web client title to Livebook --- lib/livebook_web/live/home_live.ex | 2 +- lib/livebook_web/templates/layout/root.html.leex | 2 +- test/livebook_web/live/home_live_test.exs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/livebook_web/live/home_live.ex b/lib/livebook_web/live/home_live.ex index 28ace1863..8a132c89d 100644 --- a/lib/livebook_web/live/home_live.ex +++ b/lib/livebook_web/live/home_live.ex @@ -18,7 +18,7 @@ defmodule LivebookWeb.HomeLive do def render(assigns) do ~L"""
-

LiveBook

+

Livebook

diff --git a/lib/livebook_web/templates/layout/root.html.leex b/lib/livebook_web/templates/layout/root.html.leex index 4256bcaf6..b8b0bb8b8 100644 --- a/lib/livebook_web/templates/layout/root.html.leex +++ b/lib/livebook_web/templates/layout/root.html.leex @@ -5,7 +5,7 @@ <%= csrf_meta_tag() %> - <%= live_title_tag assigns[:page_title] || "LiveBook" %> + <%= live_title_tag assigns[:page_title] || "Livebook" %> "/> diff --git a/test/livebook_web/live/home_live_test.exs b/test/livebook_web/live/home_live_test.exs index 91481af4d..496d7cad4 100644 --- a/test/livebook_web/live/home_live_test.exs +++ b/test/livebook_web/live/home_live_test.exs @@ -7,8 +7,8 @@ defmodule LivebookWeb.HomeLiveTest do test "disconnected and connected render", %{conn: conn} do {:ok, view, disconnected_html} = live(conn, "/") - assert disconnected_html =~ "LiveBook" - assert render(view) =~ "LiveBook" + assert disconnected_html =~ "Livebook" + assert render(view) =~ "Livebook" end test "redirects to session upon creation", %{conn: conn} do