pepyatka / pepyatka-server

Server for Pepyatka
79 stars 27 forks source link

Custom lists #214

Open epicmonkey opened 9 years ago

epicmonkey commented 9 years ago

TBD

smallq-git commented 9 years ago

NOTE: there is no spec describing friend list feed behavior, so p. 20 is added based on user's feedback. Specs used: Groups: https://docs.google.com/document/d/1q0-fHGqhmtRihut0X1o1iQYIThFN46pouBoo3-YJgfg/edit#heading=h.gjdgxs Friends 1: https://docs.google.com/document/d/1u7BxFdzy8f7OfcVm_t0U-CLc35-U4t2ILJQVW4gLNQo/edit#heading=h.477tq198zjp Friends 2: https://docs.google.com/document/d/1aJGR3v2O2a76U1lcDH9sJBZijeJRrdfjbh2f-pNoMLE/edit

  1. On sidebar user is able to see the list of their friend lists and link to manage lists: image
  2. Friends management page is also available via Friends sidebar item.
  3. When subscribing to another user, user gets an option to select existing friend lists this new friend will belong to, as well as create a new friend list for this user: image
  4. When viewing friend's profile, user can see which lists the friend belongs to and go directly to editing separate lists: image
  5. When viewing the list of subscriptions, user can view separate lists and create new friend lists: image
  6. All lists are available for selection in View dropdown; All Subscriptions is selected by default: image
  7. In Frf four lists existed by default: Home Feed, Personal, Professional and Favorites.
  8. If selected list is empty, a prompt to add friends to the list is displayed: image
  9. Clicking the prompt brings up friends selection window (with the filtering capabilities - separate issue). image
  10. When friends are added or removed and list is saved, a yellow information panel is briefly displayed, listing number of friends added or removed: image
  11. List editing page can be viewed via URL /friends?list=LIST_NAME (Note options to rename or delete!): image
  12. When list is selected on the friends page, an option to Add/remove friends appears next to the dropdown: image
  13. When list is selected on the friends page, only those friends that belong to the list are displayed (with pagination if necessary): image image
  14. Any additions/deletions to the lists are saved and displayed in Subscription History: image
  15. When New friend list option is selected, first the name of the list is prompted: image
  16. Several lists can have the same name.
  17. Same window is displayed when renaming a list.
  18. After that friends selection process is identical to list editing.
  19. After list is created and saved, it is displayed on the sidebar and can be accessed via URL /list/LIST_NAME
  20. On the friends list page only posts of the friends belonging to that list are displayed. Likes and comments do not appear in the friend list feed.
epicmonkey commented 9 years ago

@smallq-git could you remind me what exactly is shown on a list page, e.g. Home feed (which is a pre-defined list, but it is a list as well) shows my posts, my friends posts, posts that they commented on and posts that they liked. Is it the same for any other list?

smallq-git commented 9 years ago

@epicmonkey It was not specified in the documentation and I've never used the lists myself. Requesting assistance on ff.

epicmonkey commented 9 years ago

Thanks to folks from #pro-description channel. custom lists include only friends posts (which makes home feed really-really special). And this is kinda tricky from UX point of view, i.e. if you move user to a custom list you won't see her likes/comments and as FrF doesn't have a good way to manage likes/comments subscriptions you'll be most likely confused.

smallq-git commented 9 years ago

So we need a separate way to track likes/comments subscriptions. We are going to allow to subscribe to them separately from posts, aren't we?

zverok commented 9 years ago

Is it the same for any other list?

Nope. The very idea of lists was "when I put user in list, only his post is shown, not liked/commented by this user".

After list is created and saved, it is displayed on the sidebar and can be accessed via URL /list/LIST_NAME

For lists with cyrillic names FriendFeed created URLs like /list (for first of them), /list1 and so on. Which is pretty lame, yet seems better than /%D0%96%D0%BE%D0%BF%D0%B0

epicmonkey commented 9 years ago

Moving to post-migration. 0.5.0