Closed
Bug 754427
Opened 13 years ago
Closed 13 years ago
Social stacks do not show the user's profile page upon creation
Categories
(Pancake Graveyard :: Front-end, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: oyiptong, Assigned: gbrander)
References
Details
Social stacks do not show the user's profile page upon creation. It does when the sidebar content is loaded from the server side.
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → gbrander
Assignee | ||
Updated•13 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•13 years ago
|
||
What do we get back from a POST to the social API?
{
"profile_place": {
"id": "725d9504f1db4e3e904e874083c4a568",
"thumbnail_key": "be2cc7b35be2814d5eb3414e74db0facdc46b6b91194c0eb4c633fbf"
},
"place": {
"url": "http://www.buyolympia.com/q/Category=Triforce-Tribute",
"title": "buyolympia.com/q/Category=Triforce-Tribute",
"id": "46465fbd3dc84d93800fa1f964bf1a54",
"thumbnail_key": "362a65e4601cfc9dea82fc8aeee47d0a535a6f31364a6566fbcf3ab3"
},
"stack": {
"subtype": "social",
"provider": "twitter.com",
"id": "f1e341651d434793925f56bb140a669c",
"title": "Always With Honor"
},
"session_id": "ed392b37dfb440d290caaec3501181a7",
"thumbnails_job": null
}
Need to make `social()` use:
* `process()`
* `onSuccess`
Assignee | ||
Comment 2•13 years ago
|
||
`process()` already being used by `social`.
Assignee | ||
Comment 3•13 years ago
|
||
Not sure where place_url field of Social landing pages should point... We eventually want to create a People page, but that does not currently exist.
Assignee | ||
Comment 5•13 years ago
|
||
From DUPLICATE https://bugzilla.mozilla.org/show_bug.cgi?id=753894:
What happens:
* Click a social link for a person that does not yet have a stack
* Stack is created, drawer pans to places
* Place is shown. Person is NOT shown
What should happen:
* Click a social link for a person that does not yet have a stack
* Stack is created, drawer pans to places
* Place is shown. Person is shown beneath place
Now that we are no longer making a second round-trip to fetch drawer contents, we have to instantiate a SiteModel for the place and search place, appending to the PlacesCollection.
This is working for StackModel.search(), but is not yet hooked up for StackModel.social().
Assignee | ||
Comment 6•13 years ago
|
||
Initial fix working. Need a person URL to point to. https://bitbucket.org/mozillapancake/pancake/changeset/20e8e049c167
Assignee | ||
Comment 7•13 years ago
|
||
...and you can track progress in branch https://bitbucket.org/mozillapancake/pancake/changesets/tip/branch(%22social-stacks-creation%22)
Assignee | ||
Comment 8•13 years ago
|
||
Fixed in https://bitbucket.org/mozillapancake/pancake/changeset/b4688e554202.
Using friend_url field from request to fill in for Person url.
NOTE: this will not work in the `views` iframe-based app, because of iframe access blocks on <http://twitter.com> and <http://facebook.com>.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 9•13 years ago
|
||
Added tests for processSearchPlace:
https://bitbucket.org/mozillapancake/pancake/changeset/aeae953d4a33
https://bitbucket.org/mozillapancake/pancake/changeset/328e51c448b4
You need to log in
before you can comment on or make changes to this bug.
Description
•