Skip to content

Sweat Equity 4.1.3

Choose a tag to compare

@kfraker kfraker released this 02 Nov 05:43
· 34 commits to main since this release
cef0ec6

A behind-the-scenes release focused on code quality. Nothing changes for visitors to the site.

Code quality

  • Added automatic formatting and code quality checks, so inconsistent or problematic code now fails the build.
  • Formatted all of the app's Python and JavaScript code to one consistent style.
  • Removed old code that nothing used anymore: a previous way of editing table rows, its confirmation window, and an unused calculation.

Testing

  • Added a test for clicking a Weigh-ins table row to edit it, which wasn't covered before.
  • Corrected the reported JavaScript test coverage from 84.5% to 75.4%. Compressed code had been making the number look higher than it really was. No tests were removed, and the new figure is the accurate one.

Maintenance

  • Dependency checks now cover the new code quality tools too.
  • Added a decision log entry explaining the coverage correction, and marked this work done on the roadmap.

The technical details are in the changelog.