OpenFn / lightning

OpenFn/Lightning ⚡️ is the newest version of the OpenFn DPG and provides a web UI to visually manage complex workflow automation projects.
https://openfn.github.io/lightning/
GNU Lesser General Public License v3.0
130 stars 36 forks source link

AI Assistant: Disclaimer should be shown once per user per day #2481

Open josephjclark opened 2 months ago

josephjclark commented 2 months ago

The AI assistant disclaimer panel is designed to add very lightweight friction to users coming into the AI assistant. It's designed to make users think twice about using AI and put a little bit of onus back on the human.

In main right now, the disclaimer is only every shown once per user. It'll be forgotten within a minute of closing, and never seen again. There is literally no benefit to it.

The recommendation as per #2411 was to restore the disclaimer once per user, per project, per day. As in - every day, when a user opens the assistant on project for the first time that day, the disclaimer appears.

I actually think per project is unnecessary, but I'd really like to see the disclaimer splash be shown once per day per user.

It's OK to check on page load whether to show the disclaimer. We don't need a timer in the page or anything to do it in the session. It doesn't need to be ironclad or foolproof.

I would actually write the marker to local storage, not the database. If the user logs in on two browsers, they'll have to dismiss the disclaimer twice. This really isn't a big deal.

josephjclark commented 1 month ago

@christad92 @stuartc I think this is one of the most important AI assistant issues to fix!

josephjclark commented 1 month ago

Hey @christad92 @stuartc this is really important. Do we have a timeline on it?

josephjclark commented 1 month ago

Related: I want to add a rotating quote to the disclaimer, something to make it more interesting when its re-displayed.

I'm working on a list here.