Skip to content

Commit 97ff985

Browse files
Fix review comments
1 parent 3a24b23 commit 97ff985

File tree

25 files changed

+1421
-894
lines changed

25 files changed

+1421
-894
lines changed
File renamed without changes.

desktop-web-app/web-app-react/package-lock.json

Lines changed: 1371 additions & 812 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

desktop-web-app/web-app-react/src/components/account/user-account.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import {EditableAvatar} from "@/components/account/editable-avatar.tsx";
2626
import {EditableInput} from "@/components/account/editable-input.tsx";
2727
import {GuidingLine} from "@/components/ui/common/guiding-line.tsx";
2828
import {useEffect, useState} from "react";
29-
import {prefsClient} from "@/rpc/prefs-client.ts";
29+
import {prefsClient} from "@shared/rpc/prefs-client.ts";
3030
import {AccountSchema, ProfilePictureSchema} from "@/gen/prefs_pb.ts";
3131
import {create} from "@bufbuild/protobuf";
3232
import {imageToDataUri} from "@/converter/image.ts";

desktop-web-app/web-app-react/src/components/appearance/appearance.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import {Laptop, Moon, Sun} from "lucide-react";
2626
import {ThemeBox} from "@/components/appearance/theme-box.tsx";
2727
import {Combobox} from "@/components/ui/common/combobox.tsx";
2828
import {AppearanceSchema} from "@/gen/prefs_pb.ts";
29-
import {prefsClient} from "@/rpc/prefs-client.ts";
29+
import { prefsClient } from "@shared/rpc/prefs-client.ts";
3030
import {create} from "@bufbuild/protobuf";
3131
import {useTheme} from "@/components/appearance/theme-provider.tsx";
3232
import {useFontSize} from "@/components/appearance/font-size-provider.tsx";

desktop-web-app/web-app-react/src/components/appearance/font-size-provider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*/
2222

2323
import React, {createContext, useContext, useEffect, useState} from "react";
24-
import {prefsClient} from "@/rpc/prefs-client.ts";
24+
import { prefsClient } from "@shared/rpc/prefs-client.ts";
2525
import {
2626
defaultFontSize,
2727
FontSizeOption,

desktop-web-app/web-app-react/src/components/appearance/theme-provider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*/
2222

2323
import React, {createContext, useContext, useEffect, useState} from "react";
24-
import {prefsClient} from "@/rpc/prefs-client.ts";
24+
import { prefsClient } from "@shared/rpc/prefs-client.ts";
2525
import {fromTheme, systemTheme, ThemeOption} from "@/converter/theme.ts";
2626
import {prefsStorage} from "@/storage/prefs-storage.ts";
2727

desktop-web-app/web-app-react/src/components/general/general.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import {Combobox} from "@/components/ui/common/combobox.tsx";
2525
import {PreferenceSwitch} from "@/components/ui/common/preference-switch.tsx";
2626
import {useEffect, useState} from "react";
2727
import {GeneralSchema} from "@/gen/prefs_pb.ts";
28-
import {prefsClient} from "@/rpc/prefs-client.ts";
28+
import { prefsClient } from "@shared/rpc/prefs-client";
2929
import {create} from "@bufbuild/protobuf";
3030
import {
3131
englishLanguage,

desktop-web-app/web-app-react/src/components/notifications/notifications.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import {Separator} from "@/components/ui/separator.tsx";
2424

2525
import {PreferenceSwitch} from "@/components/ui/common/preference-switch.tsx";
2626
import {useEffect, useState} from "react";
27-
import {prefsClient} from "@/rpc/prefs-client.ts";
27+
import { prefsClient } from "@shared/rpc/prefs-client";
2828
import {create} from "@bufbuild/protobuf";
2929
import {NotificationsSchema} from "@/gen/prefs_pb.ts";
3030
import {prefsStorage} from "@/storage/prefs-storage.ts";

desktop-web-app/web-app-react/src/rpc/prefs-client.ts

Lines changed: 0 additions & 44 deletions
This file was deleted.

desktop-web-app/web-app-react/tsconfig.app.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,13 @@
1313
"./src/*"
1414
]
1515
},
16-
/* Bundler mode */
1716
"moduleResolution": "bundler",
1817
"allowImportingTsExtensions": true,
1918
"isolatedModules": true,
2019
"moduleDetection": "force",
2120
"noEmit": true,
2221
"jsx": "react-jsx",
2322

24-
/* Linting */
2523
"strict": true,
2624
"noUnusedLocals": true,
2725
"noUnusedParameters": true,

0 commit comments

Comments
 (0)