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

[Surrey] Cobrand & integration #5095

Merged
merged 60 commits into from
Sep 16, 2024
Merged

[Surrey] Cobrand & integration #5095

merged 60 commits into from
Sep 16, 2024

Conversation

davea
Copy link
Member

@davea davea commented Aug 2, 2024

This PR is made of smaller PRs that have been individually reviewed and merged in.

Copy link

codecov bot commented Aug 2, 2024

Codecov Report

Attention: Patch coverage is 49.23077% with 66 lines in your changes missing coverage. Please review.

Project coverage is 82.48%. Comparing base (1d373ca) to head (9142e52).
Report is 60 commits behind head on master.

Files with missing lines Patch % Lines
perllib/FixMyStreet/Cobrand/Surrey.pm 24.09% 63 Missing ⚠️
perllib/FixMyStreet/App/Controller/Report.pm 89.28% 0 Missing and 3 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5095      +/-   ##
==========================================
- Coverage   82.62%   82.48%   -0.15%     
==========================================
  Files         405      406       +1     
  Lines       31579    31685     +106     
  Branches     5013     5032      +19     
==========================================
+ Hits        26093    26136      +43     
- Misses       3999     4059      +60     
- Partials     1487     1490       +3     

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

@davea davea force-pushed the surrey-cobrand branch 2 times, most recently from c4ae421 to e7f564c Compare September 16, 2024 09:52
davea and others added 8 commits September 16, 2024 11:11
Surrey don't want to show their backend ids to anybody
so remove those from the email and site

https://3.basecamp.com/4020879/buckets/36546415/todos/7611442254#__recording_7688243427
This allows you to update existing contacts when importing a JSON file.

Handy to e.g. batch update emails, or add parent categories, etc.
Setting a `suggestions` value to 0 within the nearby_distances cobrand
feature disables the dupe suggestion feature for that group/category, eg:

COBRAND_FEATURES:
  nearby_distances:
    my_cobrand:
      suggestions:
        _fallback: 100
        Potholes: 0
@davea davea merged commit 9142e52 into master Sep 16, 2024
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.

4 participants