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

Hoisting group fetching, take 2 #5189

Merged
merged 3 commits into from
Sep 27, 2024
Merged

Conversation

dracos
Copy link
Member

@dracos dracos commented Sep 25, 2024

Changes from #5175 are all in the fixup commit.
Refactored the category creation a bit to make it easier to add categories-in-groups.
And have mistakingly included a commit removing some old mixins, sorry, but hey, that's straightforward enough.
[skip changelog]

@dracos dracos requested a review from davea September 25, 2024 14:04
Copy link

codecov bot commented Sep 25, 2024

Codecov Report

Attention: Patch coverage is 92.85714% with 1 line in your changes missing coverage. Please review.

Project coverage is 82.41%. Comparing base (7560279) to head (2218b8f).
Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
perllib/FixMyStreet/App/Controller/Report/New.pm 85.71% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5189      +/-   ##
==========================================
- Coverage   82.50%   82.41%   -0.09%     
==========================================
  Files         406      407       +1     
  Lines       31743    31778      +35     
  Branches     5050     5051       +1     
==========================================
+ Hits        26188    26191       +3     
- Misses       4065     4096      +31     
- Partials     1490     1491       +1     
Flag Coverage Δ
82.41% <92.85%> (-0.09%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

If a category is in a group on its own, the reporting form hoists it up
to the top level, to save a pointless extra step. In doing so, it was no
longer getting the associated group to store for submission. Rewrite the
input so it is clearer as to what we are receiving.
@dracos dracos force-pushed the fd-4535-hoisted-category-groups branch from f5abf32 to 2218b8f Compare September 27, 2024 13:03
@dracos dracos merged commit 2218b8f into master Sep 27, 2024
19 of 20 checks passed
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.

2 participants