Closed mtuliosan closed 1 month ago
[!CAUTION]
Review failed
The pull request is closed.
The recent changes enhance the functionality and user experience throughout the application, particularly focusing on message handling, localization improvements, and the addition of new features like reopening conversations. Key modifications include refined error handling in controllers, expanded capabilities for managing multiple messages, and updates to localization strings for better clarity. Overall, these improvements aim to streamline interactions and ensure a more cohesive user experience.
Files & Paths | Change Summary |
---|---|
.env.example |
Removed commented-out configuration lines for MS_CLARITY_TOKEN and GOOGLE_TAG . |
app/controllers/api/v1/accounts/automation_rules_controller.rb |
Improved error handling logic in create method for better readability and debugging. |
app/controllers/api/v1/accounts/conversations/messages_controller.rb |
Enhanced error handling in forward method; modified parameters in forward_message_params for multiple messages. |
app/javascript/dashboard/api/inbox/message.js |
Updated forwardMessage method to handle multiple messages instead of a single message ID. |
app/javascript/dashboard/components/ChatList.vue |
Added search functionality and custom snooze modal for managing conversations. |
app/javascript/dashboard/components/ChatListHeader.vue |
Introduced searchQuery prop and a search input for filtering chats. |
app/javascript/dashboard/components/app/UpdateBanner.vue |
Simplified updateAvailable logic to always indicate no updates available. |
app/javascript/dashboard/components/widgets/conversation/Message.vue |
Added message selection checkbox and refined rendering logic. |
app/javascript/dashboard/components/widgets/conversation/MessagesView.vue |
Enhanced message selection and forwarding functionalities with new computed properties and methods. |
app/javascript/dashboard/i18n/locale/pt_BR/*.json |
Updated localization strings for clarity and accuracy across various components. |
app/javascript/dashboard/routes/dashboard/settings/account/Index.vue |
Simplified hasAnUpdateAvailable method to always return false. |
app/javascript/dashboard/store/modules/forwardMessage.js |
Introduced a new Vuex module for managing message forwarding state. |
app/jobs/conversations/forward_message_job.rb |
Enhanced logic to allow processing of multiple messages for forwarding. |
app/models/automation_rule.rb |
Added reopen_conversation action to the list of actions in actions_attributes method. |
app/services/action_service.rb |
Introduced reopen_conversation method to manage conversation states. |
app/javascript/dashboard/routes/dashboard/settings/automation/constants.js |
Added "Reopen conversation" action to automation action types. |
sequenceDiagram
participant User
participant MessageApi
participant Store
participant ForwardJob
User->>Store: Forward multiple messages
Store->>MessageApi: forwardMessage(conversationId, messages)
MessageApi-->>Store: Acknowledge forwarded messages
Store->>ForwardJob: Process messages for forwarding
ForwardJob-->>User: Confirmation of message forwarding
🐰 In a meadow, soft and bright,
New features hop into sight.
Forward messages, search with glee,
Conversations flow like a stream so free.
Let's celebrate, with joy and cheer,
For changes made, we hold so dear! 🌼
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
User Interface Improvements
Bug Fixes
Documentation
Chores