Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: dashboard UI #58

Merged
merged 3 commits into from
Jul 5, 2024
Merged
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 dashboard/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/kernelci.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Kernel CI</title>
<title>Kernel CI Dashboard</title>
</head>
<body>
<div id="root"></div>
Expand Down
2 changes: 1 addition & 1 deletion dashboard/src/components/TopBar/TopBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const TopBar = (): JSX.Element => {
<div className="flex w-2/3 px-6 items-center">
{/* placeholder for search */}
{/* TODO: use i18n for the input placeholder */}
<Input className="w-2/3" type="text" placeholder="Search by tree, branch or tag" />
<Input className="w-2/3 text-black" type="text" placeholder="Search by tree, branch or tag" />
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions dashboard/src/components/TreeListingPage/TreeListingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const TableInfo = ({

const FilterButton = (): JSX.Element => {
return(
<Button variant="outline" className="rounded-full w-[128px] border-black">
<Button variant="outline" className="rounded-full w-[128px] border-black text-black">
<div className="flex flex-row gap-1 items-center">
<FormattedMessage id="global.filters" />
<MdExpandMore />
Expand All @@ -83,7 +83,7 @@ const TreeListingPage = (): JSX.Element => {
name: tree.tree_name ?? '',
branch: tree.git_repository_branch ?? '',
commit: tagCommit,
buildStatus: `${tree.build_status.valid} / ${tree.build_status.total}`,
buildStatus: `${tree.build_status.valid} / ${tree.build_status.invalid}`,
testStatus: `${tree.test_status.fail} / ${tree.test_status.total}`,
})
})
Expand Down
Loading