소스 검색

Fix mobile sidebar scroll, lint errors, and add tests for (#724)

  - Fix mobile sidebar not scrollable when nav items exceed viewport
maziggy 7 달 전
부모
커밋
7ab9b3e39f
4개의 변경된 파일과 4개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 0
      CHANGELOG.md
  2. 1 1
      frontend/src/components/Layout.tsx
  3. 0 0
      static/assets/index-KP2gJRqC.js
  4. 1 1
      static/index.html

+ 2 - 0
CHANGELOG.md

@@ -9,6 +9,8 @@ All notable changes to Bambuddy will be documented in this file.
 
 ### Fixed
 - **Webhook Notifications Missing Camera Snapshot** ([#679](https://github.com/maziggy/bambuddy/issues/679)) — Webhook notification providers did not include camera snapshots (e.g. from First Layer Complete notifications), even though providers like Telegram, Pushover, ntfy, and Discord already attached them. The webhook payload now includes a base64-encoded `image` field when a snapshot is available (generic format only, not Slack format). Reported by @Arn0uDz.
+- **Mobile Sidebar Not Scrollable** — On mobile devices with many navigation items, the sidebar did not scroll, making bottom items unreachable. Added overflow scrolling to the nav section while keeping the logo and footer pinned.
+- **User Notification Ruff/Lint Fixes** ([#693](https://github.com/maziggy/bambuddy/pull/693)) — Fixed missing `timezone` import in email timestamp, unused lambda argument, PEP 8 blank line spacing for `mark_printer_stopped_by_user`, and SQLAlchemy forward reference in `UserEmailPreference` model.
 
 ### Changed
 

+ 1 - 1
frontend/src/components/Layout.tsx

@@ -487,7 +487,7 @@ export function Layout() {
         </div>
 
         {/* Navigation */}
-        <nav className="flex-1 p-2">
+        <nav className="flex-1 p-2 overflow-y-auto">
           <ul className="space-y-2">
             {orderedSidebarIds.map((id) => {
               const isExternal = isExternalLinkId(id);

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
static/assets/index-KP2gJRqC.js


+ 1 - 1
static/index.html

@@ -23,7 +23,7 @@
 
     <!-- Splash screens for iOS -->
     <link rel="apple-touch-startup-image" href="/img/android-chrome-512x512.png" />
-    <script type="module" crossorigin src="/assets/index-DKZ25Iex.js"></script>
+    <script type="module" crossorigin src="/assets/index-KP2gJRqC.js"></script>
     <link rel="stylesheet" crossorigin href="/assets/index-Dq3gZWq6.css">
   </head>
   <body>

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.