Skip to content
raphvalleePublic

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

Tracker

A new Flutter project.

Ideas

Relocate Settings

Put the settings button in the home feed at the top right. This will give place to put the current workout button in the bottom bar Home, History, CurrentWorkout, WorkoutsEditor, Exercices

Instead of a standalone foreground page, settings will be a children page of home, just like NewSplit is to his parent WorkoutEditor. That way we can keep for all pages, the standardised back button on the left in the AppBar of pages, the title, and an optional button. Also removes the need to find a way to easily show the user that there is a current workout going on without hiding the page with a floating action button or something of the sort.

  • Move settings to Feed
  • Add Current Workout to navigation

Commit messages

Commits MUST follow Conventional Commits: type(scope): description. Allowed types: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert; scope is optional. Examples: feat(workout): add warmup set toggle, fix: clamp chart height. Subject is lowercase, imperative, no trailing period. This applies to everyone contributing to the repo, including coding agents.

Git hooks

This repo uses Husky (the Dart package, pub.dev) to run a pre-commit hook that formats Dart code with dart fix --apply (then dart format .), re-staging whatever the formatter touched.

The hook script is project-specific: .husky/pre-commit is committed to the repo, so every clone carries the same hook. Git runs it once core.hooksPath points at the .husky/ directory. On a fresh clone, run:

git config core.hooksPath .husky   # one-time activation
git commit -m "..."                # dart fix --apply + dart format run here

This is cross-platform (Windows, macOS, Linux):

  • Husky is a pure-Dart package (husky on pub.dev), no native/node deps.
  • The hook itself is a plain sh script — Git for Windows ships the software needed to run shell scripts, and macOS/Linux run it directly.
  • .husky/** text eol=lf in .gitattributes pins the hook to LF line endings on every OS, so Windows' CRLF autoconversion never breaks the #!/usr/bin/env sh script.

The only requirement on every machine is git + Dart (assumed already installed).

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages