Deployment and lifecycle management for Nix
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

web: drop on page back buttons

+5 -17
-2
apps/sower/lib/sower_web/live/agent_live/show.html.heex
··· 117 117 </section> 118 118 </div> 119 119 120 - <.back navigate={~p"/agents"}>Back to agents</.back> 121 - 122 120 <.modal 123 121 :if={@live_action == :edit} 124 122 id="agent-modal"
-5
apps/sower/lib/sower_web/live/deployment_live/show.ex
··· 24 24 > 25 25 Retry 26 26 </.button> 27 - <.link patch={~p"/deployments"}> 28 - <.button> 29 - <.icon name="hero-arrow-left" /> 30 - </.button> 31 - </.link> 32 27 </:actions> 33 28 </.header> 34 29
-2
apps/sower/lib/sower_web/live/forge/connection_live/show.html.heex
··· 42 42 </:action> 43 43 </.table> 44 44 45 - <.back navigate={~p"/forges"}>Back to forges</.back> 46 - 47 45 <.modal 48 46 :if={@live_action == :edit} 49 47 id="connection-modal"
-2
apps/sower/lib/sower_web/live/nix/cache_live/show.html.heex
··· 14 14 <:item title="Public key">{@cache.public_key}</:item> 15 15 </.list> 16 16 17 - <.back navigate={~p"/nix/caches"}>Back to Nix Caches</.back> 18 - 19 17 <.modal 20 18 :if={@live_action == :edit} 21 19 id="cache-modal"
-2
apps/sower/lib/sower_web/live/seed_live/show.html.heex
··· 27 27 <.local_datetime datetime={@seed.updated_at} user_timezone={@user_timezone} /> 28 28 </:item> 29 29 </.list> 30 - 31 - <.back navigate={~p"/seeds"}>Back to seeds</.back> 32 30 </Layouts.app>
-2
apps/sower/lib/sower_web/live/settings/access_token_live/show.html.heex
··· 30 30 </:item> 31 31 </.list> 32 32 33 - <.back navigate={~p"/settings/access-tokens"}>Back to access-tokens</.back> 34 - 35 33 <.modal 36 34 :if={@live_action == :edit} 37 35 id="access_token-modal"
-2
apps/sower/lib/sower_web/live/subscription_live/show.html.heex
··· 88 88 </section> 89 89 </div> 90 90 91 - <.back navigate={~p"/agents/#{@agent}/subscriptions"}>Back to subscriptions</.back> 92 - 93 91 <.modal 94 92 :if={@live_action == :edit} 95 93 id="subscription-modal"
+1
apps/sower/test/sower_web/live/cache_live_test.exs
··· 96 96 97 97 assert html =~ "Show Cache" 98 98 assert html =~ cache.public_key 99 + refute html =~ "Back to" 99 100 end 100 101 101 102 test "updates cache within modal", %{conn: conn, cache: cache} do
+2
apps/sower/test/sower_web/live/deployment_live_show_test.exs
··· 82 82 83 83 {:ok, _show_live, html} = live(conn, ~p"/deployments/#{successful_deployment.sid}") 84 84 assert html =~ "Retry" 85 + refute html =~ "hero-arrow-left" 85 86 86 87 {:ok, _show_live, html} = live(conn, ~p"/deployments/#{running_deployment.sid}") 87 88 refute html =~ "Retry" 89 + refute html =~ "hero-arrow-left" 88 90 end 89 91 90 92 test "creates a retry deployment from the show page", %{conn: conn, user: user} do
+1
apps/sower/test/sower_web/live/forge/connection_live_test.exs
··· 107 107 108 108 assert html =~ "Show Connection" 109 109 assert html =~ connection.name 110 + refute html =~ "Back to" 110 111 end 111 112 112 113 test "updates connection within modal", %{conn: conn, connection: connection} do
+1
apps/sower/test/sower_web/live/settings/access_token_live_test.exs
··· 86 86 {:ok, _show_live, html} = live(conn, ~p"/settings/access-tokens/#{access_token}") 87 87 88 88 assert html =~ "Show Access token" 89 + refute html =~ "Back to" 89 90 end 90 91 91 92 test "updates access_token within modal", %{conn: conn, access_token: access_token} do