extract Text from gmail import, darkmode updates, auto update app versions etc
This commit is contained in:
@@ -74,6 +74,10 @@ export default function KanbanBoard() {
|
||||
setJobs((prev) => prev.map((j) => (j.id === id ? { ...j, status } : j)));
|
||||
};
|
||||
|
||||
const currentMenuStatus = menuJobId == null
|
||||
? null
|
||||
: normalizeStatus(jobs.find((j) => j.id === menuJobId)?.status ?? "");
|
||||
|
||||
return (
|
||||
<Box sx={{ mt: 2 }}>
|
||||
<Typography variant="body2" sx={{ color: "text.secondary", mb: 1 }}>
|
||||
@@ -105,7 +109,7 @@ export default function KanbanBoard() {
|
||||
}}
|
||||
>
|
||||
<Box sx={{ display: "flex", justifyContent: "space-between", alignItems: "center", mb: 1 }}>
|
||||
<Typography variant="subtitle1" sx={{ fontWeight: 800 }}>
|
||||
<Typography variant="subtitle1" sx={{ fontWeight: 800, color: theme.palette.mode === "dark" ? "#f8fafc" : "inherit" }}>
|
||||
{status}
|
||||
</Typography>
|
||||
<Chip
|
||||
@@ -182,7 +186,9 @@ export default function KanbanBoard() {
|
||||
setMenuJobId(null);
|
||||
}}
|
||||
>
|
||||
{(["Waiting", "Rejected", "Ghosted"] as const).map((s) => (
|
||||
{(["Applied", "Waiting", "Interview", "Offer", "Rejected", "Ghosted"] as const)
|
||||
.filter((s) => s !== currentMenuStatus)
|
||||
.map((s) => (
|
||||
<MenuItem
|
||||
key={s}
|
||||
onClick={() => {
|
||||
|
||||
@@ -20,6 +20,8 @@ type SystemStatus = {
|
||||
environment: string;
|
||||
contentRoot: string;
|
||||
version: string;
|
||||
commitSha?: string | null;
|
||||
buildStamp?: string | null;
|
||||
storage: {
|
||||
dataRoot: string;
|
||||
dbPath: string;
|
||||
@@ -89,6 +91,8 @@ export default function AdminSystemPage() {
|
||||
<Typography variant="overline" sx={{ color: "text.secondary" }}>Environment</Typography>
|
||||
<Typography variant="h5" sx={{ fontWeight: 950 }}>{status?.environment ?? "-"}</Typography>
|
||||
<Typography variant="body2" sx={{ color: "text.secondary", mt: 1 }}>Version {status?.version ?? "-"}</Typography>
|
||||
{status?.commitSha ? <Typography variant="body2" sx={{ color: "text.secondary" }}>Commit {status.commitSha}</Typography> : null}
|
||||
{status?.buildStamp ? <Typography variant="body2" sx={{ color: "text.secondary" }}>{status.buildStamp}</Typography> : null}
|
||||
</Paper>
|
||||
<Paper sx={{ p: 2 }}>
|
||||
<Typography variant="overline" sx={{ color: "text.secondary" }}>Database</Typography>
|
||||
|
||||
Reference in New Issue
Block a user