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

MHC calculator change fields #1024

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from

Conversation

olexandervanzuriak
Copy link
Contributor

@olexandervanzuriak olexandervanzuriak commented Feb 10, 2025

#1021

Code reviewers

Summary of issue

Add another block "What disposable products do you use?" "Які одноразові засоби ви використовуєте?" (pads OR tampons)

Instead of "Average Products Used Per Cycle" block, we need to make two other blocks
"Duration of menstruation" "Тривалість менструації" "Average of disposable products per day" "Кількість одноразових продуктів на день" and add info button for duration of menstruation field info when user hover over it, the text "mostly 3-5 days" "переважно 3-5 днів" should appear

Summary of change

Change Average Products used per cycle to "Duration of menstruation" and "Average of disposable products per day" and add select field "Disposable products in use" and change test to work with new fields

Result

screenshot

Screencast.2025-02-19.19.23.29.mp4

CHECK LIST

  • СI passed
  • Сode coverage >=95%
  • PR is reviewed manually again (to make sure you have 100% ready code)
  • All reviewers agreed to merge the PR
  • I've checked new feature as logged in and logged out user if needed
  • PR meets all conventions


<div class="pb-2 input_lable mt-6">
<%= label_tag "child_product_category", t(".form.pad_category") %>
</div>


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Copy link

codecov bot commented Feb 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.72%. Comparing base (2e994f7) to head (a7b8622).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1024      +/-   ##
===========================================
+ Coverage    98.71%   98.72%   +0.01%     
===========================================
  Files           71       71              
  Lines         1011     1019       +8     
===========================================
+ Hits           998     1006       +8     
  Misses          13       13              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@olexandervanzuriak olexandervanzuriak linked an issue Feb 17, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[MHC] User data entry
2 participants