-
Notifications
You must be signed in to change notification settings - Fork 50
Indicate chat exists on project, workflow or job #3258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
6225ead
to
cbec882
Compare
cbec882
to
197423d
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3258 +/- ##
========================================
+ Coverage 1.09% 1.41% +0.32%
========================================
Files 363 363
Lines 13938 13958 +20
========================================
+ Hits 152 197 +45
+ Misses 13786 13761 -25 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @jyeshe great job, man. I have just one comment on the placement of the sparkles icon in the projects and workflows table. Maybe worth chatting with @taylordowns2000 and @josephjclark for UI ideas.
@@ -182,6 +182,11 @@ defmodule LightningWeb.DashboardLive.Components do | |||
> | |||
<.td> | |||
{project.name} | |||
<.icon |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -326,6 +326,7 @@ defmodule LightningWeb.WorkflowLive.DashboardComponents do | |||
style="max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;" | |||
> | |||
{@workflow.name} | |||
<.icon :if={@workflow.has_ai_chat} name="hero-sparkles" class="size-4" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as my previous comment
Description
This PR adds an icon on the workflows and projects lists when the user has a chat in a job that belongs to the workflow or project (directly or indirectly).
It also indicates if the user has started a chat on a specific job, on the Workflow Diagram
Closes #2922
Validation steps
exists
tonot exists
onlightning/lib/lightning/projects.ex
Line 125 in d229670
exists
on this line:lightning/lib/lightning/workflows.ex
Line 369 in d229670
lightning/lib/lightning_web/live/workflow_live/edit.ex
Line 3086 in d229670
Additional notes for the reviewer
AI Usage
Please disclose how you've used AI in this work (it's cool, we just want to know!):
You can read more details in our Responsible AI Policy
Pre-submission checklist
:owner
,:admin
,:editor
,:viewer
)