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

New version of /reports main page. #1753

Merged
merged 1 commit into from
Jul 14, 2017
Merged

New version of /reports main page. #1753

merged 1 commit into from
Jul 14, 2017

Conversation

dracos
Copy link
Member

@dracos dracos commented Jul 7, 2017

This is a much broader summary page, plus a body name autocomplete.
This was originally implemented for fixmystreet.com in 8a6a4cc.

(It also adds '(no longer exists)' in the autocomplete next to bodies not covering any areas.)

You can supply the --table argument to update-all-reports to generate the old-style data (if you copy the old template into your cobrand, it should continue to work fine).

dracos added a commit that referenced this pull request Jul 8, 2017
This will need redoing if #1753 is merged first.
@dracos dracos mentioned this pull request Jul 8, 2017
dracos added a commit that referenced this pull request Jul 14, 2017
This will need redoing if #1753 is merged first.
This is a much broader summary page, plus a body name autocomplete.
This was originally implemented for fixmystreet.com in 8a6a4cc.

It also adds '(no longer exists)' in the autocomplete next to
bodies not covering any areas.

You can supply the `--table` argument to `update-all-reports` to
generate the old-style data.
@codecov
Copy link

codecov bot commented Jul 14, 2017

Codecov Report

Merging #1753 into master will increase coverage by 0.39%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1753      +/-   ##
==========================================
+ Coverage   71.64%   72.03%   +0.39%     
==========================================
  Files         153      153              
  Lines        9847     9828      -19     
  Branches     1783     1782       -1     
==========================================
+ Hits         7055     7080      +25     
+ Misses       2126     2078      -48     
- Partials      666      670       +4
Impacted Files Coverage Δ
perllib/FixMyStreet/App/Controller/Reports.pm 77.03% <ø> (+1.94%) ⬆️
perllib/FixMyStreet/TestMech.pm 93.06% <ø> (-0.14%) ⬇️
perllib/FixMyStreet/Cobrand/FiksGataMi.pm 9.75% <0%> (-8.54%) ⬇️
perllib/FixMyStreet/DB/Result/Problem.pm 78.51% <0%> (-0.42%) ⬇️
perllib/FixMyStreet/Script/UpdateAllReports.pm 68.86% <0%> (+40.56%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 22226c7...f604fb2. Read the comment docs.

@davea davea self-requested a review July 14, 2017 10:55
Copy link
Member

@davea davea left a comment

Choose a reason for hiding this comment

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

(if you copy the old template into your cobrand, it should continue to work fine).

CMC has done this, and it does!

Good idea to include a flag for backwards compatibility 🎉 As this is a breaking change for anyone who's overridden the reports/index.html template (any idea of who's done this?) we should highlight it in the 2.1 release notes.

👍

@davea davea added Reviewed and removed Reviewing labels Jul 14, 2017
@dracos dracos merged commit f604fb2 into master Jul 14, 2017
@dracos dracos removed the Reviewed label Jul 14, 2017
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