Feat: Filters UI

This commit is contained in:
Aryaman Kumar Sharma committed 2025-04-11 00:25:53 +05:30
1 parent 211195f7b3
commit b2f6850b81
3 files changed
+5 -1

No files matched your search

+1 -1
View File
@@ -42,7 +42,7 @@ const FilterHeader = ({ header, options, value, onChange, multiple = true }) =>
return header;
}
return selected
return header + " | " + selected
.map((value) => options.find((option) => option.value === value)?.label)
.filter(Boolean)
.join(", ");
+2
View File
@@ -477,6 +477,7 @@ const baseTheme = (palette) => ({
root: ({ theme }) => ({
"& .MuiOutlinedInput-input": {
color: theme.palette.primary.contrastText,
paddingLeft: theme.spacing(14),
},
"& .MuiOutlinedInput-notchedOutline": {
borderColor: theme.palette.primary.lowContrast,
@@ -484,6 +485,7 @@ const baseTheme = (palette) => ({
},
"& .MuiSelect-icon": {
color: theme.palette.primary.contrastTextSecondary, // Dropdown + color
left: theme.spacing(4),
},
"&:hover": {
backgroundColor: theme.palette.primary.main, // Background on hover
+2
View File
@@ -186,6 +186,8 @@
},
"testLocale": "testLocale",
"add": "Add",
"state": "State",
"reset": "Reset",
"monitors": "monitors",
"distributedUptimeStatusCreateStatusPage": "status page",
"distributedUptimeStatusCreateStatusPageAccess": "Access",