From 6722954d64142a7fe320479d08953e810668362e Mon Sep 17 00:00:00 2001 From: "Elias W. BA" Date: Wed, 23 Oct 2024 13:16:52 +0000 Subject: [PATCH] Fix Collapse Issue in the Projects Page Welcome Section (#2605) * Fix shadow overflow * Correctly use retry for exunit assertions * Update Arcade resources --------- Co-authored-by: Stuart Corbishley --- .../live/dashboard_live/index.ex | 19 ++++++++++++------- test/lightning/version_control_test.exs | 11 +++++------ .../live/workflow_live/edit_test.exs | 3 ++- 3 files changed, 19 insertions(+), 14 deletions(-) diff --git a/lib/lightning_web/live/dashboard_live/index.ex b/lib/lightning_web/live/dashboard_live/index.ex index e1b56caae8..e8b2751a4e 100644 --- a/lib/lightning_web/live/dashboard_live/index.ex +++ b/lib/lightning_web/live/dashboard_live/index.ex @@ -14,25 +14,25 @@ defmodule LightningWeb.DashboardLive.Index do id: 1, title: "Getting Started with OpenFn", link: - "https://demo.arcade.software/WhOK61AiXdG73Dd5lfSa?embed&embed_mobile=inline&embed_desktop=inline&show_copy_link=true" + "https://demo.arcade.software/xmGSUuZ1Ovd9WeHaTLle?embed&embed_mobile=inline&embed_desktop=inline&show_copy_link=true" }, %{ id: 2, title: "Creating your first workflow", link: - "https://demo.arcade.software/WhOK61AiXdG73Dd5lfSa?embed&embed_mobile=inline&embed_desktop=inline&show_copy_link=true" + "https://demo.arcade.software/JzPHX0mUGTkPgAUoctHy?embed&embed_mobile=inline&embed_desktop=inline&show_copy_link=true" }, %{ id: 3, title: "How to use the IDE", link: - "https://demo.arcade.software/WhOK61AiXdG73Dd5lfSa?embed&embed_mobile=inline&embed_desktop=inline&show_copy_link=true" + "https://demo.arcade.software/L3jtNbBEdMJHtY1Z1PFk?embed&embed_mobile=inline&embed_desktop=inline&show_copy_link=true" }, %{ id: 4, title: "Managing project history", link: - "https://demo.arcade.software/WhOK61AiXdG73Dd5lfSa?embed&embed_mobile=inline&embed_desktop=inline&show_copy_link=true" + "https://demo.arcade.software/JLR25gjZdm3NlasAIrZ5?embed&embed_mobile=inline&embed_desktop=inline&show_copy_link=true" } ] @@ -212,7 +212,7 @@ defmodule LightningWeb.DashboardLive.Index do
@@ -246,7 +246,12 @@ defmodule LightningWeb.DashboardLive.Index do type="button" phx-click="select-arcade-resource" phx-value-resource={@resource.id} - class="relative flex items-end h-[150px] bg-gradient-to-r from-blue-400 to-purple-500 text-white rounded-lg shadow-sm hover:shadow-md transition-shadow duration-300 p-4 text-left" + class={[ + "relative flex items-end h-[150px] p-4 text-left", + "bg-gradient-to-r from-blue-400 to-purple-500", + "text-white rounded-lg shadow-sm hover:shadow-md", + "transition-shadow duration-300" + ]} >

<%= @resource.title %> @@ -264,7 +269,7 @@ defmodule LightningWeb.DashboardLive.Index do show={true} width="w-5/6" > -