Skip to content
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

[#126] Create new sender_role for broadcast message #127

Merged
merged 12 commits into from
Nov 1, 2024

Conversation

wayangalihpratama
Copy link
Collaborator

@wayangalihpratama wayangalihpratama commented Oct 29, 2024

TODO / DONE


Backend:

  • Create a new message type in the chat model for broadcast
  • Develop a new endpoint for sending broadcast messages from extension officers, implement a queue to handle message delivery (via Twilio) in the background to avoid blocking operations.
  • Broadcast messages are prefixed with "[Broadcast]" so that clients understand this is broadcast.

Frontend:

  • In the extension officer’s dashboard, add a "Send Broadcast" button that opens a message composition interface.
  • On the chat page, differentiate the color between broadcast messages and regular messages.

@wayangalihpratama wayangalihpratama self-assigned this Oct 29, 2024
@wayangalihpratama wayangalihpratama marked this pull request as draft October 29, 2024 02:39
@wayangalihpratama wayangalihpratama marked this pull request as ready for review October 30, 2024 06:10
@wayangalihpratama wayangalihpratama marked this pull request as draft October 30, 2024 06:12
@wayangalihpratama wayangalihpratama marked this pull request as ready for review October 30, 2024 09:20
@dedenbangkit dedenbangkit merged commit abbd347 into master Nov 1, 2024
2 checks passed
@dedenbangkit dedenbangkit deleted the feature/126-allow-user-to-broadcast-message branch November 1, 2024 07:35
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.

[ENG-163] Allow extension officer (user) to broadcast messages
2 participants