ENGAGE-455: Refactor Home to be amenable to use inside the Screen Navigator

Metadata

Source
ENGAGE-455
Type
Sub-issue
Priority
Blocker
Status
Closed
Resolution
Fixed
Assignee
Colin Clark
Reporter
Colin Clark
Created
2010-02-24T16:18:23.000-0500
Updated
2014-03-03T13:46:19.980-0500
Versions
  1. 0.3b
Fixed Versions
  1. 0.3b
Component
  1. Home Screen

Description

There are a couple of issues in the Home screen that prevent its use in the Screen Navigator:

1. Home causes a page transition using window.location upon load to ensure that we get the correct strings bundle for the current locale. This should refactored to use an as-yet non-existent SN API

2. Makes references to itself in links with relative URLs that aren't fully qualified. So:
./Home.html
should be changed to
../home/Home.html

3. Home rewrites URLs on click instead of when the langugage is selected, causing a condition where the Screen Navigator can't correctly operate on those link URLs at click time since they haven't been rewritten yet