Firefox/Projects/Firefox Start: Difference between revisions

no edit summary
No edit summary
Line 7: Line 7:
== Status == <!-- bits inside onlyinclude can be transcluded into the main Project page -->  
== Status == <!-- bits inside onlyinclude can be transcluded into the main Project page -->  


<onlyinclude>Shipped in Beta 5 - need to improve styling, implement snippet support.</onlyinclude>
<onlyinclude>Shipped in Beta 5, default in beta 6, needs to improve styling, needs snippets from server.</onlyinclude>


== Next steps  ==
== Next steps  ==
Line 43: Line 43:
*host local HTML/JS/CSS content '''(done)'''  
*host local HTML/JS/CSS content '''(done)'''  
*ensure search codes remained consistent with existing page (localization, geoip/load balancing redirects)'''(partially done)'''<br>  
*ensure search codes remained consistent with existing page (localization, geoip/load balancing redirects)'''(partially done)'''<br>  
*ensure cookies are not sent when page loads<br>
*ensure cookies are not sent when page loads'''(partially done)'''<br>
*ensure client ships with default set of snippets for initial offline support
*ensure client ships with default set of snippets for initial offline support'''(done)'''


'''Phase 2&nbsp;: add dynamism, offline support'''  
'''Phase 2&nbsp;: add dynamism, offline support'''  
Line 72: Line 72:
| {{bug|563723}} - add about:home to mimic Firefox Start  
| {{bug|563723}} - add about:home to mimic Firefox Start  
| mak  
| mak  
| awaiting review
| done
|-
|-
| {{bug|563738}} - Add current Mozilla "snippets" in the about:home page   
| {{bug|563738}} - Add current Mozilla "snippets" in the about:home page   
| mak  
| mak  
| awaiting review
| done
|-
|-
| {{bug|544819}} - Bug 544819 - Create a basic Home Tab linking to the current Home Page
| {{bug|544819}} - Bug 544819 - Create a basic Home Tab linking to the current Home Page
Line 84: Line 84:
| {{bug|593366}} - Bug 593366 - Default text for about:home dynamic content
| {{bug|593366}} - Bug 593366 - Default text for about:home dynamic content
| beard
| beard
| Just filed
| done
|-
|-
| {{bug|593379}} - Bug 593379 - Populate about:home's localStorage with properties to allow for custom content
| {{bug|593379}} - Bug 593379 - Populate about:home's localStorage with properties to allow for custom content
Line 119: Line 119:
The about:home page will check a mozilla.com URL regularly for updated content. This content will be delivered as a single file containing a blob of HTML which will be stored in localStorage for subsequent page loads.
The about:home page will check a mozilla.com URL regularly for updated content. This content will be delivered as a single file containing a blob of HTML which will be stored in localStorage for subsequent page loads.


The content may include styling, script, or image content but the client will do nothing unusual with it, it simply injects the content stored in localStorage it into a prescribed div's innerHtml on page load.
The content may include styling, script, or image content but the client will do nothing unusual with it, it simply injects the content stored in localStorage it into a prescribed div's innerHtml on page load (all js code must live in <script/> tags).


The current proposal from Justin is to fetch content from a URL with path-based segmentation, e.g.
The current proposal from Justin is to fetch content from a URL with path-based segmentation, e.g.
Line 126: Line 126:


[We'll have to fix that suffix - this is not a json object, just a blob of html]
[We'll have to fix that suffix - this is not a json object, just a blob of html]
current implementation points to:
http://snippets.mozilla.com/%STARTPAGE_VERSION%/%NAME%/%VERSION%/%APPBUILDID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/


Load assumptions:
Load assumptions:
Confirmed users
595

edits