Closed Bug 834954 Opened 11 years ago Closed 11 years ago

Update the button status as app is installed/uninstalled/purchased

Categories

(Marketplace Graveyard :: Payments/Refunds, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED
2013-06-27

People

(Reporter: krupa.mozbugs, Assigned: cvan)

References

Details

(Whiteboard: [qa+] c=mkt-payments u=patron p=2)

steps to reproduce:
1. Launch marketplace-dev app on your unagi phone
2. Search for "private yacht" and hit enter.
3. Search results page loads. Note the button state of the app 'Private Yacht'. It should show the app price.
4. Click on the app name to navigate to the details page
5. Purchase the app
6. After successful purchase, focus returns to the details page and the app is installed.  
7. Notice that the button status changed to "Launch" after the app was installed
8. Hit the < in the header to navigate back to the search results page
9. Notice the button status on the search results page

expected behavior:
Button status for the app changes on the search results page.

observed behavior:
Button status on the search results page is not updated. cvan tells me that this is an easy fix.
This is similar to bug 815821. We just need to bust the fragments cache for all search/browse pages. (Might as well flush entire fragments cache.)
Priority: -- → P3
Assignee: nobody → cvan
Target Milestone: --- → 2013-02-14
Version: 1.0 → 1.2
Whiteboard: p=
Whiteboard: p= → c=mkt-payments u=patron p=1
Target Milestone: 2013-02-14 → 2013-02-28
Target Milestone: 2013-02-28 → 2013-03-14
Target Milestone: 2013-03-14 → 2013-03-21
Target Milestone: 2013-03-21 → 2013-04-04
Target Milestone: 2013-04-04 → 2013-04-11
Target Milestone: 2013-04-11 → ---
Fixed in Fireplace.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2013-05-16
(In reply to Christopher Van Wiemeersch [:cvan] from comment #2)
> Fixed in Fireplace.

not really.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: 2013-05-16 → 2013-05-23
Target Milestone: 2013-05-23 → ---
Please include the state when the user purchases an app but cancels the install. The button status should then change to "install"
Assignee: cvan → mattbasta
Also, when the user continues with the payment and installs the app, the button status changes to "Launch" (expected).

But, after the uninstalling the app right after installing it, going back to the marketplace search results page still shows "Launch" (unexpected). Expected behaviour would be to show "Install".

Searching again for the same app, shows the price on the button instead of "Install" (unexpected). Tapping the button does not do anything at all.
Summary: Update the button status on search results page after an app purchase → Update the button status as app is installed/uninstalled/purchased
Log ID: 98452
Assignee: mattbasta → cvan
Target Milestone: --- → 2013-06-27
Depends on: 887553
Target Milestone: 2013-06-27 → 2013-07-04
https://github.com/mozilla/fireplace/commit/d1a40c2

Fixed by the above commit and ashort's fix for bug 887553.
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
Whiteboard: c=mkt-payments u=patron p=1 → c=mkt-payments u=patron p=2
This went out last Friday, 6/28.
Target Milestone: 2013-07-04 → 2013-06-27
Whiteboard: c=mkt-payments u=patron p=2 → [qa+] c=mkt-payments u=patron p=2
You need to log in before you can comment on or make changes to this bug.