I assumed it is your hobby project, with that in mind I wonder what is it like working on a project like that for multiple years. Specifically how to retain motivation and dedication.
It seems like the site is a vue app and what is being served is not a production build. Also the entirety of vuetify (js+css) is served in the vendor bundle.
The dev build includes source maps which let you recreate most of the original codebase (on top of the obvious network impact).
I write down the time when I switch tasks, and also I try not to switch between many different tasks/issues.
As for the details, the app we use for time tracking has a calendar input interface which is precise upto 5 mins, with all our gitlab issues synced as billable tasks, so that is pretty straightforward.
Also, I tend to leave a small note on what part I worked on so that when looking back the time is justified. If you don't have that maybe drawing bars on google calendar in a separated "billing" calendar could help.
Keep in mind, that when it comes to being very punctual on time you can play the politics back (e.g. when managers hammer on clocking in on time, you get to clock out on time too) and claim budget for work items that took shorter than expected.
- Take my meds (I have adhd meds that lessen scatterbrainedness and but doesnt impact hyperfocus)
- Get an overview of the things you are doing
- Plan ahead in what order you will do things
- If unmotivated, broaden the scope of overview to see why you are doing them
- If I don't feel like starting work its most often because the work is too vague, then I usually first get more clarity and break up the work in a checklist.
- Have a big bottle of water on desk for regular water intake
- Wife brings lunch and snacks (huge privilege, always thank them). Also scheduled, I'd recommend prepping them ahead of time and remind yourself with a timer. Then it's just a matter of picking it up rather than actually going out to make it every time. During the walk you can still think over whatever you are working on.
- Clear separation with personal life and work: putting company laptop away, no slack, no mails, only reachable by call
- When you are distracted ask yourself (out loud) why you are not doing the thing, most of the time the first thought your brain comes up with is actually the answer.
I tend to hold onto projects, ideas, hobbies and interests for two weeks at a time.
Haven't figured out yet how to cultivate that towards a single goal yet.
EDIT: My meds only really help with the daily structure and organisation inplace, otherwise I'm just more efficiently procrastinating.