Skip to content

Conversation

tuliocll
Copy link

Hello guys, I want to contribute with these features that help me a lot with this awesome software!

I created three new features that make working with SQS messages much easier:

  • Send Messages: Modal to create and send new messages
  • List Messages: View queue messages with expandable details
  • Delete Messages: Remove individual messages
image

- Centralize message fetching to prevent component remounting
- Implement message deletion with SQS API integration
- Add HTML entity decoding for message display
- Include comprehensive tests and performance optimizations
- Update component architecture for
@tuliocll tuliocll changed the title Add SQS message send/list/delete features Add UI SQS message send/list/delete features Jul 25, 2025
Copy link

@afternoon2 afternoon2 left a comment

Choose a reason for hiding this comment

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

Hey 👋🏻 Thanks for the PR. I've got some notes here from the frontend dev's side. 🙂

…tions

- Replaced `notistack` with a custom Snackbar context for better control over notifications.
- Simplified the QueueMessagesList component by removing unnecessary useMemo hooks and directly using utility functions for formatting and truncating text.
- Updated QueueRow and QueueRowDetails components to streamline props and improve readability.
- Enhanced error handling in message deletion and fetching functions with a centralized error message utility.
- Added unit tests for new Snackbar context and refactored QueueService tests to align with the new structure.
- Introduced utility functions for decoding HTML entities, formatting dates, and truncating text.
- Cleaned up unused dependencies and ensured consistent code style across components.
@tuliocll
Copy link
Author

tuliocll commented Aug 5, 2025

Thanks for the review — sorry for the many changes!
I’ve applied all the changes. Let me know if anything else needs adjusting.

This commit includes:
- Created decodeHtml utility function to handle HTML entity decoding
- Added comprehensive unit tests for the decodeHtml utility
- Created test utility module for consistent rendering with SnackbarProvider
- Refactored component interfaces and nested functions to improve code structure
- Updated test files to use shared renderWithSnackbarProvider utility
- Applied HTML entity decoding to message display in QueueMessagesList
- Fixed error message translation and improved code organization
@tuliocll
Copy link
Author

Apologies for the late update — I’ve made the requested changes now.

@tuliocll tuliocll requested a review from afternoon2 September 4, 2025 13:44
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.

2 participants