@@ -195,9 +198,9 @@ export default function CoachingSessionsPage() {
className="w-[260px] text-sm"
side="left"
>
- Notes refreshing is currently a manual process. To view
- changes made by someone else in this session, before making
- any new Notes changes yourself, click this button.
+ To view changes to the Notes made by someone else during this
+ session, before making any new changes yourself, click this
+ button.
diff --git a/src/components/ui/main-nav-menu.tsx b/src/components/ui/main-nav-menu.tsx
index b03b5a8..aa36812 100644
--- a/src/components/ui/main-nav-menu.tsx
+++ b/src/components/ui/main-nav-menu.tsx
@@ -28,7 +28,6 @@ import { current, future, past } from "../../data/presets";
import { ChevronDownIcon } from "@radix-ui/react-icons";
-import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";
import {
Card,
CardContent,
@@ -50,6 +49,7 @@ import {
PopoverTrigger,
} from "@/components/ui/popover";
import { useAppStateStore } from "@/lib/providers/app-state-store-provider";
+import { siteConfig } from "@/site.config";
export function MainNavMenu() {
const [open, setIsOpen] = React.useState(false);
@@ -62,8 +62,9 @@ export function MainNavMenu() {
- {/* FIXME: Replace "Refactor" with something from siteConfig or something else */}
- {organization.name.length > 0 ? organization.name : "Refactor"}
+ {organization.name.length > 0
+ ? organization.name
+ : siteConfig.name}
@@ -72,20 +73,23 @@ export function MainNavMenu() {
-
+
-
-
-
-
-
- The model which will generate the completion. Some models are suitable
- for natural language tasks, others specialize in code. Learn more.
-
-
-
-
-
-
-
-
-
-
- )
-}
-
-interface ModelItemProps {
- model: Model
- isSelected: boolean
- onSelect: () => void
- onPeek: (model: Model) => void
-}
-
-function ModelItem({ model, isSelected, onSelect, onPeek }: ModelItemProps) {
- const ref = React.useRef(null)
-
- useMutationObserver(ref, (mutations) => {
- for (const mutation of mutations) {
- if (mutation.type === "attributes") {
- if (mutation.attributeName === "aria-selected") {
- onPeek(model)
- }
- }
- }
- })
-
- return (
-
- {model.name}
-
-
- )
-}
\ No newline at end of file
diff --git a/src/components/ui/site-header.tsx b/src/components/ui/site-header.tsx
index 76bb107..1e97c57 100644
--- a/src/components/ui/site-header.tsx
+++ b/src/components/ui/site-header.tsx
@@ -1,10 +1,10 @@
"use client";
-import { CommandMenu } from "@/components/ui/command-menu"
-import { MainNav } from "@/components/ui/main-nav"
-import { MobileNav } from "@/components/ui/mobile-nav"
-import { ModeToggle } from "@/components/ui/mode-toggle"
-import { UserNav } from "@/components/ui/user-nav"
+import { CommandMenu } from "@/components/ui/command-menu";
+import { MainNav } from "@/components/ui/main-nav";
+import { MobileNav } from "@/components/ui/mobile-nav";
+import { ModeToggle } from "@/components/ui/mode-toggle";
+import { UserNav } from "@/components/ui/user-nav";
// import { useRouter } from 'next/navigation'
// import { useAuthStore } from "@/lib/providers/auth-store-provider";
@@ -19,7 +19,7 @@ export function SiteHeader() {
return (
-
+
@@ -29,20 +29,20 @@ export function SiteHeader() {
- )
-}
\ No newline at end of file
+ );
+}
diff --git a/src/components/ui/temperature-selector.tsx b/src/components/ui/temperature-selector.tsx
deleted file mode 100644
index b2d75bc..0000000
--- a/src/components/ui/temperature-selector.tsx
+++ /dev/null
@@ -1,57 +0,0 @@
-"use client"
-
-import * as React from "react"
-import { SliderProps } from "@radix-ui/react-slider"
-
-import {
- HoverCard,
- HoverCardContent,
- HoverCardTrigger,
-} from "@/components/ui/hover-card"
-import { Label } from "@/components/ui/label"
-import { Slider } from "@/components/ui/slider"
-
-interface TemperatureSelectorProps {
- defaultValue: SliderProps["defaultValue"]
-}
-
-export function TemperatureSelector({
- defaultValue,
-}: TemperatureSelectorProps) {
- const [value, setValue] = React.useState(defaultValue)
-
- return (
-
-
-
-
-
-
-
- {value}
-
-
-
-
-
-
- Controls randomness: lowering results in less random completions. As
- the temperature approaches zero, the model will become deterministic
- and repetitive.
-
-
-