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

Fixed some emoji features in src/views/partials/chats/message.tpl #40

Open
wants to merge 229 commits into
base: f24
Choose a base branch
from

Conversation

Aya-Abdel-Hamid
Copy link

@Aya-Abdel-Hamid Aya-Abdel-Hamid commented Oct 20, 2024

This pull request further implements the feature that allows users to react to messages using a variety of emojis. Additionally, it includes several style enhancements to the reaction box to improve the user experience.

Changes Made :
Added Emoji Reactions:

Implemented a set of emoji buttons that users can click to react to messages.
Each emoji button displays an emoji and a count of reactions.

The following emojis have been added:
😮 (Surprised)
😢 (Crying)
👏 (Clapping)
🎉 (Party Popper)
🔥 (Fire)
💯 (100)
😊 (Smiling)
😍 (Heart Eyes)
❓ (Question Mark)

Style Enhancements for Reaction Box:
Updated the CSS to ensure the reaction box can wrap emojis into multiple rows.
Added padding, border, and background color to the reaction box for better visual appeal.
Ensured the reaction box takes the full width of its parent container and allows for vertical scrolling if needed.
Styled each emoji button with a lighter background color, green border, and rounded corners.
Added hover effects to the emoji buttons for better interactivity.

Files Modified :

src/views/partials/chats/message.tpl:
Added HTML structure for the emoji buttons within the reaction box.
public/scss/chats.scss:
Added and updated CSS styles for the reaction box and emoji buttons.

aadityanairaaq and others added 30 commits September 11, 2024 20:49
Resolves #1. Added the group names to the README file.
Refactored code to fix nesting in src/user/delete.js
@coveralls
Copy link

coveralls commented Oct 20, 2024

Pull Request Test Coverage Report for Build 11427098931

Details

  • 75 of 139 (53.96%) changed or added relevant lines in 8 files are covered.
  • 4 unchanged lines in 3 files lost coverage.
  • Overall coverage decreased (-0.1%) to 82.557%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/posts/create.js 20 21 95.24%
src/topics/tools.js 15 18 83.33%
src/user/delete.js 2 5 40.0%
src/topics/teaser.js 1 8 12.5%
src/topics/posts.js 1 11 9.09%
src/middleware/admin.js 31 47 65.96%
src/socket.io/plugins.js 4 28 14.29%
Files with Coverage Reduction New Missed Lines %
src/user/delete.js 1 83.93%
src/groups/join.js 1 92.05%
src/middleware/admin.js 2 64.08%
Totals Coverage Status
Change from base Build 10701387427: -0.1%
Covered Lines: 22366
Relevant Lines: 25675

💛 - Coveralls

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.

6 participants