Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Make @nestia/agent responsive. #1202

Merged
merged 1 commit into from
Jan 24, 2025
Merged

Make @nestia/agent responsive. #1202

merged 1 commit into from
Jan 24, 2025

Conversation

samchon
Copy link
Owner

@samchon samchon commented Jan 24, 2025

This pull request includes several changes to the NestiaChatMovie component and related files to improve code organization, add new features, and enhance the user interface. The most important changes include the addition of new icons and UI elements, refactoring of event listeners, and updates to the layout for better responsiveness.

Code Organization and Refactoring:

  • Refactored event listeners in NestiaChatMovie to improve readability and maintainability by separating initialization, event interactions, and event handlers. [1] [2]
  • Added comments and organized code into sections such as variables, states, event interactions, initialization, and renderers. [1] [2]

New Features:

  • Added ReceiptLongIcon and Drawer components to enhance the user interface, including a new side drawer for mobile views. [1] [2]
  • Implemented conditional rendering for mobile and desktop views using useMediaQuery and useTheme hooks. [1] [2]

UI Enhancements:

  • Updated margin values in message components (NestiaChatDescribeMessageMovie, NestiaChatSelectMessageMovie, and NestiaChatTextMessageMovie) to use percentages for better responsiveness. [1] [2] [3]
  • Changed the SIDE_WIDTH constant name from RIGHT_WIDTH for better clarity.

Bug Fixes:

  • Improved error handling in the handleKeyUp function to display alerts for errors and set the error state properly.

Version Update:

  • Updated the version in package.json from 0.3.2 to 0.3.3.

@samchon samchon added documentation Improvements or additions to documentation enhancement New feature or request labels Jan 24, 2025
@samchon samchon self-assigned this Jan 24, 2025
Copy link
Owner Author

@samchon samchon left a comment

Choose a reason for hiding this comment

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

OK, no problem.

@samchon samchon merged commit f9f85eb into master Jan 24, 2025
4 checks passed
@samchon samchon deleted the feat/chat branch January 24, 2025 07:20
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant