mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-03-22 13:47:19 +08:00
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:
@@ -493,6 +493,6 @@ describe("RepoConnector", () => {
|
||||
expect(goToSettingsButton).toBeInTheDocument();
|
||||
|
||||
await userEvent.click(goToSettingsButton);
|
||||
await screen.findByTestId("git-settings-screen");
|
||||
await screen.findByTestId("settings-screen");
|
||||
});
|
||||
});
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user