From 9898fde8b6d18b2a30ec987e7dd768d4931a9fc9 Mon Sep 17 00:00:00 2001 From: Luca Vari Date: Wed, 6 Nov 2024 11:41:33 +1100 Subject: [PATCH] Standardise title & label cases https://linear.app/anika-legal/issue/TEC-67/ --- frontend/src/comps/case-table.tsx | 10 +++++----- frontend/src/forms/person.tsx | 2 +- frontend/src/pages/doc-template-list.tsx | 4 ++-- frontend/src/pages/email-template-list.tsx | 2 +- frontend/src/pages/notify-template-list.tsx | 2 +- frontend/src/pages/paralegal-list.tsx | 12 ++++++------ 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/frontend/src/comps/case-table.tsx b/frontend/src/comps/case-table.tsx index c8f2c774..d2eb1f83 100644 --- a/frontend/src/comps/case-table.tsx +++ b/frontend/src/comps/case-table.tsx @@ -74,7 +74,7 @@ interface TableField { const FIELDS: TableField[] = [ { name: 'fileref', - label: 'File Ref', + label: 'File ref', getValue: (issue) => {issue.fileref}, }, { name: 'topic', label: 'Topic', getValue: (issue) => issue.topic_display }, @@ -108,7 +108,7 @@ const FIELDS: TableField[] = [ }, { name: 'next_review', - label: 'Next Review Due', + label: 'Next review due', getValue: (issue) => issue.next_review || '-', getColor: getNextReviewColor, }, @@ -124,7 +124,7 @@ const FIELDS: TableField[] = [ }, { name: 'provided_legal_services', - label: 'Advice', + label: 'Advice?', getValue: (issue) => issue.provided_legal_services ? ( @@ -139,7 +139,7 @@ const FIELDS: TableField[] = [ }, { name: 'is_conflict_check', - label: 'Conflict Check Performed', + label: 'Conflict check performed?', getValue: (issue) => issue.is_conflict_check ? ( @@ -149,7 +149,7 @@ const FIELDS: TableField[] = [ }, { name: 'is_eligibility_check', - label: 'Eligibility Check Performed', + label: 'Eligibility check performed?', getValue: (issue) => issue.is_eligibility_check ? ( diff --git a/frontend/src/forms/person.tsx b/frontend/src/forms/person.tsx index bd882712..ea867c33 100644 --- a/frontend/src/forms/person.tsx +++ b/frontend/src/forms/person.tsx @@ -59,7 +59,7 @@ export const PersonForm: React.FC = ({ }) => (
0}>
- + { Name Topic - Created At - Modified At + Created + Modified Actions diff --git a/frontend/src/pages/email-template-list.tsx b/frontend/src/pages/email-template-list.tsx index 5b39a7fe..f4e5b47d 100644 --- a/frontend/src/pages/email-template-list.tsx +++ b/frontend/src/pages/email-template-list.tsx @@ -83,7 +83,7 @@ const App = () => { Name Topic Subject - Created At + Created diff --git a/frontend/src/pages/notify-template-list.tsx b/frontend/src/pages/notify-template-list.tsx index 089d985a..e3b28f36 100644 --- a/frontend/src/pages/notify-template-list.tsx +++ b/frontend/src/pages/notify-template-list.tsx @@ -86,7 +86,7 @@ const App = () => { Event Channel Target - Created At + Created diff --git a/frontend/src/pages/paralegal-list.tsx b/frontend/src/pages/paralegal-list.tsx index 14c44ee1..0a803dff 100644 --- a/frontend/src/pages/paralegal-list.tsx +++ b/frontend/src/pages/paralegal-list.tsx @@ -100,29 +100,29 @@ const ParalegalTable: React.FC = ({ accounts }) => ( Name - Latest Case + Latest case Capacity (%) Total
- Open + open
Repairs
- Open + open
Bonds
- Open + open
Eviction
- Open + open
- Total Cases + Total cases