Skip to content

docs: new ai reviewer page - #345

Merged
Marshevskyy merged 6 commits into
mainfrom
chore/ai-reviewer-page
Jul 29, 2026
Merged

docs: new ai reviewer page#345
Marshevskyy merged 6 commits into
mainfrom
chore/ai-reviewer-page

Conversation

@Marshevskyy

@Marshevskyy Marshevskyy commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

What/Why/How?

Added new AI Reviewer page

Reference

Testing

Screenshots (optional)

image

<>

image

Check yourself

  • Code is linted
  • Tested
  • All new/updated code is covered with tests

Security

  • Security impact of change has been considered
  • Code follows company security practices and guidelines

@Marshevskyy
Marshevskyy requested a review from a team as a code owner July 22, 2026 16:14

@redocly redocly Bot left a comment

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.

marketing-site AI Review: 🟢 Completed

Reunite Agent has reviewed your changes and found 5 potential issue(s).

Note

Low Risk

This PR introduces updates to the documentation/marketing site by adding a new page and refactoring the navigation menus. The changes are primarily localized to the UI presentation and page configuration, posing a low risk to core systems.

Overview

Adds a new "AI Reviewer" page and highlights it in the main navigation dropdown under a newly introduced "Agents" category.

  • Bumps @redocly/marketing-pages and @redocly/realm dependencies.
  • Refactors ProductsMenu and NavbarItem components to dynamically parse and group navigation items based on configuration separators (e.g., Products, Open Source, Agents) rather than relying on hardcoded array indices.
  • Introduces a <NewTag> badge component to visually highlight the new "Reviewer" tool in the navigation.
  • Adds the necessary SVG icon and CSS variables to support the new reviewer hover styles and UI tags.

Comment thread redocly.yaml Outdated
margin-top: 8px;
padding-top: 8px;
border-top: 1px solid var(--dropdown-list-border-color);
`;

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.

Severity: Medium

AiToolsSection is defined as a div but directly contains DropdownListItem components, which are li elements. To ensure valid HTML and maintain accessibility, AiToolsSection should be defined as a ul (e.g., styled.ul) with reset list-styles.

@Marshevskyy
Marshevskyy force-pushed the chore/ai-reviewer-page branch from 9f8478c to 4f4f3b7 Compare July 22, 2026 16:37
Comment thread @theme/components/Menu/ProductsMenu.tsx Outdated
'API reference and mock server',
'Internal service catalog',
'API monitoring',
'Reads pull requests, leaves expert feedback',

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.

Severity: High

The hardcoded descriptions loop incorrectly assigns the Reviewer description to the Open Source separator. Additionally, getProducts and getOpenSourceTools assume exactly two separators, causing Open Source items to render under Products and Reviewer under Open Source.

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.

Fixed

@Marshevskyy
Marshevskyy merged commit a075f5b into main Jul 29, 2026
5 of 7 checks passed
@Marshevskyy
Marshevskyy deleted the chore/ai-reviewer-page branch July 29, 2026 16:02
Comment thread redocly.yaml
- separator: Agents
- label: Reviewer
page: ./pages/ai-reviewer/ai-reviewer.page.tsx
icon: ./images/icons/ai-reviewer.svg

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.

Severity: Medium

The 'Agents' separator and 'Reviewer' item added here will not be visible in the mobile drilldown menu because ProductsMenu.tsx currently only extracts and renders the 'Products' and 'Open Source' sections.

const openSourceTools = getOpenSourceTools(items);

const products = getSectionItems(items, 'Products');
const openSourceTools = getSectionItems(items, 'Open Source');

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.

Severity: Medium

The getSectionItems refactoring is correct, but it isn't called for the new 'Agents' separator, leaving 'Reviewer' omitted from the mobile menu. Please fetch and render the 'Agents' section, and ensure its description is mapped correctly.

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.

3 participants