Closed Bug 1273506 Opened 8 years ago Closed 8 years ago

Can add a Tile to the ToC

Categories

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

defect
Points:
3

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: fcampo, Assigned: mancas)

References

Details

(Whiteboard: [akita-alpha])

Attachments

(1 file)

When clicking the 'Add Content' button (represented by '+'), a popup is shown with an input and a button to add a new Site to the room.

Clicking the button from the popup triggers the MetaData collection, closes the popup and a new Tile with the Site information is added to the ToC.
Blocks: 1273502
Depends on: 1273497, 1273501
Points: --- → 3
Depends on: 1274179
Note: first version should just use PageMetadata.jsm, and not worry about Bug 1273497
Rank: 10
Priority: -- → P1
Whiteboard: [akita]
Blocks: 1274416
(In reply to Ian Bicking (:ianb) from comment #1)
> Note: first version should just use PageMetadata.jsm, and not worry about
> Bug 1273497

For this bug, this isn't possible - the "+" sign doesn't necessarily mean we have the page loaded. Therefore we do need something like bug 1273497 or an alternate method (like loading in background/hidden).

So I think we need to de-prioritise this bug until we've got that resolved.

Note: we do already have the "+" functionality to add just the url. It isn't hooked up to persistence yet, but we should do that hook in a different bug.
Flags: needinfo?(ianb)
Flags: needinfo?(ianb)
Whiteboard: [akita] → [akita-alpha]
No longer depends on: 1273497
No longer depends on: 1273501
No longer depends on: 1274179
Assignee: nobody → dcritchley
No longer blocks: akita-dogfood
Rank: 10 → 14
The UI should persist the URLs using the updateRoomContext action, and I think the handler in roomStore.js for updateRoomContext needs a bit of tweaking too.
Ok, please disregard comment 3.  The new theory is to (probably) use the ParticipantStore (or else another store based on the data made available in bug 1274171.
Sigh.  I actually meant the ToC being done in bug 1274179.
Depends on: 1274179
No longer depends on: akita-participants-store
Assignee: dcritchley → nobody
Assignee: nobody → dmose
Assignee: dmose → dpreston
Blocks: 1278031
I'm not going to have time to work on this before london. Unassigning so someone else can take it.

To do this the right way probably involves setting up message passing between the toc page and the sidebar, so we don't have more than one firebase connection open. However, just opening a firebase connection in the toc page is good enough for a quick hack as long as another bug gets opened.
Assignee: dpreston → nobody
Depends on: 1278677
Assignee: nobody → b.mcb
Status: NEW → ASSIGNED
Depends on: 1277702
Comment on attachment 8761663 [details] [review]
[loop] mancas:bug1273506 > mozilla:akita

r=Mardak with various review comments fixed and added tests
Attachment #8761663 - Flags: review+
https://github.com/mozilla/loop/commit/12a4399f88fe536b1a6354698768f8cab2e1ffb4
Status: ASSIGNED → 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: