Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

[FxA] Remove Time selection and add favorites for FxA users #4688

Closed
johngruen opened this issue Jul 20, 2018 · 6 comments
Closed

[FxA] Remove Time selection and add favorites for FxA users #4688

johngruen opened this issue Jul 20, 2018 · 6 comments
Assignees

Comments

@johngruen
Copy link
Contributor

Per the spec: https://mozilla.github.io/testpilot-assets/Firefox_Screenshots/NEW_FxA_Integration/shot

We still need clear indicator favorited shots on the my shots page

@jaredhirsch
Copy link
Member

Tasks

  • remove expiration picker code
  • add 'favorite' to DB schema (maybe)
  • add heart icon
  • replace 'infinity' icon with 'heart' icon on favorited for shots page view
  • handle favoriting on server (changing expiration from 2 weeks to infinity and back)
  • make all current infinite images favorited images

@chenba chenba self-assigned this Jul 27, 2018
@chenba
Copy link
Collaborator

chenba commented Jul 31, 2018

Since Favorites is a FxA feature and there are users with grandfathered in indefinitely saved shots who might not be FxA users, we need to the keep infinity symbol for those users.

@ghost ghost modified the milestones: Sprint 18 (63-2), Sprint 19 (63-3) Aug 2, 2018
chenba added a commit to chenba/screenshots that referenced this issue Aug 10, 2018
chenba added a commit to chenba/screenshots that referenced this issue Aug 10, 2018
chenba added a commit to chenba/screenshots that referenced this issue Aug 10, 2018
chenba added a commit to chenba/screenshots that referenced this issue Aug 16, 2018
chenba added a commit to chenba/screenshots that referenced this issue Aug 17, 2018
chenba added a commit to chenba/screenshots that referenced this issue Aug 17, 2018
jaredhirsch pushed a commit that referenced this issue Aug 20, 2018
* Replace shot expiration with favorites for FxA users. (#4688)

* Fix server tests that require an account id. (#4688)
@chenba
Copy link
Collaborator

chenba commented Aug 21, 2018

Not sure why this wasn't auto-closed when the PR was merged. Closing and moving it back to the proper sprint.

@chenba
Copy link
Collaborator

chenba commented Aug 30, 2018

@SoftVision-CosminMuntean This is on dev now. It's not using the new UI but the functionality is there.

@SoftVision-CosminMuntean

Thanks @chenba! However, I have a two questions related this functionality:

  1. Now that we remove time selection and add favorites for FxA users, when the user is not logged in or doesn't mark the shot as favorite, when the shot will expire? After 14 days? If yes, shouldn't we inform the users that the shot expires after 14 days?

  2. If a shot it's marked as favorite, after you disconnect from your account instead of the "heart" icon the "infinite" icon is displayed on at the bottom right corner of the shot tile in "My Shots" page (see this screenshot). Is this intended?

/cc @johngruen

@chenba
Copy link
Collaborator

chenba commented Aug 31, 2018

@SoftVision-CosminMuntean

  1. Yeah, that's a bug. I have a fix in another branch. I'll file a bug and open a PR.
  2. Yes, it's intended. A favorite shot is an indefinitely saved shot for a FxA user.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants