Closed Bug 1150419 Opened 9 years ago Closed 9 years ago

[Stingray] Add data access methods to supporting folder operation

Categories

(Firefox OS Graveyard :: Gaia::TV::Home, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dwi2, Assigned: dwi2)

References

Details

Attachments

(1 file)

We need to add these methods:

1. updateCard
2. swapCard
3. getCardListOfFolder (similar to getCardList() in CardManager)
4. findCardFromFolder (similar to findCardFromCardList() in CardManager)
Summary: [Stingray] Add data access method for supporting folder → [Stingray] Add data access methods to supporting folder operation
Assignee: nobody → tzhuang
Status: NEW → ASSIGNED
Comment on attachment 8589010 [details] [review]
[gaia] dwi2:bug1150419 > mozilla-b2g:master

Hi Rex,

Please help to review the patch, thanks.

We add four methods in folder.js to support folder operation:
1. getCardList
2. findCard
3. updateCard
4. swapCard
Attachment #8589010 - Flags: review?(rexboy)
Comment on attachment 8589010 [details] [review]
[gaia] dwi2:bug1150419 > mozilla-b2g:master

Looks ok to me but I think we need to add some events specifying the updated card in Folder. Please see my comments and add them before landing.
Attachment #8589010 - Flags: review?(rexboy) → review+
Thanks. All comments are addressed.
Keywords: checkin-needed
http://docs.taskcluster.net/tools/task-graph-inspector/#8zHTabgmTKe3VWfo_W-iFg

The pull request failed to pass integration tests. It could not be landed, please try again.
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Blocks: 1153107
Whiteboard: [partner-cherry-pick]
Whiteboard: [partner-cherry-pick]
You need to log in before you can comment on or make changes to this bug.