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

Connecting the back-end and the front-end logic in anonymous feature- User Story 3 #48

Closed
Hakaabi opened this issue Oct 16, 2024 · 1 comment

Comments

@Hakaabi
Copy link

Hakaabi commented Oct 16, 2024

Acceptance criteria:

-back-end:
when the checkbox is clicked isAnonymous turns to 'true' overriding post user information to 'Anonymous'
when the checkbox is clicked isAnonymous turns to true which displays topic's user object to 'Anonymous'
when the checkbox is not clicked, it should not edit the topic and posts data to anonymous

-front-end:
once posted, the displayname shows 'Anonymous'
when looking the general discussion page, anonymous posts show no avatars
Posts posted anonymously show no user data
When hovering over posts posted anonymously it should show 'anonymous'
when a post is not posted anonymously, it should display the user's information and display their information.

@Hakaabi
Copy link
Author

Hakaabi commented Oct 16, 2024

This issue was resolved by editing the controller 'composer.js' and index.js in topics data structure.

@Hakaabi Hakaabi changed the title Back end front end communication Connecting the back-end and the front-end logic in anonymous feature- UserStory3 Oct 16, 2024
@Hakaabi Hakaabi changed the title Connecting the back-end and the front-end logic in anonymous feature- UserStory3 Connecting the back-end and the front-end logic in anonymous feature- User Story 3 Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant