-
-
Notifications
You must be signed in to change notification settings - Fork 236
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
Add cobrand-specific manifest customisation #2866
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2866 +/- ##
==========================================
+ Coverage 82.86% 82.97% +0.11%
==========================================
Files 235 237 +2
Lines 14942 15051 +109
Branches 2786 2803 +17
==========================================
+ Hits 12381 12489 +108
- Misses 1658 1659 +1
Partials 903 903
Continue to review full report at Codecov.
|
3e6c63a
to
4ede088
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This all looks nice :) One bug (I think), and a few suggestions.
c5457d5
to
edb09b5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I might have misunderstood, but I think the theme needs to be present on every page? Other than that, looks good :)
1af6db3
to
ddf6e41
Compare
d42ce1b
to
f0edab7
Compare
ddf6e41
to
1ecb2e7
Compare
1ecb2e7
to
67469ac
Compare
67469ac
to
c9e6d74
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, took one more overall look to notice a few tidyings based upon your changes.
For some reason switching to a Select stopped the update_model changes being applied when persisting the model, meaning the INSERT query failed because the cobrand column was null. This commit switches to a hidden input field for the cobrand which I’m not super keen on, but it does get the job done...
This saves hammering the FS for every front page request
This is under the assumption it will be replaced by a manifest theme on fixmystreet.com
5f01ff6
to
fe19f00
Compare
Adds admin UI for superusers to manage the
ManifestTheme
model for each cobrand. Allows the names/icon/colours to be customised.Desktop Chrome PWA theming:
Installing on iOS:
Managing via cobrand admin
fixmystreet.com can edit all cobrand themes
Guidance tooltips
Possible future improvements
Please check the following:
Fixes #2792.