Skip to content
Open
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
2 changes: 1 addition & 1 deletion frontend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ openapi.json
/playwright-report/
/blob-report/
/playwright/.cache/
/playwright/.auth/
/playwright/.auth/
42 changes: 35 additions & 7 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 10 additions & 2 deletions frontend/src/components/Common/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,17 @@ import { FaGithub, FaLinkedinIn } from "react-icons/fa"
import { FaXTwitter } from "react-icons/fa6"

const socialLinks = [
{ icon: FaGithub, href: "https://github.com/fastapi/fastapi", label: "GitHub" },
{
icon: FaGithub,
href: "https://github.com/fastapi/fastapi",
label: "GitHub",
},
{ icon: FaXTwitter, href: "https://x.com/fastapi", label: "X" },
{ icon: FaLinkedinIn, href: "https://linkedin.com/company/fastapi", label: "LinkedIn" },
{
icon: FaLinkedinIn,
href: "https://linkedin.com/company/fastapi",
label: "LinkedIn",
},
]

export function Footer() {
Expand Down
1 change: 0 additions & 1 deletion frontend/src/components/ui/loading-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,3 @@ function LoadingButton({
}

export { buttonVariants, LoadingButton }

1 change: 0 additions & 1 deletion frontend/src/routes/login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ function Login() {
loginMutation.mutate(data)
}


return (
<AuthLayout>
<Form {...form}>
Expand Down
4 changes: 1 addition & 3 deletions frontend/tests/user-settings.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,7 @@ test("Appearance button is visible in sidebar", async ({ page }) => {
await expect(page.getByTestId("theme-button")).toBeVisible()
})

test("User can switch between theme modes", async ({
page,
}) => {
test("User can switch between theme modes", async ({ page }) => {
await page.goto("/settings")

await page.getByTestId("theme-button").click()
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate-client.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ python -c "import app.main; import json; print(json.dumps(app.main.app.openapi()
cd ..
mv openapi.json frontend/
cd frontend
npm run generate-client
npm run generate-client
Loading