Determine skin to use based on request
Closed, ResolvedPublic3.42 Story Points



  • there is a default value configured for skin
  • the default skin configuration can be overridden, if value is possible skin name (based on config options), by
    • query string skin
    • or cookie skin
  • if skin parameter from query string is possible skin name (based on config options), and only if, skin name is persisted into cookie skin
    • cookie life time: 2 weeks
  • cookies with invalid values are not manipulated in the client (e.g. not deleted)
  • ConfirmationPageSelector is unconfigured, stays without effect
  • Which skins are used and which skin is the default skin can be specified in the configuration. (consider validating the config on deploy)
Pablo-WMDE updated the task description. (Show Details)Aug 9 2017, 2:58 PM
JeroenDeDauw changed the point value for this task from 3 to 3.42.
Pablo-WMDE moved this task from Todo to Doing on the WMDE-Fundraising-Sprint-11 board.

@kai.nissen Qustion we ran into: Should the cookie lifetime get extended (to the 2 weeks mentioned in the AC) every time I visit the page? Otherwise it might happen that I see 'skin X' on one request and 'skin Y' (the default skin) on the next...

Pablo-WMDE removed Pablo-WMDE as the assignee of this task.Sep 22 2017, 2:07 PM
gabriel-wmde closed this task as Resolved.
gabriel-wmde claimed this task.

Deployed to prod