Hide prompt management features when disabled#2318
Open
andresgutgon wants to merge 1 commit intomainfrom
Open
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Conditionally hide and redirect from prompt management features when
promptManagerEnabledis false for a workspace.When prompt management is disabled:
The project redirect logic now uses a simplified product flag (true when either
agentBuilderorpromptManagementis disabled) to redirect users to the Issues page instead of Home or document pages.Made with Cursor
TODO