Skip to content

fix(menu): show Agent Center in the AEO/GEO & Audit, Developers and Analytics work areas - #1947

Merged
gkhngyk merged 3 commits into
ansvisor:mainfrom
cihan-gyk:fix/agent-center-menu-aeo-developers
Nov 1, 2026
Merged

gkhngyk merged 3 commits into
ansvisor:mainfrom
cihan-gyk:fix/agent-center-menu-aeo-developers

Conversation

@cihan-gyk

Copy link
Copy Markdown
Collaborator

Summary

Agent Center was only in the six work areas that have Chat (#1899), so people who picked AEO/GEO & Audit, Developers or Analytics lost it from their menu. The three areas now keep it, right after Action Center and without Chat. The product owner approved this on 2026-11-01. Chat stays out of these areas. No migration.

What changes

  • WORK_AREAS in web/src/lib/menu-access.ts (code, not the database): agents joins aeo, developers and analytics, right after action-center. Every work area now has Agent Center.
  • Everything that reads the mapping follows:
    • the left menu;
    • Settings › Account › Your work areas;
    • Settings › Menu access's ready-made sets;
    • the "What do you work on?" step in onboarding and on the welcome page.
  • Agent Center still shows only with the new Chat on.
  • Tests: the rule is now "right after Chat where the area has Chat, else right after Action Center". No work area leaves Agent Center off any more, so the tests that used one now check an Agent Center the admin hid.
  • Help: help/settings/work-areas.md and help/settings/menu-access.md (both approved: false), plus the table in docs/guides/menu-access.mdx.

Related issue

None. Agents plan §8, after Agent Center PR A (#1899).

Type of change

  • feat — New feature
  • fix — Bug fix
  • chore — Maintenance / dependencies
  • docs — Documentation only
  • refactor — Code change that neither fixes a bug nor adds a feature
  • test — Adding or updating tests

How to test

  1. With CHAT_AGENTIC=true, open Settings › Account › Your work areas.
  2. Pick AEO/GEO & Audit. Agent Center stays on the menu, and Chat says "Not in your work areas". Do the same with Analytics.
  3. In onboarding, the Developers card starts "Action Center · Agent Center · …".
  4. Unit tests: menu-access (lib and actions), work-areas-card, work-areas-step and help.

Checked in the browser at 1024px, light and dark: AEO/GEO & Audit with Agent Center on and Chat off. The owner approved the screens.

Checklist

  • Branch follows the naming convention
  • Commits follow Conventional Commits
  • yarn lint passes (0 errors; 7 old warnings in files this PR doesn't touch)
  • yarn typecheck passes
  • yarn format:check passes
  • Changes are focused — one concern per PR
  • Help article updated under help/ (or no user-visible change)

CI passed on this branch (324539d), run on the fork (https://github.com/cihan-gyk/ansvisor/actions/runs/41332910562): schema is up to date; web format:check, lint, typecheck, all tests and yarn build pass; server lint, format:check and all tests pass.

🤖 Generated with Claude Code

cihan-gyk and others added 3 commits November 1, 2026 18:46
…rk areas

Agent Center was only in the six work areas that have Chat (ansvisor#1899), so
people who picked AEO/GEO & Audit or Developers lost it from their menu.
Both areas now keep it, right after Action Center, without Chat: the
product owner approved them on 2026-11-01. Chat stays out of them.

The mapping is code (WORK_AREAS in menu-access.ts), not the database:
no migration. Everything reading it follows: the left menu, Settings ›
Account › Your work areas, Settings › Menu access's ready-made sets, and
the "What do you work on?" step in onboarding and on the welcome page.
Agent Center still shows only with the new Chat on.

Tests: the rule is now "after Chat wherever Chat is; AEO/GEO & Audit and
Developers without Chat"; the area with neither is Analytics. Help: work
areas and menu access articles, and the menu access guide's table.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The product owner asked (2026-11-01) for Agent Center in Analytics as
well, right after Action Center and without Chat, as AEO/GEO & Audit and
Developers have it. Every work area now has Agent Center, so the tests
that relied on an area without it check an admin-hidden Agent Center
instead. Help (work areas, menu access) and the menu access guide's table
follow.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@mintlify

mintlify Bot commented Nov 1, 2026

Copy link
Copy Markdown

Preview approval required

This pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit 324539d.

Approve preview

@gkhngyk gkhngyk 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.

LGTM

@gkhngyk gkhngyk 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.

LGTM

@gkhngyk
gkhngyk merged commit 90878ff into ansvisor:main Nov 1, 2026
7 checks passed
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