fix(ui): reorder issue columns — labels + updated before author, responsive audit
This commit is contained in:
parent
58014b286d
commit
1f94bfab8d
|
|
@ -53,7 +53,7 @@ export default function ForgejoRepositoriesPage() {
|
||||||
if (auth.isSignedIn) {
|
if (auth.isSignedIn) {
|
||||||
fetchRepositories();
|
fetchRepositories();
|
||||||
}
|
}
|
||||||
}, [auth.isSignedIn, auth.getToken]);
|
}, [auth.isSignedIn]);
|
||||||
|
|
||||||
const repositoryName = (repository: ForgejoRepository) =>
|
const repositoryName = (repository: ForgejoRepository) =>
|
||||||
repository.display_name || `${repository.owner}/${repository.repo}`;
|
repository.display_name || `${repository.owner}/${repository.repo}`;
|
||||||
|
|
|
||||||
|
|
@ -130,15 +130,6 @@ export function ForgejoIssuesTable({
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
|
||||||
accessorKey: "author",
|
|
||||||
header: "Author",
|
|
||||||
cell: ({ row }) => (
|
|
||||||
<span className="block max-w-[160px] truncate text-muted">
|
|
||||||
{row.original.author || "Unknown"}
|
|
||||||
</span>
|
|
||||||
),
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
accessorKey: "labels",
|
accessorKey: "labels",
|
||||||
header: "Labels",
|
header: "Labels",
|
||||||
|
|
@ -161,6 +152,15 @@ export function ForgejoIssuesTable({
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
accessorKey: "author",
|
||||||
|
header: "Author",
|
||||||
|
cell: ({ row }) => (
|
||||||
|
<span className="block max-w-[160px] truncate text-muted">
|
||||||
|
{row.original.author || "Unknown"}
|
||||||
|
</span>
|
||||||
|
),
|
||||||
|
},
|
||||||
{
|
{
|
||||||
accessorKey: "forgejo_updated_at",
|
accessorKey: "forgejo_updated_at",
|
||||||
header: "Updated",
|
header: "Updated",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue