Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "Predict Ovulation" Option to Settings #98

Open
EmmaTellblom opened this issue Sep 5, 2024 · 3 comments
Open

Add "Predict Ovulation" Option to Settings #98

EmmaTellblom opened this issue Sep 5, 2024 · 3 comments
Labels
enhancement New feature or request
Milestone

Comments

@EmmaTellblom
Copy link
Owner

Title

Add "Predict Ovulation" Option to Settings

Description

We need to add a new option in the app's settings that allows users to choose whether they want the app to predict ovulations. This feature will give users more control over their experience and ensure that the app meets their preferences.

Requirements

  • New Settings Option: Add a toggle or checkbox in the settings menu for users to enable or disable ovulation predictions.
  • Default Value: Define a default value for this setting, such as enabling predictions by default or disabling them based on user preferences.
  • User Interface: Ensure the new setting is clearly labeled and easily accessible within the settings menu.

Proposed Solution

  1. Design UI: Design and implement a user interface element (e.g., toggle switch or checkbox) for the "Predict Ovulation" setting.
  2. Update Settings: Add the option to the settings menu and ensure it is correctly saved and retrieved from the app's preferences or settings storage.
  3. Implement Functionality: Modify the app’s logic to conditionally enable or disable ovulation predictions based on the user's preference.
  4. Testing: Test the new setting to ensure it works as expected and that predictions are correctly enabled or disabled based on the user's choice.
  5. Documentation: Update user guides or help sections to include information about the new setting and how to use it.

Acceptance Criteria

  • A new setting labeled "Predict Ovulation" is available in the app's settings menu.
  • Users can enable or disable ovulation predictions using the new setting.
  • The app correctly respects the user's choice regarding ovulation predictions.
  • The setting is clearly labeled and documented.

Additional Notes

  • Ensure that changes to the setting are immediately reflected in the app's behavior without requiring a restart.
  • Consider any implications for existing features or data when implementing this new setting.

Please review and provide feedback or additional suggestions for implementing this feature.

@EmmaTellblom
Copy link
Owner Author

This will require us to rewrite the period calculations because we right now actually use predicted ovulation in one scenario.

@EmmaTellblom EmmaTellblom added the enhancement New feature or request label Sep 6, 2024
@EmmaTellblom EmmaTellblom added this to the Version 2.0 milestone Sep 6, 2024
@ljubitje
Copy link
Contributor

Is prediction calculation related to users' ovulation tracking entries?
If it is, then it'd would be better to name this 'track ovulation' or simply 'ovulation tracking' since this setting would/could/should toggle the whole tracking functionality.
Prediction is just a part of this functionality.

@EmmaTellblom
Copy link
Owner Author

Oh, you mean if users doesn't want to even track their ovulations! I thougth it was a question of only predicting ovulations. I'll need to think about this. Period calculations (except luteal calculations) does not require ovulation entries. But if you turn on luteal calculation then we need ovulation entries.

Do you think we could just have a setting for ovulation prediction and leave the rest as it is? If the user don't use luteal calculation then I don't think it's a huge issue to have the ovulation entry available for them?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants