DEV: Add new bookmarks:changed app event (PR #14674)

This new app event will fire whenever a bookmark is created, edited, or deleted for a post or topic, and replaces these old app events which had inconsistent APIs:

  • page:bookmark-post-toggled
  • topic:bookmark-toggled

When the event is triggered, the arguments are in this order:

  1. bookmark - The bookmark record created or changed. Will be null if the bookmark was deleted.
  2. target - Object with target (post or topic) and targetId (post ID or topic ID)

GitHub

attatched ? is that a typo?

Besides the typo, LGTM :+1:

Wow it certainly is :sweat: Guess I need to enable spell check in vim for more than just markdown files.