LeoColman / Petals

🌻 The Open Source app Petals aims to help its users to either quit weed, reduce usage or simply know how much they're using.
GNU Affero General Public License v3.0
82 stars 32 forks source link

✨ Disable an enabled pause and multiple pauses handling features added #631

Closed markopex closed 3 months ago

markopex commented 3 months ago

Switch button added next to "Pause time" button enables user to disable created pause. IsDisabled field added to the Pause model alongside unit tests. close #288

LeoColman commented 3 months ago

Related: #244

markopex commented 3 months ago

The feature for handling multiple pauses has been implemented. PauseRepository has been modified to support working with multiple pauses, and unit tests have been updated to cover this new functionality. close #244

https://github.com/LeoColman/Petals/assets/26334319/72f1d16b-5a44-47dc-b6fb-105b4d3b324d

LeoColman commented 3 months ago

Thanks a lot for the contribution! I'll take it from here :)

LeoColman commented 3 months ago

Released :) https://github.com/LeoColman/Petals/releases/tag/3.26.0