acmerobotics / ftc-dashboard

React-based web dashboard designed for FTC
https://acmerobotics.github.io/ftc-dashboard
Other
171 stars 129 forks source link

Bump deps #92

Closed NoahBres closed 1 year ago

NoahBres commented 1 year ago

Significant package changes:

Misc

NoahBres commented 1 year ago

Verified on running opmode ✅

rbrott commented 1 year ago

"Bump deps" definitely undersold this. Thanks for some much-needed maintenance!

Pre-commit hooks removed

I use them 😄 Can you elaborate on the development friction? Does it just encourage fewer, bigger commits? I'd generally rather handle formatting this way than set up GH actions or something.

Fixing bug where state is entirely cleared rather than appended to in OpModeView (introduced in Address getGamepads changes #72)

I didn't even catch it on my second review. Silly setState() semantics.

NoahBres commented 1 year ago

I use them 😄 Can you elaborate on the development friction? Does it just encourage fewer, bigger commits? I'd generally rather handle formatting this way than set up GH actions or something.

This is entirely irrelevant but regarding previous work in a professional setting, they just proved to be an annoyance as the hooks are generally very slow and you were discouraged from making frequent commits. Commits failing for linting errors felt incredibly unnecessary since you were not really concerned until merging into the main branch. I've had similar discussions with other teams. However, this is completely irrelevant to dash's development given that so few people work on it—and so infrequently. Also, my laptop is fast enough where I don't notice how slow hooks used to be—unsure if that carries for average users. I just wasn't aware that anyone used it since they are not automatically installed and recent PR's have not complied. I was working off of a new device and had forgotten that the pre-commit hooks existed. I think if you find this useful, I will definitely re-include them. I am going to add some documentation eventually so it is encouraged to set them up.