lookit / lookit/lookit-api

Messages page: Add "Message Type" to Previous Messages table

Open
#1,511 0 comments 0 reactions 0 assignees View on GitHub

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 Message class in accounts/models (default to null since 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.

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.