• Will Chen's avatar
    feat: widen chat list sidebar and adjust icon column spacing (#2519) · 3cbcc6f0
    Will Chen 提交于
    ## Summary
    - Increase chat list panel width from 240px to 272px and app item width
    from 190px to 206px for better readability
    - Adjust overall sidebar width from 18rem to 19rem and icon column from
    5rem to 4.5rem
    
    ## Test plan
    - Open the app and verify sidebar renders at the new width
    - Verify chat list items and app items display correctly without
    truncation
    - Verify icon column alignment looks correct
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    <!-- devin-review-badge-begin -->
    
    ---
    
    <a href="https://app.devin.ai/review/dyad-sh/dyad/pull/2519"
    target="_blank">
      <picture>
    <source media="(prefers-color-scheme: dark)"
    srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1">
    <img
    src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1"
    alt="Open with Devin">
      </picture>
    </a>
    <!-- devin-review-badge-end -->
    
    
    <!-- This is an auto-generated description by cubic. -->
    ---
    ## Summary by cubic
    Widened the chat list panel (240px→272px) and app item width
    (190px→206px), and adjusted the sidebar (18rem→19rem) and icon column
    (5rem→4.5rem) to improve readability and alignment.
    
    <sup>Written for commit 5b43043809979d2b09e7b86cfdae9c2b2f757241.
    Summary will update on new commits.</sup>
    
    <!-- End of auto-generated description by cubic. -->
    
    <!-- CURSOR_SUMMARY -->
    ---
    
    > [!NOTE]
    > **Low Risk**
    > Purely presentational layout tweaks (Tailwind widths/CSS vars) with no
    changes to data flow, auth, or persistence logic.
    > 
    > **Overview**
    > Increases the right-hand panel width in `app-sidebar.tsx`
    (chat/apps/settings/library lists) and the per-row width in `AppItem` to
    reduce truncation.
    > 
    > Updates global sidebar sizing constants in `ui/sidebar.tsx`, widening
    the expanded sidebar while slightly narrowing the collapsed icon rail to
    rebalance spacing.
    > 
    > <sup>Written by [Cursor
    Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
    5b43043809979d2b09e7b86cfdae9c2b2f757241. This will update automatically
    on new commits. Configure
    [here](https://cursor.com/dashboard?tab=bugbot).</sup>
    <!-- /CURSOR_SUMMARY -->
    Co-authored-by: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    3cbcc6f0
名称
最后提交
最后更新
..
__tests__ 正在载入提交数据...
app 正在载入提交数据...
atoms 正在载入提交数据...
client_logic 正在载入提交数据...
components 正在载入提交数据...
constants 正在载入提交数据...
contexts 正在载入提交数据...
db 正在载入提交数据...
hooks 正在载入提交数据...
ipc 正在载入提交数据...
lib 正在载入提交数据...
main 正在载入提交数据...
neon_admin 正在载入提交数据...
pages 正在载入提交数据...
paths 正在载入提交数据...
pro 正在载入提交数据...
prompts 正在载入提交数据...
routes 正在载入提交数据...
shared 正在载入提交数据...
store 正在载入提交数据...
styles 正在载入提交数据...
supabase_admin 正在载入提交数据...
utils 正在载入提交数据...
backup_manager.ts 正在载入提交数据...
main.ts 正在载入提交数据...
preload.ts 正在载入提交数据...
renderer.tsx 正在载入提交数据...
router.ts 正在载入提交数据...