Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/frontend/.npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
engine-strict=true
fund=false
legacy-peer-deps=true
1,450 changes: 788 additions & 662 deletions app/frontend/package-lock.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions app/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@
"dependencies": {
"@azure/msal-browser": "^4.16.0",
"@azure/msal-react": "^3.0.16",
"@fluentui/react": "^8.112.5",
"@fluentui/react-components": "^9.56.2",
"@fluentui/react": "^8.125.0",
"@fluentui/react-components": "^9.72.4",
"@fluentui/react-icons": "^2.0.265",
"@react-spring/web": "^9.7.5",
"@react-spring/web": "^10.0.3",
"dompurify": "^3.2.4",
"i18next": "^24.2.0",
"i18next-browser-languagedetector": "^8.0.2",
"i18next-http-backend": "^3.0.1",
"idb": "^8.0.0",
"ndjson-readablestream": "^1.2.0",
"react": "^18.3.1",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-helmet-async": "^2.0.5",
"react-i18next": "^15.4.1",
Expand All @@ -38,7 +38,7 @@
"devDependencies": {
"@types/dom-speech-recognition": "^0.0.7",
"@types/dompurify": "^3.0.5",
"@types/react": "^18.3.12",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"@types/react-syntax-highlighter": "^15.5.13",
"@vitejs/plugin-react": "^4.3.3",
Expand Down
2 changes: 1 addition & 1 deletion app/frontend/src/components/HelpCallout/HelpCallout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ interface IHelpCalloutProps {
helpText: string;
}

export const HelpCallout = (props: IHelpCalloutProps): JSX.Element => {
export const HelpCallout = (props: IHelpCalloutProps) => {
const [isCalloutVisible, { toggle: toggleIsCalloutVisible }] = useBoolean(false);
const descriptionId: string = useId("description");
const iconButtonId: string = useId("iconButton");
Expand Down
2 changes: 1 addition & 1 deletion app/frontend/src/pages/NoPage.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function Component(): JSX.Element {
export function Component() {
return <h1>404</h1>;
}

Expand Down
2 changes: 1 addition & 1 deletion app/frontend/src/pages/ask/Ask.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { TokenClaimsDisplay } from "../../components/TokenClaimsDisplay";
import { LoginContext } from "../../loginContext";
import { LanguagePicker } from "../../i18n/LanguagePicker";

export function Component(): JSX.Element {
export function Component() {
const [isConfigPanelOpen, setIsConfigPanelOpen] = useState(false);
const [promptTemplate, setPromptTemplate] = useState<string>("");
const [promptTemplatePrefix, setPromptTemplatePrefix] = useState<string>("");
Expand Down
4 changes: 2 additions & 2 deletions app/frontend/src/pages/layout/Layout.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useState, useEffect, useRef, RefObject } from "react";
import React, { useState, useEffect, useRef } from "react";
import { Outlet, NavLink, Link } from "react-router-dom";
import { useTranslation } from "react-i18next";
import styles from "./Layout.module.css";
Expand All @@ -11,7 +11,7 @@ import { IconButton } from "@fluentui/react";
const Layout = () => {
const { t } = useTranslation();
const [menuOpen, setMenuOpen] = useState(false);
const menuRef: RefObject<HTMLDivElement> = useRef(null);
const menuRef = useRef<HTMLDivElement>(null);

const toggleMenu = () => {
setMenuOpen(!menuOpen);
Expand Down