Responsive UI improvements (#41)

* Improved responsive UX for media profiles

* Improved responsiveness for other pages

* Added docs; fixed up stragglers
This commit is contained in:
Kieran
2024-02-29 12:24:54 -08:00
committed by GitHub
parent 9fc2edfd4a
commit 5b29f5036a
14 changed files with 67 additions and 56 deletions
@@ -17,7 +17,7 @@ defmodule PinchflatWeb.MediaProfileControllerTest do
describe "index" do
test "lists all media_profiles", %{conn: conn} do
conn = get(conn, ~p"/media_profiles")
assert html_response(conn, 200) =~ "All Media Profiles"
assert html_response(conn, 200) =~ "Media Profiles"
end
end
@@ -45,7 +45,7 @@ defmodule PinchflatWeb.MediaProfileControllerTest do
assert redirected_to(conn) == ~p"/media_profiles/#{id}"
conn = get(conn, ~p"/media_profiles/#{id}")
assert html_response(conn, 200) =~ "Media Profile ##{id}"
assert html_response(conn, 200) =~ "Media Profile"
end
test "renders errors when data is invalid", %{conn: conn} do
@@ -32,7 +32,7 @@ defmodule PinchflatWeb.SourceControllerTest do
describe "index" do
test "lists all sources", %{conn: conn} do
conn = get(conn, ~p"/sources")
assert html_response(conn, 200) =~ "All Sources"
assert html_response(conn, 200) =~ "Sources"
end
end
@@ -61,7 +61,7 @@ defmodule PinchflatWeb.SourceControllerTest do
assert redirected_to(conn) == ~p"/sources/#{id}"
conn = get(conn, ~p"/sources/#{id}")
assert html_response(conn, 200) =~ "Source ##{id}"
assert html_response(conn, 200) =~ "Source"
end
test "renders errors when data is invalid", %{conn: conn, invalid_attrs: invalid_attrs} do