Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A UI-way to always show "in progress" posts before past of future posts #54

Merged
merged 1 commit into from
Apr 5, 2015

Conversation

Slava
Copy link
Contributor

@Slava Slava commented Apr 5, 2015

A short description of the approach:

  • override the posts_list template to display two groups of posts: "in progress"
    and "past and future"
  • have separate helpers for each group, filtering out unnecessary posts

This method would fail if there are so many future posts, that the client never
subscribed to anything ongoing, this is probably solved by a separate
subscription to all "in progress" posts. Should be covered later(, when it
becomes a problem?)

A short description of the approach:
- override the posts_list template to display two groups of posts: "in progress"
  and "past and future"
- have separate helpers for each group, filtering out unnecessary posts

This method would fail if there are so many future posts, that the client never
subscribed to anything ongoing, this is probably solved by a separate
subscription to all "in progress" posts. Should be covered later(, when it
becomes a problem?)
lpatmo added a commit that referenced this pull request Apr 5, 2015
A UI-way to always show "in progress" posts before past of future posts
@lpatmo lpatmo merged commit d739726 into lpatmo:master Apr 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants