Skip to content

Commit bd31989

Browse files
committed
Move icons to the left of project and workflow name
1 parent a80ad59 commit bd31989

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,10 @@ This bug was introduced in version `v2.12.3-pre` on May 29th. If you're tracking
193193

194194
### Changed
195195

196+
- Optimize run claim query performance with per-workflow limiting strategy
197+
[#3245](https://github.com/OpenFn/lightning/pull/3245)
198+
- Add configurable per-workflow claim limit (default: 50) via
199+
`PER_WORKFLOW_CLAIM_LIMIT` environment variable
196200
- Update Elixir to 1.18.3 [#2748](https://github.com/OpenFn/lightning/pull/2748)
197201
- Standardized table components across the application
198202
[#2905](https://github.com/OpenFn/lightning/issues/2905)

lib/lightning_web/live/dashboard_live/components.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,14 @@ defmodule LightningWeb.DashboardLive.Components do
113113
class="hover:bg-gray-100 transition-colors duration-200"
114114
onclick={JS.navigate(~p"/projects/#{project.id}/w")}
115115
>
116+
<% dbg(project) %>
116117
<.td>
117-
{project.name}
118118
<.icon
119119
:if={project.has_ai_chat}
120120
name="hero-sparkles"
121121
class="size-4"
122122
/>
123+
{project.name}
123124
</.td>
124125
<.td class="break-words max-w-[25rem]">
125126
{String.capitalize(to_string(project.role))}

lib/lightning_web/live/workflow_live/dashboard_components.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,8 @@ defmodule LightningWeb.WorkflowLive.DashboardComponents do
323323
class="flex-shrink truncate text-gray-900 font-medium workflow-name"
324324
style="max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;"
325325
>
326-
{@workflow.name}
327326
<.icon :if={@workflow.has_ai_chat} name="hero-sparkles" class="size-4" />
327+
{@workflow.name}
328328
</span>
329329
</div>
330330
<%= if @trigger_enabled do %>

0 commit comments

Comments
 (0)