jlai / fitness-dashboard

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

Add copy to clipboard on click for totals #53

Closed Xebeth closed 3 months ago

Xebeth commented 3 months ago

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

jlai commented 3 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 3 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 3 months ago

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

jlai commented 3 months ago

Could you provide a screenshot of the wrapping issue?

Xebeth commented 3 months ago

image

jlai commented 3 months ago

The wrapping is fine, I think.

Xebeth commented 3 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 3 months ago

This should be good to merge now.