mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
fix AF-1331
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/T2klNLEk0wxLh4NRDzhk/e09203aa-f143-42f8-bd39-e5078d07ada2.mp4">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/T2klNLEk0wxLh4NRDzhk/e09203aa-f143-42f8-bd39-e5078d07ada2.mp4">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/e09203aa-f143-42f8-bd39-e5078d07ada2.mp4">1.mp4</video>
missing
- per split view skeleton
- per route skeleton
23 lines
870 B
TypeScript
23 lines
870 B
TypeScript
import { AppFallback } from '@affine/core/components/affine/app-container';
|
|
import { useAppSettingHelper } from '@affine/core/hooks/affine/use-app-setting-helper';
|
|
import { AppTabsHeader } from '@affine/core/modules/app-tabs-header';
|
|
import { SplitViewFallback } from '@affine/core/modules/workbench/view/split-view/split-view';
|
|
|
|
import * as styles from './shell.css';
|
|
|
|
export function ShellRoot() {
|
|
const { appSettings } = useAppSettingHelper();
|
|
const translucent =
|
|
environment.isElectron &&
|
|
environment.isMacOs &&
|
|
appSettings.enableBlurBackground;
|
|
return (
|
|
<div className={styles.root} data-translucent={translucent}>
|
|
<AppTabsHeader mode="shell" className={styles.appTabsHeader} />
|
|
<AppFallback className={styles.fallbackRoot}>
|
|
<SplitViewFallback className={styles.splitViewFallback} />
|
|
</AppFallback>
|
|
</div>
|
|
);
|
|
}
|