Remove gray panel in add task modal and update label interaction (#187)

* Remove the gray panel in add task modal

* migration clicking label to the new advance filtered.

* Fix: Clicking x on filter chip remove the filter condition
This commit is contained in:
Mohamad Tarbin
2026-08-02 20:53:41 -04:00
committed by GitHub
parent d641710a41
commit 66d742d091
5 changed files with 149 additions and 69 deletions

View File

@@ -138,15 +138,7 @@ const ScanPanel = ({
const isProcessing = phase === 'processing'
return (
<Box
sx={{
borderRadius: 'md',
border: '1px solid',
borderColor: 'primary.outlinedBorder',
overflow: 'hidden',
bgcolor: 'background.level1',
}}
>
<Box>
{/* ── Capture phase ── */}
{phase === 'capture' && (
<>
@@ -160,6 +152,8 @@ const ScanPanel = ({
alignItems: 'center',
justifyContent: 'center',
bgcolor: 'neutral.900',
// The wrapper used to clip this; it owns its own corners now
borderRadius: 'md',
overflow: 'hidden',
}}
>
@@ -211,7 +205,6 @@ const ScanPanel = ({
{(isNativeScanner || cameraAvailable) && (
<Box
sx={{
px: 1.5,
py: 1,
display: 'flex',
alignItems: 'center',
@@ -240,7 +233,7 @@ const ScanPanel = ({
flexDirection: 'column',
alignItems: 'center',
gap: 1.5,
p: 2.5,
py: 2.5,
}}
>
{capturedImage && (
@@ -297,7 +290,7 @@ const ScanPanel = ({
{/* ── Error phase ── */}
{phase === 'error' && (
<Box sx={{ p: 2 }}>
<Box sx={{ py: 2 }}>
{capturedImage && (
<img
src={capturedImage}