Skip to content

Commit 568aa2c

Browse files
committed
feat: update .gitignore to include ai-memory and improve UI styling in LlmInsights
1 parent f9ea122 commit 568aa2c

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ src-tauri/windows/msix-staging/AppxManifest.xml
3737
coverage/
3838

3939
# Environment
40+
ai-memory/
4041
.env
4142
.env.local
4243
.env.production

src/pages/LlmInsights/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ export default function LlmInsights() {
562562
<select
563563
value={range}
564564
onChange={(e) => setRange(e.target.value as AnalysisRange)}
565-
className="ui-field text-xs h-8 py-0 pr-7"
565+
className="ui-field text-xs h-9 min-h-9 py-0 leading-5 pr-7"
566566
disabled={loading}
567567
>
568568
{(

src/stores/statsStore.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import type {
1414
VsCodeStatsSummary,
1515
} from "@/types";
1616
import * as api from "@/services/tauriApi";
17+
import { todayString } from "@/utils/format";
1718

1819
export type PeriodMode = "day" | "week" | "month";
1920

@@ -71,7 +72,7 @@ interface StatsState {
7172
fetchVsCodeStatsForRange: (startDate: string, endDate: string) => Promise<void>;
7273
}
7374

74-
const todayStr = () => new Date().toISOString().slice(0, 10);
75+
const todayStr = todayString;
7576

7677
export const useStatsStore = create<StatsState>((set, get) => ({
7778
todayTotals: [],

0 commit comments

Comments
 (0)