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

Fix Chat Component UI #20

Open
Saachi26 opened this issue Oct 6, 2024 · 10 comments
Open

Fix Chat Component UI #20

Saachi26 opened this issue Oct 6, 2024 · 10 comments

Comments

@Saachi26
Copy link
Collaborator

Saachi26 commented Oct 6, 2024

The chat component's UI requires improvements to ensure better readability and user experience.
Specifically:

  • Make the text boxes proportionate to the text.
  • The text boxes should resize dynamically according to the text content.

Screenshot from 2024-10-06 22-30-22

Tasks

  • Dynamically resize text boxes based on the text length.
  • Remove the extra scroll bar from the chat component.
@Saachi26 Saachi26 added the enhancement New feature or request label Oct 6, 2024
@Saachi26 Saachi26 changed the title Fix Chat Component UI and Make it Responsive Fix Chat Component UI Oct 6, 2024
@Saachi26 Saachi26 added the UI/UX label Oct 6, 2024
@MadhavKrishanGoswami MadhavKrishanGoswami added React good first issue Good for newcomers gssoc-ext level 2 and removed enhancement New feature or request good first issue Good for newcomers labels Oct 6, 2024
@nunniii
Copy link
Contributor

nunniii commented Oct 7, 2024

can I work in this ?

@MadhavKrishanGoswami
Copy link
Owner

go ahead @nunniii!

@nunniii
Copy link
Contributor

nunniii commented Oct 8, 2024

Good morning, @MadhavKrishanGoswami! 🌅 , please consider testing the chat changes made in this fork so I can create a PR.

  • I was unable to observe the divs that contain the message content of "other" (classes .other) as I had difficulty navigating the project.
  • Please also note that the file preventHorizontalScroll.js was added, which is a tool to address the issue of a horizontal scroll bar being rendered whenever the user's window is resized or when the stylesheets are modified. I’m not sure of the best way to resolve this issue, but this file has been effective in preventing the scroll.
  • There are issues with the floating logic applied in the stylesheet: I believe it’s worth mentioning, even though it seems to be just a detail, I couldn’t find a solution for this part:

image

It remains hidden:
image

In summary, here’s a preview:

image

@Saachi26
Copy link
Collaborator Author

Thanks for your work on this issue! To properly review and test what you've worked on, could you please create a pull request? Once the PR is up, we can go through the changes and ensure everything is functioning as expected.

@nunniii
Copy link
Contributor

nunniii commented Oct 10, 2024

alright! 💻

@Jasmeetkaur-13
Copy link

Could you please assign me to the task of fixing the Chat Component UI. I'm ready to work on improving the text box proportions and making them dynamically resize according to the text content

@MadhavKrishanGoswami
Copy link
Owner

MadhavKrishanGoswami commented Oct 15, 2024

Absolutely, @Jasmeetkaur-13 You’re assigned. Let me know if you need anything. 🚀

@Jasmeetkaur-13
Copy link

Jasmeetkaur-13 commented Oct 15, 2024 via email

@anchalchaturvedi08
Copy link

Can you assign me this task too?

@MadhavKrishanGoswami
Copy link
Owner

MadhavKrishanGoswami commented Oct 16, 2024

Sure, if you'd like, you can collaborate with @Jasmeetkaur-13 , as she's already working on this task.

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

5 participants