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
125 stars 33 forks source link

User friendly time conventions in the app #1255

Open NickOpenFn opened 10 months ago

NickOpenFn commented 10 months ago

Instead of plain ol' timestamps, we can normalise and have more user friendly time conventions in the app.

Example:

Requirements:

Actual format to be done before refinement

taylordowns2000 commented 10 months ago

@NickOpenFn , it's super important for our users (primarily devs) to have immediate access to full timestamps. We want to have our cake and eat it too! See how we partially solved this problem in V1 with a hover tooltip:

image

We use https://date-fns.org/ for human friendly and give precision on hover.

The unsolved part of the problem—that we still get complaints about!—is that devs also want to have copy/paste-able developer friendly timestamps. With this hover tootlip, there's not an easy way to select the full timestamp (and it's not in a super dev-friendly format) and copy it to your cilpboard. Can we do better?

NickOpenFn commented 10 months ago

@taylordowns2000 Awesome, thanks for this! I had a similar idea to display the full timestamp on hover. The copy/paste is a great user insight and something that I'll make sure is incl. in here when we tackle it.