Closed
Bug 743002
Opened 13 years ago
Closed 13 years ago
Drawer: message title bar status between native app and drawer
Categories
(Pancake Graveyard :: Front-end, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
M2
People
(Reporter: gbrander, Assigned: gbrander)
Details
Attachments
(4 files)
Since the toolbar for the drawer will be kept in the iOS app, we need to be able to:
* Send a message to native when switching to **places** pane
* Receive messages from native when it wants to switch to **stacks** pane
| Assignee | ||
Comment 1•13 years ago
|
||
We are now sending an event when switching to places view of drawer https://bitbucket.org/mozillapancake/pancake/changeset/f3d8f12ec645.
to: "native"
msg: { type: 'places:view', place_title: '...' }
Target Milestone: --- → M2
| Assignee | ||
Comment 2•13 years ago
|
||
Removed toolbar from drawer https://bitbucket.org/mozillapancake/pancake/changeset/c461e79161aa
| Assignee | ||
Comment 3•13 years ago
|
||
Width matches the width shown in the comp
| Assignee | ||
Comment 4•13 years ago
|
||
Width matches comp
| Assignee | ||
Comment 5•13 years ago
|
||
The mockup app -- views.mustache -- now supports the places:view message, changing the title of the drawer toolbar when stack is changed.
| Assignee | ||
Comment 6•13 years ago
|
||
(In reply to Gordon Brander from comment #5)
> The mockup app -- views.mustache -- now supports the places:view message,
> changing the title of the drawer toolbar when stack is changed.
https://bitbucket.org/mozillapancake/pancake/changeset/a3451edf3fa0
Comment 7•13 years ago
|
||
(In reply to Gordon Brander from comment #1)
> We are now sending an event when switching to places view of drawer
> https://bitbucket.org/mozillapancake/pancake/changeset/f3d8f12ec645.
>
> to: "native"
> msg: { type: 'places:view', place_title: '...' }
Hey just to be sure, I actualy receive a places:view message containing a stack_title property. Was that intended?
Comment 8•13 years ago
|
||
What message do I send to the FE when the user clicks the Back button?
Comment 9•13 years ago
|
||
Can you add a little extra space on the right side of the button images so that the text is centered in the 'straight' part of the button?
| Assignee | ||
Comment 10•13 years ago
|
||
Added handler for `stacks:view` event in drawer. So now, all you should have to do to get the drawer to display stacks is send a `stacks:view` event to `drawer`.
| Assignee | ||
Comment 11•13 years ago
|
||
The button image matches the size shown in the drawer comps. However, the button in the comp says "back". It should say "stacks". I'll add a new one that should be the right size for the word "stacks".
Comment 12•13 years ago
|
||
The button size is good. The image just needs to be wider with some extra transparent space on the right side. Because iOS centers the button text at the actual image center.
| Assignee | ||
Comment 13•13 years ago
|
||
(In reply to Stefan Arentz [:st3fan] from comment #7)
> Hey just to be sure, I actualy receive a places:view message containing a
> stack_title property. Was that intended?
Oops! My bug comment was incorrect. Yes, you're right: you're viewing the places for a stack, so you should get back the stack_title. The code should be correct.
| Assignee | ||
Comment 14•13 years ago
|
||
| Assignee | ||
Comment 15•13 years ago
|
||
| Assignee | ||
Comment 16•13 years ago
|
||
New button images added. Hope that helps!
Comment 17•13 years ago
|
||
Implemented.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•