chore: assign todos (#7297)

This commit is contained in:
forehalo
2024-06-21 07:54:14 +00:00
parent e085b927f6
commit 7b3673ae82
121 changed files with 137 additions and 157 deletions
+3 -3
View File
@@ -100,7 +100,7 @@ export const AuthPage = (): ReactElement | null => {
}, [jumpToIndex]);
if (!passwordLimits || !account) {
// TODO: loading UI
// TODO(@eyhn): loading UI
return null;
}
@@ -184,7 +184,7 @@ export const loader: LoaderFunction = async args => {
email: email,
},
}).catch(console.error);
// TODO: Add error handling
// TODO(@eyhn): Add error handling
if (!res?.changeEmail) {
return redirect('/expired');
}
@@ -224,6 +224,6 @@ export const Component = () => {
return <AuthPage />;
}
// TODO: loading UI
// TODO(@eyhn): loading UI
return null;
};
+1 -1
View File
@@ -144,7 +144,7 @@ export const Component = () => {
return <AppFallback></AppFallback>;
}
// TODO: We need a no workspace page
// TODO(@eyhn): We need a no workspace page
return (
<>
<div
@@ -35,6 +35,6 @@ export const loader: LoaderFunction = async ({ request }) => {
};
export const Component = () => {
// TODO: loading ui
// TODO(@eyhn): loading ui
return null;
};
@@ -31,7 +31,7 @@ export const Component = () => {
switchMap(() => {
return fromPromise(async signal => {
retryKey;
// TODO: i18n
// TODO(@eyhn): i18n
setMessage('Checking account status...');
setError('');
await authService.session.waitForRevalidation(signal);
@@ -22,7 +22,7 @@ export const affineDocViewport = style({
flexDirection: 'column',
userSelect: 'none',
containerName: 'viewport',
// todo: find out what this does in bs
// TODO(@JimmFly): find out what this does in bs
containerType: 'inline-size',
background: cssVar('backgroundPrimaryColor'),
'@media': {
@@ -96,7 +96,7 @@ const DetailPageImpl = memo(function DetailPageImpl() {
const { appSettings } = useAppSettingHelper();
const isActiveView = useIsActiveView();
// TODO: remove jotai here
// TODO(@eyhn): remove jotai here
const [_, setActiveBlockSuiteEditor] = useActiveBlocksuiteEditor();
useEffect(() => {