Skip to content

Conversation

jainpawan21
Copy link
Member

@jainpawan21 jainpawan21 commented Sep 1, 2025

Summary by CodeRabbit

  • New Features

    • Introduced a “Subscribers and Topics” subsection under Building Workflows.
    • Added an Overview page outlining Subscriber ID, Topic Key, and environment isolation.
    • Included quick links to Subscriber Attributes, Managing Subscribers, Subscriber Preferences, Activity Feed, and Topics.
  • Documentation

    • Expanded navigation to include the new subsection and overview.
    • Added metadata to surface the overview page within the docs.
    • Improved cross-linking via cards for faster discovery of related subscriber and topic resources.

Copy link

linear bot commented Sep 1, 2025

Copy link
Contributor

coderabbitai bot commented Sep 1, 2025

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Walkthrough

Adds a new “Subscribers and Topics” subsection to the docs navigation, introduces its metadata, and creates an overview MDX page with conceptual guidance and next-step cards. No code logic or public APIs are changed.

Changes

Cohort / File(s) Summary
Docs navigation update
`content/docs/platform/meta.json`
Inserts a new section header "---Subscribers and Topics ---" and a page reference "...subscribers-and-topics" after "workflow/tags" and before "---Channels---".
Subscribers and Topics docs scaffold
`content/docs/platform/subscribers-and-topics/meta.json`
Adds metadata specifying the pages array: ["overview"].
Subscribers and Topics overview page
`content/docs/platform/subscribers-and-topics/overview.mdx`
Adds MDX page with front matter, conceptual sections (identifiers, environment isolation), and a “Next steps” card grid linking to related topics.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • Mrk 949 localization #917 — Also updates content/docs/platform/meta.json to adjust navigation around subscribers/topics; likely part of the same documentation area.

Suggested reviewers

  • Aviatorscode2
  • DianaHackmamba

Poem

I hop through docs with gentle paws,
Nesting topics under tidy laws.
Cards aligned, a burrow of links,
Subscribers labeled—no missing kinks.
New paths sprout where carrots grow,
Tap “overview,” and off we go! 🥕🐇

✨ Finishing touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch MRK-1022-subscribers-and-topics

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

netlify bot commented Sep 1, 2025

Deploy Preview for docs-novu ready!

Name Link
🔨 Latest commit f0c3233
🔍 Latest deploy log https://app.netlify.com/projects/docs-novu/deploys/68c349b5d6c73a0008c71da6
😎 Deploy Preview https://deploy-preview-958--docs-novu.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@jainpawan21 jainpawan21 marked this pull request as draft September 1, 2025 12:09
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (4)
content/docs/platform/subscribers-and-topics/overview.mdx (3)

8-11: Tighten wording (minor style).

-Subscribers and topics are the foundation of how Novu delivers notifications at scale. Subscribers represent the individual entities who will receive notifications, while topics provide a way to group multiple subscribers under a shared identifier.
+Subscribers and topics are the foundation of how Novu delivers notifications at scale. Subscribers are the individual recipients of notifications, while topics group multiple subscribers under a shared identifier.
-
-Together, they allow you to deliver notifications both at the individual level and to dynamic groups, ensuring messages are routed and personalized correctly for every recipient.
+Together, they let you deliver notifications to individuals and dynamic groups, ensuring correct routing and personalization for every recipient.

14-17: Clarify/ground “immutability” of topicKey and add a reference link.

If topicKey is strictly immutable in Novu, keep as-is and add a cross-reference; otherwise soften the claim.

-Similarly, each topic is uniquely identified by a `topicKey`, an internal, permanent identifier that cannot be changed after creation. A topic key ensures that groups of subscribers can always be referenced consistently, regardless of how the topic is named or described.
+Similarly, each topic is uniquely identified by a `topicKey`, a stable internal identifier used across APIs. A topic key ensures that groups of subscribers can always be referenced consistently, regardless of how the topic is named or described. See also: [/platform/concepts/topics](/platform/concepts/topics).

18-25: Grammar and clarity: prefer plural “environments” and Oxford comma.

-## Subscribers, topics and environment
+## Subscribers, topics, and environments
@@
-Subscribers and topics are scoped to a specific environment. Novu uses isolated environments, typically Development, Production or Custom environments to separate testing data from live user data.
+Subscribers and topics are scoped to a specific environment. Novu uses isolated environments—typically Development, Production, or custom—to separate test data from live user data. See [/platform/concepts/environments](/platform/concepts/environments) for details.
@@
-This means a subscriber created in the Development environment is a completely separate entity from a subscriber with the same `subscriberId` in the Production environment.
+A subscriber created in Development is completely separate from a subscriber with the same `subscriberId` in Production.
@@
-This isolation is crucial for safe testing, as it prevents accidental notifications from being sent to real users from your development or staging setups. To target a subscriber in a different environment, they must be created within that environment.
+This isolation prevents accidental notifications to real users during testing. To target a subscriber in a different environment, create that subscriber in that environment.
content/docs/platform/meta.json (1)

34-35: Header spacing consistency.

Most headers use no spaces around the dashes (e.g., “---Getting Started---”). Consider aligning:

-"---Subscribers and Topics ---",
+"---Subscribers and Topics---",
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 8e75a3e and c0e3741.

📒 Files selected for processing (3)
  • content/docs/platform/meta.json (1 hunks)
  • content/docs/platform/subscribers-and-topics/meta.json (1 hunks)
  • content/docs/platform/subscribers-and-topics/overview.mdx (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
  • GitHub Check: Redirect rules - docs-novu
  • GitHub Check: Header rules - docs-novu
  • GitHub Check: Pages changed - docs-novu
  • GitHub Check: Build and Lint
🔇 Additional comments (6)
content/docs/platform/subscribers-and-topics/overview.mdx (3)

1-5: Front matter looks good.

Title/description/icon are present and consistent with the rest of the docs.


6-6: Import path is correct. All instances of Card and Cards components import from 'fumadocs-ui/components/card'; there are no imports from 'fumadocs-ui/components/cards'. No changes needed.


28-54: All card targets exist; maintain current title‐case and verb usage

  • Verified href targets under content/docs/platform/subscribers-and-topics resolve correctly.
  • Titles consistently use title-case across docs; do not convert to sentence-case.
  • Descriptions employ varied imperative verbs (Explore, Learn, Understand, View); no uniform change needed.

Likely an incorrect or invalid review comment.

content/docs/platform/subscribers-and-topics/meta.json (1)

1-3: Approve meta.json update: pages includes only "overview", the corresponding overview.mdx file exists, and the JSON is valid.

content/docs/platform/meta.json (2)

35-35: Section wiring verified. The content/docs/platform/subscribers-and-topics/meta.json file exists and is valid JSON.


34-35: Update AI summary to reflect actual insertion point
The new entries appear after "workflow/translations", not after "workflow/tags". Adjust the summary accordingly.

Likely an incorrect or invalid review comment.

Aviatorscode2 and others added 23 commits September 2, 2025 13:42
* Content for the subscriber attributes page

* Add content for subscriber reference

* Update content/docs/platform/subscribers-and-topics/subscriber-attributes.mdx

Co-authored-by: DianaHackmamba <[email protected]>

* Update content/docs/platform/subscribers-and-topics/subscriber-attributes.mdx

Co-authored-by: DianaHackmamba <[email protected]>

* Update content/docs/platform/subscribers-and-topics/subscriber-attributes.mdx

Co-authored-by: DianaHackmamba <[email protected]>

* Update content/docs/platform/subscribers-and-topics/subscriber-attributes.mdx

Co-authored-by: DianaHackmamba <[email protected]>

* Fix changes based on Diana's feedback

---------

Co-authored-by: DianaHackmamba <[email protected]>
Edit the overview page and add image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants