diff --git a/docs/assets/github-plugin-mobile-after.png b/docs/assets/github-plugin-mobile-after.png new file mode 100644 index 000000000..b00c053f6 Binary files /dev/null and b/docs/assets/github-plugin-mobile-after.png differ diff --git a/docs/assets/github-plugin-mobile-before.png b/docs/assets/github-plugin-mobile-before.png new file mode 100644 index 000000000..d3bc6bba2 Binary files /dev/null and b/docs/assets/github-plugin-mobile-before.png differ diff --git a/plugins/github/app.tsx b/plugins/github/app.tsx index 68049cbff..3536fb4c4 100644 --- a/plugins/github/app.tsx +++ b/plugins/github/app.tsx @@ -362,6 +362,28 @@ function ChevronDownIcon() { ); } +function RefreshIcon({ className }: { className?: string }) { + return ( + + ); +} + function stateDotClass(kind: "issue" | "pr", state: string): string { if (state === "OPEN") return "bg-green-500"; if (kind === "pr" && state === "MERGED") return "bg-purple-500"; @@ -779,11 +801,11 @@ function FilterBar({ // Shared column widths so the header row lines up with item rows. const COL = { - id: "w-12 shrink-0", + id: "shrink-0 sm:w-12", assignee: "hidden w-28 shrink-0 lg:block", - status: "w-28 shrink-0", + status: "shrink-0 sm:w-28", updated: "hidden w-16 shrink-0 text-right md:block", - actions: "flex w-32 shrink-0 items-center justify-end gap-1", + actions: "ml-auto flex shrink-0 items-center justify-end gap-1 sm:ml-0 sm:w-32", } as const; function AssigneeCell({ assignees }: { assignees: string[] }) { @@ -920,40 +942,44 @@ function ItemRow({ const busy = spawningKey === `${item.repo}#${item.number}`; return (