-
Notifications
You must be signed in to change notification settings - Fork 202
Add UI SQS message send/list/delete features #1140
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
Open
tuliocll
wants to merge
3
commits into
softwaremill:master
Choose a base branch
from
tuliocll:new/create-and-view-messages
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Add UI SQS message send/list/delete features #1140
tuliocll
wants to merge
3
commits into
softwaremill:master
from
tuliocll:new/create-and-view-messages
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 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
afternoon2
requested changes
Aug 5, 2025
There was a problem hiding this 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.
Thanks for the review — sorry for the many changes! |
afternoon2
requested changes
Aug 6, 2025
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
Apologies for the late update — I’ve made the requested changes now. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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: