[Lunr] Vortex: improving WNS notification options

Review Request #431 — Created April 5, 2016 and submitted

smillernl
Lunr
release/0.2.x
1bf405c...
lunr
Vortex: improving WNS notification options

Unittests run succesfully

  • 0
  • 0
  • 2
  • 0
  • 2
Description From Last Updated
tardypad
  1. Ship It!
  2. 
      
pprkut
  1. 
      
  2. src/Lunr/Vortex/WNS/WNSTilePayload.php (Diff revision 1)
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     

    I don't know exactly what this is about. But if those are variable, there should be setter methods for them.

    1. They're fixed to particular templates.
      The template with only text us 04 for the square tile and 03 for the wide one.
      The template with text and a title is 02 for the square tile and 09 for the wide one.

      If you'd do anything else with only text and a title, there'd a 2/124 chance it'd actually work.

    2. https://msdn.microsoft.com/en-us/library/windows/apps/hh761491

      lists several more. Additionally, the TileWideText* naming seems to be legacy and newer names should be prefered.

      Also, why would we limit us to text-only? Just because we don't support images yet, doesn't mean we have to categorically exclude them.

    3. Windows (phone?) 10 seems to use the TileWideText* naming
      
      https://blogs.msdn.microsoft.com/tiles_and_toasts/2015/06/30/adaptive-tile-templates-schema-and-documentation/
    4. Notification templates exist in 3 versions. Only in version 1 they are called "TileWideText*", while in 2 and 3 they are called "TileWide310x150Text*"

  3. 
      
smillernl
smillernl
  1. 
      
  2. src/Lunr/Vortex/WNS/Tests/WNSTilePayloadGetTest.php (Diff revision 2)
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     

    All of these are failing without any differences due to Windows line ending errors

  3. 
      
smillernl
smillernl
  1. 
      
  2. Fixed this in a later commit

  3. 
      
smillernl
pprkut
  1. Ship It!
  2. 
      
smillernl
Review request changed

Status: Closed (submitted)

Change Summary:

Merged into 0.2.x

Loading...