aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/dashboard.t
diff options
context:
space:
mode:
authorZarino Zappia <mail@zarino.co.uk>2019-02-15 18:12:58 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2019-02-25 12:19:50 +0000
commit257b6a53187c4200aa26e13d18a1be569cab2088 (patch)
treef3bab52058a53f1e4fd050fe002e53d9f0ab98f0 /t/app/controller/dashboard.t
parent0c8aae1ab17617f46f400bab81bb7a3b144b4a1e (diff)
Duplicate suggestion UI when reporting problems.
The previously staff-only fixmystreet.set_up.manage_duplicates() has been promoted from staff.js to its own file so that we can use it to display the duplicate suggestions on the `/report/new` form. render_duplicate_list (the old refresh_duplicate_list) no longer filters or slices the reports_list returned by the ajax call, since it turns out the server handles all of that (`sub _nearby_json` in `Report.pm` and `sub nearby` in `Nearby.pm`). Since the expandable list items include the "fancybox" image previews, the fancybox CSS now has to be included in the `/report/new` page head, hence the addition of "photo-js.html" in `fill_in_details.html`. The “Get updates” flow reuses the same JavaScript that handles the submission of the "Get updates" drawer at the bottom of around pages.
Diffstat (limited to 't/app/controller/dashboard.t')
0 files changed, 0 insertions, 0 deletions