Skip to content

Update Chatwoot extension - Add "My Inbox" command + Fix "List Messages" command - #22490

Merged
raycastbot merged 5 commits into
raycast:mainfrom
xmok:ext/chatwoot
Oct 29, 2025
Merged

raycastbot merged 5 commits into
raycast:mainfrom
xmok:ext/chatwoot

Conversation

@xmok

@xmok xmok commented Oct 28, 2025 •

Copy link
Copy Markdown
Contributor

Description

close #22494

My Inbox

  • show notifications
  • mark as read

Conversations

  • filter conversations by status
  • show conversation status
  • show latest message status

Messages

  • fix messages not loading when they include an activity
  • show message status

Create Message

  • show latest message content as reference

Screencast

chatwoot-251028.mp4

Checklist

@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements extension: chatwoot Issues related to the chatwoot extension platform: macOS OP is author The OP of the PR is the author of the extension labels Oct 28, 2025
@raycastbot

ghost commented Oct 28, 2025

Copy link
Copy Markdown
Collaborator

Thank you for the update! 🎉

You can expect an initial review within five business days.

ghost left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Greptile Overview

Greptile Summary

Added new "My Inbox" command to display notifications with mark-as-read functionality. Enhanced conversations list with status filtering and message status indicators. Fixed message loading crash when activities are present by adding MessageType.Activity enum value.

  • New NotificationsService with list and mark-as-read API methods
  • Status filter dropdown for conversations (All, Open, Resolved, Pending, Snoozed)
  • Message and notification status indicators throughout UI
  • Activity message type handling to prevent crashes
  • Last message content display in Create Message form for context

Confidence Score: 4/5

  • Safe to merge after fixing the dropdown component syntax error
  • One syntax error using wrong dropdown component type that will cause runtime issues. Otherwise well-structured changes with proper type safety and error handling
  • Pay attention to extensions/chatwoot/src/list-conversations.tsx - contains incorrect component usage that must be fixed

Important Files Changed

File Analysis

Filename Score Overview
extensions/chatwoot/src/chatwoot.ts 5/5 Added NotificationsService with list and markAsRead methods, handles empty response edge case
extensions/chatwoot/src/types.ts 5/5 Added Activity to MessageType enum, new Notification type, and status fields to Message and Conversation
extensions/chatwoot/src/my-inbox.tsx 5/5 New command showing notifications with mark as read functionality and optimistic updates
extensions/chatwoot/src/list-conversations.tsx 3/5 Added status filter dropdown, message status display, and Activity message handling - contains incorrect component usage (Form.Dropdown.Item instead of List.Dropdown.Item)

6 files reviewed, 1 comment

Edit Code Review Agent Settings | Greptile

@pernielsentikaer pernielsentikaer self-assigned this Oct 29, 2025

ghost left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good to me, approved 🔥

@raycastbot
raycastbot merged commit ee37050 into raycast:main Oct 29, 2025
@github-actions

ghost commented Oct 29, 2025

Copy link
Copy Markdown
Contributor

@raycastbot

ghost commented Oct 29, 2025

Copy link
Copy Markdown
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

@xmok
xmok deleted the ext/chatwoot branch November 2, 2025 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extension: chatwoot Issues related to the chatwoot extension extension fix / improvement Label for PRs with extension's fix improvements OP is author The OP of the PR is the author of the extension platform: macOS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Chatwoot] "List Messages" subcommand crashes when chat includes activities

3 participants