Skip to content

Hide prompt management features when disabled#2318

Open
andresgutgon wants to merge 1 commit intomainfrom
hide-prompt-manager-features
Open

Hide prompt management features when disabled#2318
andresgutgon wants to merge 1 commit intomainfrom
hide-prompt-manager-features

Conversation

@andresgutgon
Copy link
Contributor

@andresgutgon andresgutgon commented Feb 17, 2026

Summary

Conditionally hide and redirect from prompt management features when promptManagerEnabled is false for a workspace.

When prompt management is disabled:

  • Editor, Experiments, and Optimizations pages redirect to the Traces page
  • History page redirects to the project root
  • Document tabs show only Traces and Evaluations
  • History link is hidden from the project sidebar

The project redirect logic now uses a simplified product flag (true when either agentBuilder or promptManagement is disabled) to redirect users to the Issues page instead of Home or document pages.

Made with Cursor

TODO

  • Evaluations review
  • Live version created when project created
  • Finish sidebar

Conditionally hide and redirect from prompt management features when
promptManagerEnabled is false for a workspace.

Features hidden:
- Editor tab and page (redirects to traces)
- Experiments tab and page (redirects to traces)
- Optimizations tab and page (redirects to traces)
- History link in project sidebar (redirects to project root)

Document tabs show only Traces and Evaluations when prompt management
is disabled.

Project redirect logic uses simplified product flag (true when either
agentBuilder or promptManagement is disabled) to redirect to issues
instead of home/documents.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Inbox

Development

Successfully merging this pull request may close these issues.

1 participant