Messages page: Add "Message Type" to Previous Messages table
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 12
- Forks
- 21
- Avg merge
- 5d 19h
- Merged PRs (30d)
- 5
Description
Summary
It would be helpful to display the message type (recipients filter that was used) alongside the other message info in the "Previous Messages" table.
To do
- Add message type to the
Messageclass inaccounts/models(default tonullsince we don't have that info for existing messages in the DB). - Save the message type (recipients filter that was selected) to the database when a new message is created.
- Set a message type for announcement emails (and any other automated messages, if appropriate).
- Add a "Message Type" column to the "Previous Messages" table on the "Message Participants" page.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in accounts/models by tracing the Message class and the code that creates new messages, then follow the Message Participants page to its Previous Messages table. Confirm how announcement and other automated messages are created. Done means new messages persist a message type, existing records remain null, and the table displays a Message Type column.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend, database, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100