From 2ab70c2f27ef8f32771df892fda10ac4a7835793 Mon Sep 17 00:00:00 2001 From: Andrew Dryga Date: Mon, 14 Oct 2024 15:50:19 -0600 Subject: [PATCH] feat(portal): Add flash asking people to deploy more than 1 gateway to a site (#7034) This should help with showcasing core features of our product and to increase their adoption. Closes #5009 --- elixir/apps/web/lib/web/live/sites/show.ex | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/elixir/apps/web/lib/web/live/sites/show.ex b/elixir/apps/web/lib/web/live/sites/show.ex index b6e0e3b27..e3d4a9222 100644 --- a/elixir/apps/web/lib/web/live/sites/show.ex +++ b/elixir/apps/web/lib/web/live/sites/show.ex @@ -164,6 +164,13 @@ defmodule Web.Sites.Show do its resources. <:content flash={@flash}> + <.flash :if={@gateways_metadata.count == 1} kind={:info} style="wide" class="mb-2"> + Deploy at least one more gateway to ensure + <.website_link path="/kb/deploy/gateways" fragment="deploy-multiple-gateways"> + high availability + . + +
<.live_table id="gateways"