Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
85bca49
migrate to react-modal-sheet
yangchristina Dec 21, 2025
d5fa301
feat: enhance CommandMenu with motion effects and improved backdrop s…
yangchristina Dec 21, 2025
8ca6115
move falloff behind backdrop, and remove z-index on backdrop
yangchristina Dec 21, 2025
0aa892c
chore: remove debug log for showCommandMenu in CommandMenu component
yangchristina Dec 21, 2025
628ff26
fix: simplify height assignment and ensure backdrop z-index is overri…
yangchristina Dec 21, 2025
7de4e02
feat: enhance CommandMenu with improved opacity handling and backdrop…
yangchristina Dec 24, 2025
ded8638
fix: replace Sheet.Backdrop with motion.div for improved backdrop sty…
yangchristina Dec 24, 2025
3bd93fd
fix: remove unused import of useMotionValueEvent in CommandMenu compo…
yangchristina Dec 24, 2025
c8e515a
feat: add glow effect readiness to PanelCommand, to fix glow blending…
yangchristina Dec 27, 2025
a778f93
fix: add mountPoint prop to CommandMenu to fix progressive blur
yangchristina Dec 27, 2025
1525558
Merge branch 'main' into react-modal-sheet
yangchristina Dec 27, 2025
a657421
refactor: remove unused commandCenterDrawer duration from durationsCo…
yangchristina Dec 27, 2025
380a0f4
refactor: restructure CommandCenter component for improved layout and…
yangchristina Dec 27, 2025
1ab94bf
fix: change CommandCenter position from absolute to fixed for improve…
yangchristina Dec 27, 2025
9c20eab
Merge branch 'main' into react-modal-sheet
yangchristina Jan 2, 2026
92655c7
Fix Safari blend mode rendering bug by adding will-change property
yangchristina Jan 2, 2026
a6c0d8a
Fix sheet shifting issue on iOS by disabling scroll locking
yangchristina Jan 2, 2026
797ea6d
Refactor CommandCenter and PanelCommand components to remove unused s…
yangchristina Jan 3, 2026
eb0e0c7
Remove unnecessary mixBlendMode and will-change properties from Comma…
yangchristina Jan 3, 2026
7555d7a
Refactor CommandCenter component to improve sheet progress calculatio…
yangchristina Jan 3, 2026
aa2b007
Add transition configuration to match MUI SwipableDrawer enter easing
yangchristina Jan 3, 2026
70584d2
Fix transition configuration in CommandCenter to use SheetTweenConfig…
yangchristina Jan 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@
"lottie-react": "^2.4.1",
"marked": "^17.0.1",
"moize": "^6.1.7",
"motion": "^12.23.26",
"murmurhash3js": "^3.0.1",
"nanoid": "^5.1.6",
"openai": "^5.20.3",
Expand All @@ -127,6 +128,7 @@
"react-dom": "^19.2.3",
"react-error-boundary": "^6.0.1",
"react-gravatar": "^2.6.3",
"react-modal-sheet": "^5.2.1",
"react-native-web": "^0.21.2",
"react-redux": "^9.2.0",
"react-signature-pad-wrapper": "^4.2.0",
Expand Down
6 changes: 4 additions & 2 deletions src/components/AppComponent.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Capacitor } from '@capacitor/core'
import { StatusBar, Style } from '@capacitor/status-bar'
import _ from 'lodash'
import React, { FC, PropsWithChildren, useEffect, useLayoutEffect } from 'react'
import React, { FC, PropsWithChildren, useEffect, useLayoutEffect, useRef } from 'react'
import { useSelector } from 'react-redux'
import { WebviewBackground } from 'webview-background'
import { css } from '../../styled-system/css'
Expand Down Expand Up @@ -115,6 +115,7 @@ const AppComponent: FC = () => {
const fontSize = useSelector(state => state.fontSize)
const showModal = useSelector(state => state.showModal)
const tutorial = useSelector(isTutorial)
const rootRef = useRef<HTMLDivElement>(null)

useEffect(() => {
WebviewBackground.changeBackgroundColor({ color: colors.bg })
Expand Down Expand Up @@ -171,6 +172,7 @@ const AppComponent: FC = () => {
/* safeAreaTop applies for rounded screens */
paddingTop: 'safeAreaTop',
})}
ref={rootRef}
>
<Alert />
<Tips />
Expand Down Expand Up @@ -215,7 +217,7 @@ const AppComponent: FC = () => {
{/* NavBar must be outside MultiGestureIfTouch in order to have a higher stacking order than the Sidebar. Otherwise the user can accidentally activate the Sidebar edge swipe when trying to tap the Home icon. */}
<NavBar position='bottom' />

<CommandCenter />
<CommandCenter mountPoint={rootRef.current ?? undefined} />
<div style={{ fontSize }}>
<Footer />
</div>
Expand Down
Loading
Loading