Skip to content

Conversation

@MananGandhi1810
Copy link

PR Description

When changing the request mode from HTTP to AI or GraphQL, if the TabBar Index is set to an index higher than the available tabs in the next mode, the app triggers an error. Attaching a video demo of the same. This PR fixes that error and sets the tabbar to index 0 if it overflows. For GraphQL, the tab on index 3 was also being ignored, hence fixed it as well.

Screen.Recording.2025-11-27.at.7.30.49.PM.mov

Related Issues

None

Checklist

  • I have gone through the contributing guide
  • I have updated my branch and synced it with project main branch before making this PR
  • I am using the latest Flutter stable branch (run flutter upgrade and verify)
  • I have run the tests (flutter test) and all tests are passing

Added/updated tests?

We encourage you to add relevant test cases.

  • Yes
  • No, and this is why: Tests are not needed

OS on which you have developed and tested the feature?

  • Windows
  • macOS
  • Linux

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.

1 participant