mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-25 22:38:56 +08:00
chore: assign todos (#7297)
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user