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

Adding user story 9 front-end code issue #65

Closed
wants to merge 3 commits into from
Closed

Conversation

aalman3
Copy link

@aalman3 aalman3 commented Oct 9, 2024

In this pull request, I created a new file called emoji-dropdown.tpl that implements a dropdown menu for replying to comments with five different emojis. The purpose of this feature is to enhance user interaction by providing quick access to common emoji reactions.

Changes Made:

New File Creation: I added emoji-dropdown.tpl, which contains the HTML structure for the emoji dropdown. This includes:

A button to toggle the dropdown menu.
A list of five emoji options that users can click to insert into their comments.
To improve the appearance of the emoji buttons, I added specific CSS classes for future adjustments:
Linking the Template: I ensured that the new dropdown file is linked in the appropriate template file using the line in node_modules/nodebb-theme-harmony/templates/partials/topic/post.tpl:

@aalman3 aalman3 added enhancement New feature or request User story 9 Front-end Sprint 2 week 3-4 labels Oct 9, 2024
@aalman3 aalman3 added this to the Sprint 2 milestone Oct 9, 2024
@aalman3 aalman3 self-assigned this Oct 9, 2024
@aalman3 aalman3 linked an issue Oct 9, 2024 that may be closed by this pull request
@coveralls
Copy link

Pull Request Test Coverage Report for Build 11260198686

Details

  • 28 of 28 (100.0%) changed or added relevant lines in 1 file are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage increased (+0.003%) to 82.646%

Files with Coverage Reduction New Missed Lines %
src/groups/join.js 1 92.05%
Totals Coverage Status
Change from base Build 11121575958: 0.003%
Covered Lines: 22360
Relevant Lines: 25626

💛 - Coveralls

Copy link

@hibaabdullahhamad hibaabdullahhamad left a comment

Choose a reason for hiding this comment

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

Great work! Your implementation method is great. However, I believe we should avoid adding console.log statements when merging, do you think we could remove those lines?
In addition, we should name our branches to reflect the work we performed, so what do you think of changing the branch name to something like 'emoji-feature'?
Nice effort!

@aalman3 aalman3 closed this Oct 10, 2024
@aalman3 aalman3 deleted the aalmana-testing_code branch October 10, 2024 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adding Front-end code for reacting with emojis - Part 1
3 participants