tomighty / tomighty-osx

Tomighty for macOS
https://tomighty.github.io
Apache License 2.0
309 stars 79 forks source link

Added preference for pomodoros per cycle #44

Closed tmgriffiths closed 7 years ago

tmgriffiths commented 7 years ago

I've added an extra parameter to the preferences for controlling the pomodoro cycle. The value sets the number of pomodoros before switching to a long break. This value is used in the if-statemets with pomodoroCount and newCount in TYDefaultTomighty.m instead of the original default 4. I've also added the default number of 4 to this in TyUserDefaultsPreferences.m

I've built and packaged it up with build.sh and package.sh. These are not a part of the repo though, do I submit them elsewhere or will the maintainer update these? I have incremented the version number to 1.3 in package.sh


Changes

dvntucker commented 7 years ago

Fantastic, thank you. I'll check it out ASAP and hopefully get a release out this weekend.

dvntucker commented 7 years ago

As for the built artifacts, I will update those. They are handled on the Github releases page.

tmgriffiths commented 7 years ago

I just cleaned up the all the sections of the preference window a bit. I'm not a UI expert or a designer, but i aligned some baselines and centred some things here and there. I think it looks better.

dvntucker commented 7 years ago

Merged. I'm working on a new release, but unfortunately xcodebuild has changed and there are some issues with the build now that need to be worked through. I'll let you know when a new release is up. Cheers.