diff --git a/job-tracker-ui/src/App.tsx b/job-tracker-ui/src/App.tsx index b062b51..acb1347 100644 --- a/job-tracker-ui/src/App.tsx +++ b/job-tracker-ui/src/App.tsx @@ -251,6 +251,3 @@ export default function App() { ); } -vider> - ); -} diff --git a/job-tracker-ui/src/components/AddJobModal.tsx b/job-tracker-ui/src/components/AddJobModal.tsx index c675e9e..18ef049 100644 --- a/job-tracker-ui/src/components/AddJobModal.tsx +++ b/job-tracker-ui/src/components/AddJobModal.tsx @@ -377,11 +377,11 @@ export default function AddJobModal({ open, onClose, onCreated }: Props) { - setDescription(e.target.value)} sx={{ gridColumn: "1 / -1" }} /> - setTranslatedDescription(e.target.value)} sx={{ gridColumn: "1 / -1" }} /> + setDescription(e.target.value)} helperText={`${description.length} characters`} sx={{ gridColumn: "1 / -1" }} /> + setTranslatedDescription(e.target.value)} helperText={`${translatedDescription.length} characters`} sx={{ gridColumn: "1 / -1" }} /> setDescriptionLanguage(e.target.value)} sx={{ gridColumn: "1 / -1" }} /> - setNotes(e.target.value)} sx={{ gridColumn: "1 / -1" }} /> - setCoverLetter(e.target.value)} sx={{ gridColumn: "1 / -1" }} /> + setNotes(e.target.value)} helperText={`${notes.length} characters`} sx={{ gridColumn: "1 / -1" }} /> + setCoverLetter(e.target.value)} helperText={`${coverLetter.length} characters`} sx={{ gridColumn: "1 / -1" }} /> Attachments checklist @@ -410,3 +410,12 @@ export default function AddJobModal({ open, onClose, onCreated }: Props) { ); } +veAndAddAnother ? "Save and continue" : "Add job"} + + + + + + + ); +} diff --git a/job-tracker-ui/src/components/Attachments.tsx b/job-tracker-ui/src/components/Attachments.tsx index e8c3637..b4a645a 100644 --- a/job-tracker-ui/src/components/Attachments.tsx +++ b/job-tracker-ui/src/components/Attachments.tsx @@ -169,7 +169,7 @@ export default function Attachments({ jobId }: { jobId: number }) { - + @@ -253,3 +253,16 @@ export default function Attachments({ jobId }: { jobId: number }) { ); } +ialogActions> + + + + + ); +} diff --git a/job-tracker-ui/src/components/JobDetailsDialog.tsx b/job-tracker-ui/src/components/JobDetailsDialog.tsx index cb58b45..0b3c8a5 100644 --- a/job-tracker-ui/src/components/JobDetailsDialog.tsx +++ b/job-tracker-ui/src/components/JobDetailsDialog.tsx @@ -105,15 +105,23 @@ export default function JobDetailsDialog({ open, jobId, onClose }: Props) { return ( - + - {title} + + Job workspace + {title} + {job && } + + + {job?.fullSummary ?? job?.shortSummary ?? "Track company context, communication, files, and next steps in one place."} + + setTab(v)} sx={{ mb: 2 }}>