Commit ·
4d87f7f
1
Parent(s): 5c502c9
fix: Replace name with MediCode
Browse files- lib/medical_transcription_web/components/sidebar_component.ex +2 -2
- lib/medical_transcription_web/live/home_live/index.ex +1 -1
- livebooks/sample_implementation.livemd +1 -1
- test/medical_transcription_web/controllers/page_controller_test.exs +1 -1
- test/medical_transcription_web/live/home_live_test.exs +1 -1
- test/medical_transcription_web/live/transcriptions_live_show_test.exs +1 -1
lib/medical_transcription_web/components/sidebar_component.ex
CHANGED
|
@@ -11,11 +11,11 @@ defmodule MedicodeWeb.Components.SidebarComponent do
|
|
| 11 |
def sidebar(assigns) do
|
| 12 |
~H"""
|
| 13 |
<header class="hidden w-[335px] min-w-[335px] pt-6 border-r border-gray-200 lg:flex flex-col gap-12 overflow-hidden">
|
| 14 |
-
<div class="flex items-center gap-[10.5px]">
|
| 15 |
<img src={~p"/images/logo.svg"} width="48" />
|
| 16 |
|
| 17 |
<h1 class="text-lg leading-normal px-2 font-semibold">
|
| 18 |
-
|
| 19 |
</h1>
|
| 20 |
</div>
|
| 21 |
|
|
|
|
| 11 |
def sidebar(assigns) do
|
| 12 |
~H"""
|
| 13 |
<header class="hidden w-[335px] min-w-[335px] pt-6 border-r border-gray-200 lg:flex flex-col gap-12 overflow-hidden">
|
| 14 |
+
<div class="flex items-center pl-6 gap-[10.5px]">
|
| 15 |
<img src={~p"/images/logo.svg"} width="48" />
|
| 16 |
|
| 17 |
<h1 class="text-lg leading-normal px-2 font-semibold">
|
| 18 |
+
MediCode
|
| 19 |
</h1>
|
| 20 |
</div>
|
| 21 |
|
lib/medical_transcription_web/live/home_live/index.ex
CHANGED
|
@@ -31,7 +31,7 @@ defmodule MedicodeWeb.HomeLive.Index do
|
|
| 31 |
<div class="flex-1 flex flex-col space-y-6">
|
| 32 |
<div class="flex-1 flex flex-col justify-center items-center gap-4">
|
| 33 |
<img src={~p"/images/logo.svg"} width="106" />
|
| 34 |
-
<p class="text-2xl leading-normal font-semibold">
|
| 35 |
</div>
|
| 36 |
<.upload_form audio_upload={@uploads.audio} />
|
| 37 |
</div>
|
|
|
|
| 31 |
<div class="flex-1 flex flex-col space-y-6">
|
| 32 |
<div class="flex-1 flex flex-col justify-center items-center gap-4">
|
| 33 |
<img src={~p"/images/logo.svg"} width="106" />
|
| 34 |
+
<p class="text-2xl leading-normal font-semibold">MediCode</p>
|
| 35 |
</div>
|
| 36 |
<.upload_form audio_upload={@uploads.audio} />
|
| 37 |
</div>
|
livebooks/sample_implementation.livemd
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
<!-- livebook:{"app_settings":{"auto_shutdown_ms":5000,"multi_session":true,"slug":"medical-code-transcriber"}} -->
|
| 2 |
|
| 3 |
-
#
|
| 4 |
|
| 5 |
```elixir
|
| 6 |
Mix.install(
|
|
|
|
| 1 |
<!-- livebook:{"app_settings":{"auto_shutdown_ms":5000,"multi_session":true,"slug":"medical-code-transcriber"}} -->
|
| 2 |
|
| 3 |
+
# MediCode
|
| 4 |
|
| 5 |
```elixir
|
| 6 |
Mix.install(
|
test/medical_transcription_web/controllers/page_controller_test.exs
CHANGED
|
@@ -11,6 +11,6 @@ defmodule MedicodeWeb.PageControllerTest do
|
|
| 11 |
|
| 12 |
test "GET /", %{conn: conn} do
|
| 13 |
conn = get(conn, ~p"/")
|
| 14 |
-
assert html_response(conn, 200) =~ "
|
| 15 |
end
|
| 16 |
end
|
|
|
|
| 11 |
|
| 12 |
test "GET /", %{conn: conn} do
|
| 13 |
conn = get(conn, ~p"/")
|
| 14 |
+
assert html_response(conn, 200) =~ "MediCode"
|
| 15 |
end
|
| 16 |
end
|
test/medical_transcription_web/live/home_live_test.exs
CHANGED
|
@@ -24,7 +24,7 @@ defmodule MedicodeWeb.HomeLiveTest do
|
|
| 24 |
|
| 25 |
# TODO: Ensure that we're testing both the non-live and live versions here.
|
| 26 |
conn = get(conn, "/")
|
| 27 |
-
assert html_response(conn, 200) =~ "
|
| 28 |
|
| 29 |
{:ok, view, html} = live(conn)
|
| 30 |
assert html =~ "Audio file can be .mp3"
|
|
|
|
| 24 |
|
| 25 |
# TODO: Ensure that we're testing both the non-live and live versions here.
|
| 26 |
conn = get(conn, "/")
|
| 27 |
+
assert html_response(conn, 200) =~ "MediCode"
|
| 28 |
|
| 29 |
{:ok, view, html} = live(conn)
|
| 30 |
assert html =~ "Audio file can be .mp3"
|
test/medical_transcription_web/live/transcriptions_live_show_test.exs
CHANGED
|
@@ -23,7 +23,7 @@ defmodule MedicodeWeb.TranscriptionsLive.ShowTest do
|
|
| 23 |
describe "/" do
|
| 24 |
test "renders transcription show screen", %{conn: conn, transcription: transcription} do
|
| 25 |
conn = get(conn, "/transcriptions/#{transcription.id}")
|
| 26 |
-
assert html_response(conn, 200) =~ "
|
| 27 |
|
| 28 |
{:ok, _view, html} = live(conn)
|
| 29 |
assert html =~ "my-audio.mp3"
|
|
|
|
| 23 |
describe "/" do
|
| 24 |
test "renders transcription show screen", %{conn: conn, transcription: transcription} do
|
| 25 |
conn = get(conn, "/transcriptions/#{transcription.id}")
|
| 26 |
+
assert html_response(conn, 200) =~ "MediCode"
|
| 27 |
|
| 28 |
{:ok, _view, html} = live(conn)
|
| 29 |
assert html =~ "my-audio.mp3"
|