Put in order · Vibe coding with Claude Code course · Module 8: Slack clone

Sorting: From a mention to a badge

Anne sends "@redbeard, the barrels are ready". Order what happens:

Items to put in order

  • An AppNotification is created for Redbeard
  • recipientsFor skips the author and people without access to the channel
  • parseMentions finds the mention @redbeard
  • sendMessage saves the message on the server
  • Redbeard's sidebar shows a badge 1 next to Activity

You can check the correct answer by solving this task in the CodeWorlds game.