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

Implement Forum Question Details #593

Open
3 tasks done
hks1444 opened this issue Nov 3, 2024 · 3 comments
Open
3 tasks done

Implement Forum Question Details #593

hks1444 opened this issue Nov 3, 2024 · 3 comments
Assignees
Labels
app: fe Frontend related issues or PRs pri: medium Medium priority issue

Comments

@hks1444
Copy link
Contributor

hks1444 commented Nov 3, 2024

🧱 Description

The posts on the forum page has answers but this cannot be seen in the feed page. So we need to be able to see the post details and answers by clicking on the post.

To be reviewed by: @Meminseeker

📋 Acceptance Criteria

  • The user is redirected to a page when a post from the forum feed is clicked.
  • Aforementioned page contains answers
  • The answers can be sorted by newest, oldest, or most upvotes.
@hks1444 hks1444 added app: fe Frontend related issues or PRs pri: medium Medium priority issue labels Nov 3, 2024
@hks1444 hks1444 self-assigned this Nov 3, 2024
@hks1444
Copy link
Contributor Author

hks1444 commented Nov 3, 2024

This pr has the post feed. You can the pagination using url parameters (e.g.http://localhost:3310/forum/1?page=4&per_page=6&sort=newest).

@hks1444
Copy link
Contributor Author

hks1444 commented Nov 3, 2024

The sorting selection is done by radio buttons. It will be styled later. The buttons may seems somewhat crude. I will create another issue for refining the page design.

@hks1444
Copy link
Contributor Author

hks1444 commented Nov 3, 2024

Only first three posts are clickable because there is no mock data for other posts. It will be solved when we connect it to backend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app: fe Frontend related issues or PRs pri: medium Medium priority issue
Projects
None yet
Development

No branches or pull requests

1 participant