link to /chat, not /config

This commit is contained in:
Nate 2024-10-24 15:39:36 -07:00
parent adf09fb5e3
commit fce15b915e

View file

@ -5,15 +5,15 @@ import {
} from "@heroicons/react/24/outline";
import { useContext } from "react";
import { useSelector } from "react-redux";
import { useLocation, useNavigate, useResolvedPath } from "react-router-dom";
import { useLocation, useNavigate } from "react-router-dom";
import { IdeMessengerContext } from "../context/IdeMessenger";
import { defaultModelSelector } from "../redux/selectors/modelSelectors";
import { RootState } from "../redux/store";
import { FREE_TRIAL_LIMIT_REQUESTS } from "../util/freeTrial";
import { ROUTES } from "../util/navigation";
import ButtonWithTooltip from "./ButtonWithTooltip";
import FreeTrialProgressBar from "./loaders/FreeTrialProgressBar";
import ProfileSwitcher from "./ProfileSwitcher";
import { ROUTES } from "../util/navigation";
function Footer() {
const navigate = useNavigate();
@ -41,14 +41,14 @@ function Footer() {
} else {
ideMessenger.post(
"openUrl",
`http://app.continue.dev/workspaces/${selectedProfileId}/config`,
`http://app.continue.dev/workspaces/${selectedProfileId}/chat`,
);
}
}
return (
<footer className="flex justify-between items-center overflow-hidden p-2 h-7 border-0 border-t border-solid border-t-zinc-700">
<div className="flex gap-2 max-w-[40vw]">
<footer className="flex h-7 items-center justify-between overflow-hidden border-0 border-t border-solid border-t-zinc-700 p-2">
<div className="flex max-w-[40vw] gap-2">
<ProfileSwitcher />
{defaultModel?.provider === "free-trial" && (
<FreeTrialProgressBar
@ -65,7 +65,7 @@ function Footer() {
text="Config error"
onClick={onClickError}
>
<ExclamationTriangleIcon className="w-4 h-4" />
<ExclamationTriangleIcon className="h-4 w-4" />
</ButtonWithTooltip>
)}
@ -74,7 +74,7 @@ function Footer() {
text="More"
onClick={onClickMore}
>
<EllipsisHorizontalCircleIcon className="w-4 h-4" />
<EllipsisHorizontalCircleIcon className="h-4 w-4" />
</ButtonWithTooltip>
<ButtonWithTooltip
@ -82,7 +82,7 @@ function Footer() {
onClick={onClickSettings}
text="Configure Continue"
>
<Cog6ToothIcon className="w-4 h-4" />
<Cog6ToothIcon className="h-4 w-4" />
</ButtonWithTooltip>
</div>
</footer>