jlai / fitness-dashboard

Dashboard for viewing Fitbit stats
https://dashboard.exercise.quest
MIT License
12 stars 3 forks source link

Add copy to clipboard on click for totals #53

Closed Xebeth closed 2 months ago

Xebeth commented 2 months ago

I've just noticed my changes make the headers wrap. I'll have a look later.

jlai commented 2 months ago

Might be better to have a copy button for the entire row, instead of the individual column values? If it's separated by tab characters, it should paste into separate cells in a spreadsheet

Or maybe even just a button to copy the entire table

Xebeth commented 2 months ago

I do copy them into a spreadsheet but the values aren't necessarily succeeding each others. I guess it could be an option. Copying the whole table (or current selection) would be nice though, I think.

Xebeth commented 2 months ago

The wrapping actually occurs on your version too so it's actually not due to my changes.

jlai commented 2 months ago

Could you provide a screenshot of the wrapping issue?

Xebeth commented 2 months ago

image

jlai commented 2 months ago

The wrapping is fine, I think.

Xebeth commented 2 months ago

Might be better to have a copy button for the entire row, instead of the individual column values? If it's separated by tab characters, it should paste into separate cells in a spreadsheet

Or maybe even just a button to copy the entire table

Do we merge this now and try to improve it later? I know it's already useful, at least for me, just copying individual values.

Xebeth commented 2 months ago

This should be good to merge now.