OpenFn / OpenFn/lightning

Show an Icon for Projects, Workflows and Steps that have associated AI chats

Open
#2,922 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Elixir
Stars
296
Forks
86
Avg merge
1d 13h
Merged PRs (30d)
50

Description

As part of the responsible AI policy, it's important that we clearly disclose use of AI in any workflows.

One neat an unobtrusive means of doing this is to add a little icon to a Project, Workflow or Step which has an AI chat associated with it. That affects the project and workflow lists in LiveView, and the WorkflowDiagram component in React.

This has a number of benefits:

  1. Its easier for users to track down older AI chats
  2. Clear disclosure that AI was used on a given project/workflow/step (this is super important!)
  3. A shortcut to open the inspect on the chat history

The biggest blocker here is that we don't have any such icon prepared 🤔 I suppose we can start by using the chip icon used inside the chat itself.

I also don't know if this is easy information to get out of the database. I would accept just having an icon on steps if the hierarchy is too hard

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the project and workflow lists in LiveView and the WorkflowDiagram component in React, then trace how associated AI chats are exposed. Review the existing chip icon used in the chat. Done means projects, workflows, or steps with associated AI chats show an unobtrusive icon and provide the intended chat-history inspection shortcut.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir, react
Domain
backend, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.