Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

chore(fe): update filter labels to sentence case (#2030)

Evan Hutnik7887f2cc333c
diff --git a/js/app/packages/app/component/next-soup/soup-view/filters-bar/filter-controls.tsx b/js/app/packages/app/component/next-soup/soup-view/filters-bar/filter-controls.tsx
index fae004a45a..506ef4f160 100644
--- a/js/app/packages/app/component/next-soup/soup-view/filters-bar/filter-controls.tsx
+++ b/js/app/packages/app/component/next-soup/soup-view/filters-bar/filter-controls.tsx
@@ -43,7 +43,7 @@ export const AssigneeFilter = () => {
const noAssigneeOption: Option = {
value: NO_ASSIGNEE,
- label: 'No Assignee',
+ label: 'No assignee',
icon: () => <CircleDashedIcon class="size-4 text-ink-muted" />,
};
@@ -311,7 +311,7 @@ export const StatusFilter = () => {
const statusOptions: Option[] = [
{ value: 'unread', label: 'Unread' },
{ value: 'read', label: 'Read' },
- { value: 'not-done', label: 'Not Done' },
+ { value: 'not-done', label: 'Not done' },
{ value: 'done', label: 'Done' },
];
@@ -395,7 +395,7 @@ export const TaskPriorityFilter = () => {
},
{
value: 'task-high-priority',
- label: 'High Priority',
+ label: 'High priority',
icon: () => (
<PropertyValueIcon
optionId={PROPERTY_OPTION_IDS.PRIORITY.HIGH}
@@ -405,7 +405,7 @@ export const TaskPriorityFilter = () => {
},
{
value: 'task-medium-priority',
- label: 'Medium Priority',
+ label: 'Medium priority',
icon: () => (
<PropertyValueIcon
optionId={PROPERTY_OPTION_IDS.PRIORITY.MEDIUM}
@@ -415,7 +415,7 @@ export const TaskPriorityFilter = () => {
},
{
value: 'task-low-priority',
- label: 'Low Priority',
+ label: 'Low priority',
icon: () => (
<PropertyValueIcon
optionId={PROPERTY_OPTION_IDS.PRIORITY.LOW}
@@ -425,7 +425,7 @@ export const TaskPriorityFilter = () => {
},
{
value: 'task-no-priority',
- label: 'No Priority',
+ label: 'No priority',
},
];
@@ -576,7 +576,7 @@ export const FromSenderFilter = () => {
export const HasCalendarInviteFilter = () => {
const calendarInviteOptions: Option[] = [
- { value: 'has-calendar-invite', label: 'Has Calendar Invite' },
+ { value: 'has-calendar-invite', label: 'Has calendar invite' },
];
const calendarInvite = useFilterOptions(calendarInviteOptions);
@@ -592,7 +592,7 @@ export const HasCalendarInviteFilter = () => {
export const HasAttachmentFilter = () => {
const attachmentOptions: Option[] = [
- { value: 'has-attachment', label: 'Has Attachment' },
+ { value: 'has-attachment', label: 'Has attachment' },
];
const attachment = useFilterOptions(attachmentOptions, { target: 'and' });