Bug fix and style addition
All checks were successful
Deploy to production / build (push) Successful in 12s

This commit is contained in:
2026-07-14 19:02:27 -05:00
parent 8a9925e7a2
commit 35b51ed850
6 changed files with 13 additions and 28 deletions

View File

@@ -7,28 +7,23 @@
"linter": { "linter": {
"enabled": true, "enabled": true,
"rules": { "rules": {
"recommended": true,
"a11y": { "a11y": {
"noSvgWithoutTitle": "off" "noSvgWithoutTitle": "off"
}, },
"complexity": { "complexity": {
"noUselessTypeConstraint": "off", "noUselessTypeConstraint": "off"
"recommended": true
}, },
"suspicious": { "suspicious": {
"noExplicitAny": "off", "noExplicitAny": "off",
"noImplicitAnyLet": "off", "noImplicitAnyLet": "off",
"recommended": true,
"noConsole": { "level": "error", "options": { "allow": ["error"] } } "noConsole": { "level": "error", "options": { "allow": ["error"] } }
}, },
"correctness": { "correctness": {
"useExhaustiveDependencies": "off", "useExhaustiveDependencies": "off",
"noUnusedImports": "error", "noUnusedImports": "error"
"recommended": true
}, },
"performance": { "performance": {
"noDelete": "off", "noDelete": "off"
"recommended": true
}, },
"style": { "style": {
"noParameterAssign": "error", "noParameterAssign": "error",

15
package-lock.json generated
View File

@@ -3191,21 +3191,6 @@
} }
} }
}, },
"node_modules/vite-tsconfig-paths/node_modules/typescript": {
"version": "5.9.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
"integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
"dev": true,
"optional": true,
"peer": true,
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"
},
"engines": {
"node": ">=14.17"
}
},
"node_modules/vitest": { "node_modules/vitest": {
"version": "4.1.10", "version": "4.1.10",
"resolved": "https://registry.npmjs.org/vitest/-/vitest-4.1.10.tgz", "resolved": "https://registry.npmjs.org/vitest/-/vitest-4.1.10.tgz",

View File

@@ -17,7 +17,6 @@ import { datePickerInputClasses, selectClasses } from 'styles';
declare module '@tanstack/react-table' { declare module '@tanstack/react-table' {
//allows us to define custom properties for our columns //allows us to define custom properties for our columns
// biome-ignore lint/correctness/noUnusedVariables: ignore
interface ColumnMeta<TData extends RowData, TValue> { interface ColumnMeta<TData extends RowData, TValue> {
filterVariant?: filterVariant?:
| 'text' | 'text'

View File

@@ -24,11 +24,11 @@ export default function ExtendedForecastDetails({
borderRadius: '8px', borderRadius: '8px',
overflow: 'visible', overflow: 'visible',
cursor: 'default', cursor: 'default',
boxShadow: '15px 15px 3px var(--mantine-color-border-0)',
}} }}
onClick={(e) => { onClick={(e) => {
e.stopPropagation(); e.stopPropagation();
}} }}
shadow='xl'
p={0} p={0}
> >
<ActionIcon <ActionIcon
@@ -37,6 +37,7 @@ export default function ExtendedForecastDetails({
right={-12} right={-12}
style={{ style={{
borderRadius: '100%', borderRadius: '100%',
boxShadow: '2px 2px var(--mantine-color-search-0)',
}} }}
onClick={() => { onClick={() => {
setSelectedDay(undefined); setSelectedDay(undefined);

View File

@@ -71,7 +71,12 @@ export function WeatherModal({
backgroundColor: 'color-mix(in srgb, black, transparent 50%)', backgroundColor: 'color-mix(in srgb, black, transparent 50%)',
}} }}
> >
<Stack w={'65%'} align={'center'} justify={'center'} style={{cursor: 'pointer'}}> <Stack
w={'65%'}
align={'center'}
justify={'center'}
style={{ cursor: 'pointer' }}
>
<ExtendedForecastDetails <ExtendedForecastDetails
selectedDay={selectedDay} selectedDay={selectedDay}
setSelectedDay={setSelectedDay} setSelectedDay={setSelectedDay}

View File

@@ -30,7 +30,7 @@ export function ThemeModal({
themePlaylists: ThemePlaylist[]; themePlaylists: ThemePlaylist[];
}) { }) {
const themesEndpoint = 'api/themes'; const themesEndpoint = 'api/themes';
const { isMobile } = useCommonHooks(); const { currentUser, isMobile } = useCommonHooks();
const [defaultTheme, setDefaultTheme] = useState<Theme>({ ...selectedTheme }); const [defaultTheme, setDefaultTheme] = useState<Theme>({ ...selectedTheme });
const [designerTheme, setDesignerTheme] = useState<Theme>({ const [designerTheme, setDesignerTheme] = useState<Theme>({
...selectedTheme, ...selectedTheme,
@@ -68,7 +68,7 @@ export function ThemeModal({
randomEnabled: 1, randomEnabled: 1,
textShadowsEnabled: 0, textShadowsEnabled: 0,
appShadowsEnabled: 0, appShadowsEnabled: 0,
themeFont: null, themeFont: currentUser.defaultFont,
}); });
}; };