refactor(frontend): remove v1 settings query gates - #214
Draft
saurya wants to merge 2 commits into
Draft
Conversation
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: openhands <openhands@all-hands.dev>
6 tasks
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.
HUMAN:
AGENT:
OpenHands
Why
All new conversations use V1, but conversation hooks and provisioning start-task queries were still disabled by the legacy
v1_enabledsetting. An explicit false value could therefore hide V1 state for conversations that were created through V1.Summary
v1_enabled.Issue Number
N/A
How to Test
cd frontend && npm test -- __tests__/hooks/query/use-conversation-hooks.test.tsx __tests__/hooks/query/use-start-tasks.test.tsxcd frontend && npm run lintcd frontend && npm run buildpre-commit run --config ./dev_config/python/.pre-commit-config.yamlVideo/Screenshots
Not included; this changes query gating without changing rendered layout.
Type
Notes
Stacked on #213. OpenHands/OpenHands (Agent Canvas) already has no
v1_enableddependency in the equivalent hooks, so no Canvas PR is required.This PR was created by an AI agent (OpenHands) on behalf of the user.
Enterprise server image for this PR: