From 416bc37be7450d8f6bc906ceca1994e8feca3e71 Mon Sep 17 00:00:00 2001 From: lauslim12 <31909304+lauslim12@users.noreply.github.com> Date: Wed, 29 Apr 2026 13:40:12 +0900 Subject: [PATCH 1/6] Remove unused `baseUrl` --- tsconfig.app.json | 1 - 1 file changed, 1 deletion(-) diff --git a/tsconfig.app.json b/tsconfig.app.json index a71faf8..0be8956 100644 --- a/tsconfig.app.json +++ b/tsconfig.app.json @@ -25,7 +25,6 @@ /* Custom */ "types": ["vite/client", "vitest/globals", "@testing-library/jest-dom"], - "baseUrl": "./", "paths": { "~/*": ["./app/*"] } From 38b4d6cb594f7e00fd6ddd03f3120c19e4b26529 Mon Sep 17 00:00:00 2001 From: lauslim12 <31909304+lauslim12@users.noreply.github.com> Date: Wed, 29 Apr 2026 13:40:44 +0900 Subject: [PATCH 2/6] Fix an unreadable `sw.ts` bug Also, fixes the problem where the application got loaded in Dark Mode in the initial render. I believe this is caused by the service worker serving the cached version of the application, so we had to do a hard refresh. --- vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index 0536ded..7e48335 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -24,7 +24,7 @@ export default defineConfig({ devOptions: { enabled: true, }, - filename: "sw.ts", + filename: "sw.js", manifest: { background_color: "#f1c40f", description: "Speednote, the fastest way to put your quick thoughts!", From 8d545cb87b9337f71370eb11c277c2aa95705f25 Mon Sep 17 00:00:00 2001 From: lauslim12 <31909304+lauslim12@users.noreply.github.com> Date: Wed, 29 Apr 2026 13:42:25 +0900 Subject: [PATCH 3/6] More minimalist footer and saving strategy --- app/app.tsx | 11 +++++------ app/editor/note-editor.tsx | 17 +++++------------ index.html | 2 +- 3 files changed, 11 insertions(+), 19 deletions(-) diff --git a/app/app.tsx b/app/app.tsx index 984c051..ccee579 100644 --- a/app/app.tsx +++ b/app/app.tsx @@ -11,21 +11,20 @@ import { Header } from "~/header"; * The GPU attempts to optimize by skipping the paint for the empty stretched area, * resulting in dead, uninitialized tiles that render as solid black horizontal bands. * - * By explicitly declaring the background colors (`bg-gray-50 dark:bg-slate-950`) + * By explicitly declaring the background colors (`bg-gray-50 dark:bg-stone-900`) * on this flex container, we force the hardware compositor to paint the tiles, * bypassing the optimization glitch. */ export const App = () => ( -
+
-
+
-