Closed Bug 959355 Opened 10 years ago Closed 10 years ago

Browser activities should open in browser chrome window

Categories

(Firefox OS Graveyard :: Gaia, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 941276

People

(Reporter: kgrandon, Unassigned)

References

Details

When rocketbar is enabled, any tapped links should open in a browser chrome window.

This is required for user testing as it is part of the testing protocol.
Is this some other activity? Links in messages just use the activity associated with: 

{
  name: 'view',
  data: {
    type: 'url',
    url: url
  }
}
(In reply to Rick Waldron [:rwaldron] from comment #1)
> Is this some other activity? Links in messages just use the activity
> associated with: 
> 
> {
>   name: 'view',
>   data: {
>     type: 'url',
>     url: url
>   }
> }

Everything today in master is fine, but we would like to enhance all link activities to be opened inside of an empty browser chrome window, instead of an app. Ideally this should only happen when the rocketbar.enabled preference is turned on.
Kevin, why is it related to the SMS app ? I mean, shouldn't this be handled at the system level ?
(In reply to Julien Wajsberg [:julienw] from comment #3)
> Kevin, why is it related to the SMS app ? I mean, shouldn't this be handled
> at the system level ?

We will be removing the activity and replacing it with a window.open() call most likely. Changing component and assigning to myself for now.
Assignee: nobody → kgrandon
Component: Gaia::SMS → Gaia
So this could either be handled at the system level if we can intercept the activity and redirect, or migrate apps to use window.open.  I'm leaning towards seeing if we can intercept the activity at the system level so we don't have to change application code yet.
Assignee: kgrandon → nobody
Summary: [Sms] Links should open in browser chrome window → Browser activities should open in browser chrome window
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.