Vafilor / TimeTracker

Web App for tracking time
MIT License
5 stars 1 forks source link

feat: Upgrade to use turbo and stimulus controllers #133

Closed Vafilor closed 3 years ago

Vafilor commented 3 years ago

This PR is based off the bootstrap 5 PR.


Trying out converting some of the site to use stimulus. This is more of an evaluation, but if it turns out well, will convert.

The final test for this is to rework the Statistic Values for time entries and timestamps to using stimulus. If it turns out to be simpler, then I'll keep on using it.

Here are the issues I'm currently facing/investigating with this

Vafilor commented 3 years ago

Comment to the first checkbox:

Axios is nice, and it turns out you can write the API code in typescript and use it in the stimulus js controller files. In fact, Stimulus Use writes their code in typescript and you can use those in javascript - which is pretty neat.

Vafilor commented 3 years ago

This is ready for review. I'm currently doing the final rounds of testing