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

Cheyu/save to favorite btns toggle #4

Merged
merged 2 commits into from
Oct 11, 2024
Merged

Conversation

tu2463
Copy link

@tu2463 tu2463 commented Sep 30, 2024

Created buttons to favorite and unfavorite posts. Adjusted the layout of the favorite button on the category page.
This resolves CMU-313/nodebb-f24-sweethearts#1

To test the behavior, click on any topic, and you should see a "Save to Favorites" button on the menu bar.
Clicking on the button will switch it to "Remove from Favorites".
Clicking on it again will switch it back to "Save to Favorites".

Copy link

@alicekang1 alicekang1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@jullia02 jullia02 added this to the Sprint 2 milestone Oct 11, 2024
@tu2463 tu2463 merged commit 929ff4d into f24 Oct 11, 2024
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.

(Frontend) Create a "Save to Favorites" button in the topic page
3 participants