← Tasks

Focus: New project alerts

Display a dismissible alert on Focus when a new project is created in the workspace.

NB. The alert is only shown if you didn’t create the project. i.e. Show one alert for every project where you haven’t already marked it as seen.

Thoughts on DB structure - I don’t want to support a general purpose ‘notifications’ system, therefore we can simply populate a many-to-many new_projects table with user_id <-> project_id for all workspace members, and delete each entry when marked seen by the user. This approach has the advantage of automatically cleaning itself up if the project is deleted.

Edit. This feature will also allow us to remove the ‘new project’ email. Hurrah! In general, we want to remove all ‘notification’ style emails and replace them with Focus features.

Steps

  1. Backend: Migration/schema/context
  2. Backend: Remove new project email
  3. Backend: Route (mark seen)
  4. Frontend: Display alerts
  5. Frontend: Close on click
Status
Done
Assignee
T
tyro
Due Not set
Following
T
Follow You're not tracking this item.