Skip to content

DOC-1907: Add Paginate Messages page#1673

Open
micheleRP wants to merge 3 commits intomainfrom
DOC-1907-paginate-messages-events
Open

DOC-1907: Add Paginate Messages page#1673
micheleRP wants to merge 3 commits intomainfrom
DOC-1907-paginate-messages-events

Conversation

@micheleRP
Copy link
Copy Markdown
Contributor

@micheleRP micheleRP commented Apr 16, 2026

Resolves https://redpandadata.atlassian.net/browse/DOC-1907

Description

Documents Redpanda Console's unlimited pagination feature (ENG-971), which lets users retrieve more than 500 messages when browsing topic messages.

  • Adds modules/console/pages/ui/paginate-messages-events.adoc as the single-source page (wrapped in // tag::single-source[] tags so cloud-docs can include it)
  • Adds nav entry under Develop > Consume Data
  • Updates the Console overview "Message inspection" bullet to xref the new page

Preview pages

Dependencies

Before merge

  • Revert docs playbook: Revert local-antora-playbook.yml so the cloud-docs source points back to 'main' instead of 'DOC-1907-paginate-messages-events'
  • Ensure companion cloud-docs PR merges after this one

Checks

  • New feature
  • Content gap
  • Support Follow-up
  • Small fix (typos, links, copyedits, etc)

micheleRP and others added 2 commits April 16, 2026 16:50
Document Redpanda Console unlimited pagination for browsing topic
messages and Redpanda Connect pipeline events. Uses single-source
pattern with ifdef::env-cloud[] conditional xrefs so the page renders
correctly in both the Self-Managed and Cloud docs sites.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Must be reverted before merge. Allows the cloud-docs stub page at
modules/develop/pages/consume-data/paginate-messages-events.adoc to
resolve against this docs PR branch when rendering the cloud-docs
deploy preview.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@micheleRP micheleRP requested a review from a team as a code owner April 16, 2026 22:57
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 16, 2026

Deploy Preview for redpanda-docs-preview ready!

Name Link
🔨 Latest commit 74668a2
🔍 Latest deploy log https://app.netlify.com/projects/redpanda-docs-preview/deploys/69e95ea1142e2400082bb138
😎 Deploy Preview https://deploy-preview-1673--redpanda-docs-preview.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.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 16, 2026

📝 Walkthrough

Walkthrough

This PR modifies documentation and configuration to introduce a new how-to guide for paginating messages and events in the Redpanda Console UI. The change updates the Antora playbook to fetch content from a different branch of the cloud-docs repository, adds a navigation entry, updates an existing cross-reference, and introduces a new documentation page with step-by-step pagination instructions, conditional environment-specific content, and performance considerations for UI and cluster operations.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Possibly related PRs

Suggested reviewers

  • mattschumpert
  • c4milo
  • JakeSCahill
🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description check ✅ Passed The pull request description is comprehensive and well-structured, covering objectives, changes, preview links, dependencies, and pre-merge checklist items.
Title check ✅ Passed The title 'DOC-1907: Add Paginate Messages page' is directly related to the main change: adding a new documentation page for the pagination feature. It's concise, specific, and accurately reflects the primary addition in the changeset.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch DOC-1907-paginate-messages-events

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

Copy link
Copy Markdown
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: 1

🧹 Nitpick comments (1)
modules/ROOT/nav.adoc (1)

52-52: Consider using empty brackets for automatic title resolution.

The xref includes hard-coded link text [Paginate Messages and Events]. Per AsciiDoc best practices, prefer using empty brackets [] to automatically pull the title from the target document.

However, I notice that many other navigation entries in this file also use custom link text (e.g., lines 50-51), likely for brevity in the navigation menu. If custom text is intentional for UX purposes, this is acceptable.

♻️ Proposed change to use automatic title resolution
-*** xref:console:ui/paginate-messages-events.adoc[Paginate Messages and Events]
+*** xref:console:ui/paginate-messages-events.adoc[]

Based on learnings: prefer using xref links with empty brackets (e.g., xref:section/target.adoc[]) because the title is pulled from the referenced document automatically.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@modules/ROOT/nav.adoc` at line 52, Replace the hard-coded xref link text in
the nav entry "xref:console:ui/paginate-messages-events.adoc[Paginate Messages
and Events]" with empty brackets to enable automatic title resolution (change to
xref:console:ui/paginate-messages-events.adoc[]); if the custom short label was
intentional for navigation UX, leave it as-is but otherwise use the [] form
consistently with other entries.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@local-antora-playbook.yml`:
- Line 21: The playbook currently sets the Antora source branch to the feature
branch via the YAML key `branches: 'DOC-1907-paginate-messages-events'`; update
that `branches` value to `main` in local-antora-playbook.yml (replace the string
assigned to the `branches` key) so the `cloud-docs` source points back to the
main branch before merging.

---

Nitpick comments:
In `@modules/ROOT/nav.adoc`:
- Line 52: Replace the hard-coded xref link text in the nav entry
"xref:console:ui/paginate-messages-events.adoc[Paginate Messages and Events]"
with empty brackets to enable automatic title resolution (change to
xref:console:ui/paginate-messages-events.adoc[]); if the custom short label was
intentional for navigation UX, leave it as-is but otherwise use the [] form
consistently with other entries.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: f4c4f4a4-0e4a-4ee5-a781-4fa3727e0967

📥 Commits

Reviewing files that changed from the base of the PR and between de08b45 and 301daf5.

📒 Files selected for processing (4)
  • local-antora-playbook.yml
  • modules/ROOT/nav.adoc
  • modules/console/pages/index.adoc
  • modules/console/pages/ui/paginate-messages-events.adoc

Comment thread local-antora-playbook.yml
branches: [v/*, shared, site-search,'!v-end-of-life/*']
- url: https://github.com/redpanda-data/cloud-docs
branches: 'main'
branches: 'DOC-1907-paginate-messages-events'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Verify cloud-docs branch reference is set to 'main'

# Check the cloud-docs branch configuration
grep -A1 "url: https://github.com/redpanda-data/cloud-docs" local-antora-playbook.yml | grep "branches:"

Repository: redpanda-data/docs

Length of output: 111


Revert cloud-docs branch reference to main before merging.

The cloud-docs source is currently pointing to the feature branch DOC-1907-paginate-messages-events (set for Netlify preview). Line 21 of local-antora-playbook.yml must be updated to branches: main as indicated in the PR checklist before this PR can be merged.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@local-antora-playbook.yml` at line 21, The playbook currently sets the Antora
source branch to the feature branch via the YAML key `branches:
'DOC-1907-paginate-messages-events'`; update that `branches` value to `main` in
local-antora-playbook.yml (replace the string assigned to the `branches` key) so
the `cloud-docs` source points back to the main branch before merging.

@micheleRP micheleRP requested a review from c-julin April 16, 2026 23:14

== Paginate topic messages

When you browse a topic in {ui}, the *Messages* tab returns an initial batch of records. To retrieve additional records beyond this batch:
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

On this one, i think the behaviours aren't matching, the retrieval of more than 500 messages we only applied to messages, pipeline events got a different experience if im not wrong.

To browse a topic past 500 we have a toggle on the UI called continuous pagination. Toggling this allows users to keep paginating

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks @c-julin! I'll narrow this page to topic messages only. I don’t see the continuation pagination toggle. Could you share either a link to a cluster where it's visible or a screenshot of it? I'm assuming it only appears once a topic has more than 500 messages?

Pipeline-events pagination is covered in a separate PR, so remove the
pipeline-events section, trim the intro/description/performance bullet,
and switch the nav entry to empty brackets per CodeRabbit nitpick. The
topic-messages section body is unchanged pending reviewer clarification
on the continuous pagination toggle.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@micheleRP micheleRP changed the title DOC-1907: Add Paginate Messages and Pipeline Events page DOC-1907: Add Paginate Messages page Apr 22, 2026
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