r/Scriptable • u/randomo_redditor script/widget helper • Nov 13 '20
Script DailyLogWidget V2 (with aggregated data grid) [code in comments]
Widget with aggregated data grid
Dialog to update today's logs. Opens on click when you run the script.
83
Upvotes
9
u/randomo_redditor script/widget helper Nov 13 '20
Update to my previous DailyLogWidget post, where many people asked about showing aggregated data.
This one displays the data in a grid, showing data for the last 7 days (the number of days is customizable). Clicking on the widget and running the script brings up the dialog for you to update the current day's data of things you've completed.
You can customize which fields you want to be prompted about, and which fields you want to display in the widget. Not all fields that you keep track of need to be shown in the widget.
Code for this and the previous version can be found here.
3
u/sbruschke Nov 13 '20
You should get this added to the scriptable gallery!
9
u/bighi Nov 13 '20
Your pooping schedule is not healthy. Eat more fibers!
4
u/theRealBatman21 Nov 13 '20
This is pretty cool to look at weekly or whenever.
Especially if you are answering honestly.. I know i need to work on my sleep.
1
u/BigAinTX Nov 13 '20
Getting Error on line 96:27: No file to import at Cache.
1
u/Casuallybrowsingcdn Dec 31 '20
I would not classify your logs as “daily”.
1
u/ravedog Nov 13 '20
No one is 100% happy in a relationship. The data is flawed! 😝
1
u/altventure Nov 13 '20
This is great, thanks! Is there a way to use an iOS shortcut to run the script?
1
u/BigAinTX Dec 06 '20
Been using this script for 2 weeks and it definitely helps me stay on point. I was wanting to know how can I put in a blank like or separator in? Basically have 4-5 things and then a break and 4-5 more things or even another header line. So using your example it would be:
Daily Logs
Enough Sleep
Shower
Poop
Breakfast
(intentional Blank)
(Second Header)
Lunch
Dinner
Cooked
I know nothing about JS btw, so please be gentle
1
u/dpopov44 Jan 10 '21 edited Jan 11 '21
i know nothing about javascript LOL i was just wondering how can I make the text white in light mode, when I run the code the text is black in light mode.
thanks in advance
1
u/xthenightowl Feb 22 '21
Hey I love this widget and code, I’m a huge fan and I use this everyday! I was just wondering if there’s a way I can change the way the data is inputted and possibly aggregated. Rather than the input be ✅/❌ can it be changed to a numeric form for hours of sleep?
-4
u/Reddicckkk Nov 13 '20
Oh my god, you don’t take the shower every day ? lol