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

Create form viewForm component to show the form responses. #24

Open
angelinasu57 opened this issue Mar 30, 2023 · 0 comments · Fixed by #17
Open

Create form viewForm component to show the form responses. #24

angelinasu57 opened this issue Mar 30, 2023 · 0 comments · Fixed by #17

Comments

@angelinasu57
Copy link
Contributor

Made the ViewForum TS to give the list of Observable posts and this would go through each of the posts and pull out the subsequent data to be organized in a table.

Table (used to organize the submitted resources) shows the content submitted, who it was submitted by, a unique ID to refer to the post, and the time it was submitted. Used getPosts from the postService file to do so.

The form (as completed earlier) will show up on the "Forum" page. Upon refresh of the page, the table of resources shown so far would show up. This is done through dual onSuccess methods in the makeForum page and the makePost method on the postService.

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 a pull request may close this issue.

1 participant