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

epic(pano): home page feed #566

Closed
20 tasks done
cansirin opened this issue Jul 30, 2023 · 1 comment
Closed
20 tasks done

epic(pano): home page feed #566

cansirin opened this issue Jul 30, 2023 · 1 comment
Assignees
Labels
apps/kampus epic a big issue that tracks other issues, if you know jira, you know what epics are :D product/pano issues related to pano.kamp.us

Comments

@cansirin
Copy link
Contributor

cansirin commented Jul 30, 2023

Home Page Feed

We want our users to use pano's homepage to navigate their posts feed. They will also be able to create a new post (think about twitter/facebook type of UX).

Home page feed will show Query.viewer.panoFeed GQL query to fetch the response. The result of the query is a PanoPostConnection object.

The most recent post should appear on top, so we will need to update Viewer.panoFeed accordingly.

We will render this page at / top-level route, meaning pano.dev.kamp.us or pano.kamp.us (in the future) should show this page.

Feed Filters

We want to give our users an ability to sort the feed by providing them a preset of different filters:

  • all - hepsi: This is the default behavior. We show the feed in descending order by their creation date. Most recent is on top.
  • active - En son yorumlananlar: Show the feed in descending order by their most recent comment's creation date. Most recently commented post is on top.
  • hot - En fazla yorum almislar: Show the feed in ascending order by their comment count. The post with the most comment count is on top.
  • upvoted - Oyladiklarim: Same order with all but only the posts viewer's upvoted.
  • owned - başlıklarım: Same order with all but only the posts viewer created.

An example: https://pano-dev.kamp.us/

Related files/folders from deprecated pano

https://github.com/kamp-us/monorepo/blob/dev/deprecated/pano/app/routes/index.tsx
https://github.com/kamp-us/monorepo/tree/dev/deprecated/pano/app/routes/posts

Tasks for this epic

Posts

Comments

Upvotes


@kampus/gql-utils

@cansirin cansirin added the epic a big issue that tracks other issues, if you know jira, you know what epics are :D label Jul 30, 2023
@cansirin cansirin moved this to 🏗 In progress in monorepo pano Jul 30, 2023
@cansirin cansirin added this to the Pano via GQL milestone Jul 30, 2023
@cansirin cansirin added product/pano issues related to pano.kamp.us apps/kampus labels Jul 30, 2023
usirin added a commit that referenced this issue Jul 30, 2023
# Description

Epic: #566 
This PR is in progress but still open to review :)

---------

Co-authored-by: Umut Sirin <[email protected]>
@muhammed-gumus
Copy link
Collaborator

i’ll be working on this with Can as planned

@usirin usirin changed the title epic(pano): posts page (home) epic(pano): home page feed Aug 4, 2023
@usirin usirin self-assigned this Aug 4, 2023
@usirin usirin moved this from 🆕 New to 🏗 In progress in kampus architecture v1 Aug 5, 2023
@usirin usirin closed this as completed Aug 18, 2023
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in kampus architecture v1 Aug 18, 2023
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in monorepo pano Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apps/kampus epic a big issue that tracks other issues, if you know jira, you know what epics are :D product/pano issues related to pano.kamp.us
Projects
Status: Done
Status: Done
Development

No branches or pull requests

4 participants