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

[Admin] Move add body/category forms to own pages, limit history #5140

Merged
merged 2 commits into from
Aug 29, 2024

Conversation

dracos
Copy link
Member

@dracos dracos commented Aug 27, 2024

One very old 'bug', in that we can now view those pages (and then separately deal with whatever is creating 1000s of log entries), and then I was fed up of being confused by two forms on one page.

Copy link

codecov bot commented Aug 27, 2024

Codecov Report

Attention: Patch coverage is 89.36170% with 5 lines in your changes missing coverage. Please review.

Project coverage is 82.64%. Comparing base (b64c55f) to head (c991bc1).
Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
perllib/FixMyStreet/App/Controller/Admin/Bodies.pm 89.36% 3 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5140      +/-   ##
==========================================
- Coverage   82.64%   82.64%   -0.01%     
==========================================
  Files         404      404              
  Lines       31515    31526      +11     
  Branches     4995     5000       +5     
==========================================
+ Hits        26047    26055       +8     
- Misses       3985     3987       +2     
- Partials     1483     1484       +1     

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

@dracos dracos requested review from neprune, davea and chrismytton and removed request for neprune and davea August 27, 2024 17:48
Copy link
Member

@chrismytton chrismytton left a comment

Choose a reason for hiding this comment

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

Much nicer having these forms on separate pages 👌

dracos added 2 commits August 29, 2024 14:40
This simplifies the code - as the edit controller was handling body
edit, unconfirmed-confirming, and new categories - and improves the
interface (a body page doesn't have two entirely different forms at
the bottom any more).
@dracos dracos force-pushed the admin-sidebar-body branch from df914c5 to c991bc1 Compare August 29, 2024 13:41
@dracos dracos merged commit c991bc1 into master Aug 29, 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