fix: default settings entry point to LLM page instead of Integrations

Home page 'Settings' buttons (ConnectToProviderMessage, task-suggestions)
linked to /settings/integrations. Change to /settings so users land on the
LLM settings page (first nav item in OSS mode).

Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
Graham Neubig
2026-03-20 05:19:22 +09:00
parent 39a846ccc3
commit 2890b8c6ff
3 changed files with 3 additions and 6 deletions

View File

@@ -493,6 +493,6 @@ describe("RepoConnector", () => {
expect(goToSettingsButton).toBeInTheDocument();
await userEvent.click(goToSettingsButton);
await screen.findByTestId("git-settings-screen");
await screen.findByTestId("settings-screen");
});
});

View File

@@ -22,7 +22,7 @@ export function ConnectToProviderMessage() {
</div>
<Link
data-testid="navigate-to-settings-button"
to="/settings/integrations"
to="/settings"
className="self-start w-full"
>
<BrandButton

View File

@@ -85,10 +85,7 @@ export function TaskSuggestions({ filterFor }: TaskSuggestionsProps) {
{t(I18nKey.TASKS$NO_GIT_PROVIDERS_DESCRIPTION)}
</Typography.Text>
<Link
to="/settings/integrations"
className="w-fit hover:underline"
>
<Link to="/settings" className="w-fit hover:underline">
<Typography.Text className="text-xs leading-4 text-[#FAFAFA] font-normal">
{t(I18nKey.TASKS$NO_GIT_PROVIDERS_CTA)}
</Typography.Text>