Closed Bug 1273663 Opened 8 years ago Closed 8 years ago

Open ToC in a new window

Categories

(Hello (Loop) :: Client, defect, P1)

defect
Points:
3

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dmosedale, Assigned: dmosedale)

References

()

Details

(Whiteboard: [akita-alpha])

User Story

As a Firefox room creator, I click "Create New Room" to open a new dedicated Hello window so that I have a place to keep the current web page and things related to it.

Acceptance Criteria:

* Table of Contents tab opens in new window.
* ToC contains a tab for the web page that was open when "Create New Room" was clicked

Notes:

* Pass something like about:looptoc?roomName=foo,open-edit-modal=true to chrome request that uses XUL openWindow?  Different windowtype?
* Make sure all errors are handled so sidebar always opened here and in other bugs

Attachments

(1 file)

As a Firefox room creator, I see a new dedicated Hello window open with a Table of Contents tab that I can use to keep track of some web pages.

Acceptance Criteria:

* Table of Contents tab opens in new window.

Notes:

* Pass about:looptoc to chrome request that uses XUL openWindow?  Different windowtype?
* Make sure all errors are handled so sidebar always opened here and in other bugs
Depends on: 1273670
User Story: (updated)
No longer depends on: 1273670
Depends on: 1273670
Blocks: 1273676
Blocks: 1273681
Blocks: 1274009
Blocks: 1274064
Blocks: 1274081
Assignee: nobody → dmose
Rank: 2
Priority: -- → P1
Blocks: 1274416
No longer blocks: 1274416
User Story: (updated)
Blocks: 1274416
This probably wants a bit of cleanup and maybe some tests (which I'll do tomorrow). That said, even in it's current form, this should unblock folks who want to base other things on the ToC stuff..

I also don't think it'll be very hard to get the sidebar correctly opening as well (crossing my fingers as I type this).
The mochitests/xpcshell tests are broken on akita now, and I don't want to block further akita progress to clean them up this second, so I've just cleaned up the code.
Comment on attachment 8754614 [details] [review]
[loop] dmose:toc-dedicated-window-1273663 > mozilla:akita

I'm curious in particular to any thoughts you might have about the XXX comments in the bug...
Attachment #8754614 - Flags: review?(standard8)
Attachment #8754614 - Flags: review?(edilee)
Whiteboard: [akita] → [akita-alpha]
Comment on attachment 8754614 [details] [review]
[loop] dmose:toc-dedicated-window-1273663 > mozilla:akita

I've commented on the PR.

I think this is something that could be landed to help unblock other work, but I'm not quite clear on if you want to get any of the tests working or not. It might be worth considering if this needs the "flag on window" to fully unblock just some or all the other work.

Can you also make sure we have a bug on file for ensuring only one instance of the room can be opened? (i.e. switch to existing window if necessary).
Attachment #8754614 - Flags: review?(standard8)
Blocks: 1275107
(In reply to Mark Banner (:standard8) from comment #5)
> Comment on attachment 8754614 [details] [review]
> [loop] dmose:toc-dedicated-window-1273663 > mozilla:akita
> 
> I've commented on the PR.
> 
> I think this is something that could be landed to help unblock other work,
> but I'm not quite clear on if you want to get any of the tests working or
> not. 

I've filed bug 1275099 to get the tests in a state that doesn't discourage running them or writing new ones.

I think we want to land the minimal thing in this bug to get even a few other bugs folks unblocked ASAP.

> It might be worth considering if this needs the "flag on window" to
> fully unblock just some or all the other work.

I'm inclined to try and do this incrementally instead, and have that happen as part of the first bug that needs that capability, since the later we do this, the better we understand our requirements and are thus likely to structure it more appropriately.

> Can you also make sure we have a bug on file for ensuring only one instance
> of the room can be opened? (i.e. switch to existing window if necessary).

Bug 1275107 is now on file.
Attachment #8754614 - Flags: review?(edilee)
Blocks: 1275115
I've also filed bug 1275115 about deciding what we want to do in private browsing mode.
Attachment #8754614 - Flags: review?(standard8)
Comment on attachment 8754614 [details] [review]
[loop] dmose:toc-dedicated-window-1273663 > mozilla:akita

r=Standard8 with the extra comment.
Attachment #8754614 - Flags: review?(standard8) → review+
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: