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

Fix misc report breadcrumb issues #740

Merged
merged 1 commit into from Dec 17, 2023

Conversation

ntrecina
Copy link
Contributor

Fixed report breadcrumbs being duplicated.

The breadcrumbs throughout the report pages was duplicating the "Child Name / Reports" portion. This would happen regardless of whether you had one or more than one children saved.

Before
Screen Shot 2023-12-16 at 10 43 02 PM

After
Screen Shot 2023-12-16 at 10 43 45 PM

The breadcrumbs were also being duplicated on most reports which has also been fixed.

Before
Screen Shot 2023-12-16 at 10 46 03 PM

After
Screen Shot 2023-12-16 at 10 46 12 PM

Fixed DiaperChangeTypesChildReport pointing to the wrong report view.

When going to the Diaper Change Types report it would instead go to the Diaper Change Intervals report.

Before
Screen Shot 2023-12-16 at 10 47 36 PM

After
Screen Shot 2023-12-16 at 10 47 48 PM

Fixed child switcher for WHO weight percentiles boy/girl reports.

The "WHO Weight Percentiles for Boys/Girls in kg" reports would incorrectly redirect to the regular "Weight" report when switching between children via the quick switch dropdown in the breadcrumbs. I changed the WHO girl/boy reports to be a bit more independent of the regular weight report which enabled me to pass the independent urls to the child quick switch dropdown.

…ldReport pointing to the wrong report view. Fixed child sw

itcher for WHO weight percentiles boy/girl reports.
@coveralls
Copy link

Coverage Status

coverage: 99.018% (-0.03%) from 99.052%
when pulling 86deef7 on ntrecina:Fix_report_breadcrumbs
into 7747ae9 on babybuddy:master.

@cdubz
Copy link
Member

cdubz commented Dec 17, 2023

Thanks for catching and fixing these issues!

@cdubz cdubz merged commit 1063d39 into babybuddy:master Dec 17, 2023
17 checks passed
@cdubz cdubz added the bug Reports of unexpected problems or errors label Dec 17, 2023
@cdubz cdubz added this to the 2.2.0 milestone Dec 17, 2023
@ntrecina ntrecina deleted the Fix_report_breadcrumbs branch December 17, 2023 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Reports of unexpected problems or errors
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants