Commit History
-
feat: アプリ上からバグ報告・機能要望を送信しGitHub Issueに自動起票する機能を追加
Ryo_Shimano +1: Claude Sonnet 5「フィードバック」画面(種別・タイトル・内容・任意の報告者名)から送信すると utils/github_issues.create_issue() がGITHUB_TOKENを使ってGitHub Issueを作成する。 内容欄は最低20文字を必須にし、種別ごとの記入例(再現手順/期待動作、または 利用場面/改善案)を表示することで具体的な報告を促す。既知の不具合セクション からも導線を追加。GITHUB_TOKEN未設定時はエラーメッセージを表示して入力内容を 保持する。 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>57d9b6b
-
UI/UX改善: シフト表のポジション切替・割当をリロードなしに変更、アクセシビリティ全面対応
Ryo_Shimano +1: Claude Sonnet 4.6- schedule.py: ホール/キッチン別スタッフリスト計算・staffing_js追加・staffing_jsonエンドポイント追加 - schedule/index.html: Jinja2マクロで両ポジションのtbodyを同時レンダリング、ポジション切替をJSで実装、割当後をlocation.reload()なしのDOM更新に変更、不足グリッドもリアルタイム更新 - base.html: カードホバーを@media(hover:hover)で囲む・ダークモードのバッジコントラスト強化 - dashboard/index.html: alert-headerにrole=button・tabindex・onkeydownを追加 - shifts/input.html: 提出進捗バーを追加 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>acac3c3 -
サイドバーの未使用CSSセレクタを削除
Ryo_Shimano +1: Claude Sonnet 4.6.sidebar button.theme-toggle-btn のスタイル定義が残っていたが、 対応するHTMLが存在しないためデッドコードとして除去する。 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>3dec39a
-
PWAをiOS/Android向けに完全対応(Service Worker全体スコープ化、スプラッシュ画面、インストール導線)
- Service Workerを/sw.jsとしてルートスコープで配信し、オフライン時はキャッシュ またはオフラインページにフォールバックするよう強化 - manifest.jsonにid/scope/lang/shortcuts/maskableアイコンを追加 - iOS向けスプラッシュスクリーン(apple-touch-startup-image)と mobile-web-app-capableメタタグを追加 - ホーム画面追加を案内するインストールバナーを追加 (Android: beforeinstallprompt, iOS: 共有メニュー案内) - アイコン/スプラッシュ生成スクリプト(scripts/generate_pwa_assets.py)を追加404ee14 -
モバイル表示で表のヘッダー文字が折り返されないように修正
設定画面の制約表(リーダー最少 等)がスマホ幅で見出し文字が 中途半端に改行され見栄えが悪かったため、.table-responsive内の th/tdをnowrapにして折り返しを防止する。元々横スクロールは 有効なので、必要な場合はスクロールで対応する。63dde70 -
CSRF対策(Flask-WTF CSRFProtect)を追加
全POSTフォームにcsrf_tokenを付与し、fetchによるPOST/PUT/PATCH/DELETEには base.htmlでwindow.fetchをパッチして自動でX-CSRFTokenヘッダーを付与する。 CSRFエラー時はJSONリクエストには400、それ以外はflashメッセージ付きで リダイレクトする。長時間開いた画面からの送信もエラーにならないよう WTF_CSRF_TIME_LIMITは無効化。0032c7c
-
開発者情報をヘルプページから設定ページへ移動・簡略化
ヘルプページの開発者情報セクション(開発の経緯・アプリのポイント・ 技術スタックなど)を削除し、設定ページ下部に開発者名・バージョン・ 連絡先・バグ報告案内のみのコンパクトなカードとして再構成。 バージョン表示は utils/version.py の APP_VERSION を context processor経由でテンプレートに渡すようにした。34c1f5a
-
テーマ切り替えボタンを設定画面へ移行し、トグルスイッチ化
2cc3573 -
フロントエンド全画面のテーマ(ライト/ダーク)適合化および視認性・コントラストの改善
4492eda -
UI/UXの全体的な改善:ライト/ダークテーマ、グラスモルフィズム、シフト表レスポンシブカラム固定、および自動生成待機画面のアニメーション刷新
027f66d
-
勤務統計をメインメニューに追加
これまでシフト表画面右上の小さなボタンからしか辿れず分かりにくかったため、 PCサイドバーとスマホのハンバーガーメニューに「勤務統計」項目を追加し、 他画面と同様にメニューから直接アクセスできるようにする。00fc179
-
Phase 0: ユーザーフィードバック対応(#2,#3,#11,#12,#14,#17,#18,#19,#20)
- #2 (MUST): シフト表で希望提出済み・未アサインのスタッフを灰色「希」チップで可視化 - #3+#12: アルバイトの全休保存が記録されないバグを修正し全休時の確認ダイアログを追加、保存トーストを全パスで表示 - #19: 「中番」パターンを全箇所(パターン定義・カテゴリ・UI)から削除 - #18: 深夜勤務分散ロジック(late_night_scale)を撤去 - #20: 時給設定の個別保存ボタンを廃止し共通設定フォームに統合 - #17: iPhoneノッチ対応として --safe-top を追加しヘッダーに適用 - #11: 固定シフト(曜日別パターン)からの希望シフト入力プリフィル - #14: シフト表のスタッフ並び順をスタッフ管理画面の display_order に統一 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>9c7400b
-
feat: 未保存離脱ガードを全ページ共通化
- base.html にモーダル+グローバルガードJSを一元配置 - data-dirty-form 属性を付けるだけでフォーム変更を自動検知 - 全リンクのクリックを監視し、未保存時は確認モーダルを表示 - ブラウザの戻る・リロードも beforeunload でガード - 対象: スタッフ管理・設定・客数管理・希望シフト入力 - shifts/input.html のローカル実装をグローバルに統合 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>d619e88 -
feat: ホームダッシュボード新設・ナビ再編・ブランドロゴをホームリンク化
- / にダッシュボード新設(今日の出勤状況・期間サマリー・クイックアクション) - スタッフ管理をボトムナビからドロワーに移動(利用頻度が低いため) - ホームをボトムナビとサイドバーの先頭に追加 - デスクトップサイドバーのブランドロゴ・モバイルページヘッダーのアイコンを / へのリンクに変更 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>706e560
-
improve: mobile UI fixes - text wrapping and table overflow
base.html: Add comprehensive mobile CSS utilities - .mobile-stack, .mobile-btn-wrap, .mobile-label helpers - Input font-size 16px to prevent iOS zoom - flex-wrap on .page-header for narrow screens settings/index.html: - Time inputs: remove fixed max-width, use flex-wrap row - Reservation setting labels: flex-grow-1 instead of fixed min-width - Number inputs: 60px→48px to fit mobile table shifts/input.html: - Bulk action buttons: flex-wrap, text-nowrap, shorter labels ("全日 休希望"→"休希望" on mobile) customers/index.html: - Number inputs: 75px→62px to reduce overflow in table cells Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>c089bfb
-
fix: resolve generation timeout on HuggingFace (2 vCPU environment)
Root causes: 1. num_search_workers=2 competed with 2 gunicorn workers for 2 vCPUs, causing OR-Tools to run much slower than the 25s timeout allowed. Changed to num_search_workers=1 (both phase 1 and phase 2). 2. Google Fonts stylesheet link was render-blocking, delaying the waiting page JS startup and eating into the client-side timer. Changed to rel="preload" onload pattern for non-blocking load. 3. TIMEOUT_SEC 90→150 to give more buffer for CPU-constrained envs. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>7491d57 -
improve: comprehensive modern design system overhaul
- Google Fonts: Noto Sans JP (400/500/600/700) for premium JP typography - CSS design tokens: --primary, --radius-*, --shadow-*, --transition - Body: subtle blue gradient background (dbeafe → eff6ff → f8fafc) - Cards: layered shadows, border with opacity, smooth hover - Buttons: gradient primary with lift-on-hover + shadow - Inputs: 1.5px border, rounded corners, sky-blue focus ring - Bottom nav: frosted glass (backdrop-filter: blur(24px) saturate(180%)) + active tab top-indicator bar (2.5px sky-blue line at top) - Drawer: dark glass (#111827 + border), blurred backdrop, refined icons - Sidebar: gradient background, pill-shaped active state with icon highlight, UOMAN logo in brand area - Toasts: border-radius + drop shadow - Badges: tighter radius, bolder weight - All transitions use cubic-bezier(.4,0,.2,1) for material-feel Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>8aba308 -
improve: refined page header design with brand identity
- Gradient background: #0f172a → #1e293b → #1a3a52 (depth + warmth) - Subtle bottom border: rgba(148,163,184,.18) matching UOMAN silver palette - Box shadow: 0 2px 16px rgba(0,0,0,.35) for layered depth - Mobile: UOMAN logo injected into header via JS (hidden on desktop) - Desktop: 'SKY DINING UOMAN' watermark text on right when no action buttons - Typography: font-weight 700, letter-spacing .02em for refined look Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>8a5652e -
feat: set SKY DINING UOMAN logo as app icon
Generated from icon.jpg (1080x1070 JPEG): - static/icons/icon-512.png — PWA icon (512x512) - static/icons/icon-192.png — PWA icon (192x192) - static/icons/apple-touch-icon.png — iOS home screen (180x180) - static/icons/favicon-32.png / favicon-16.png - static/favicon.ico (multi-size) Updated manifest.json and added favicon/apple-touch-icon link tags. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>a851256
-
improve: fix 8 UI/UX issues across the app
1. Toast: mobile bottom-center above bottom nav (was top-right, hard to see) 2. Form loading: global data-loading attribute spins submit buttons 3. Schedule header: shows current period dates as subtitle 4. Customers header: shows current period dates as subtitle 5. Schedule: scroll position saved to sessionStorage before reload, restored on return; auto-scrolls to today column if no saved scroll 6. Schedule: assign error uses in-page toast instead of browser alert() 7. Employees: archive confirm() replaced with dark Bootstrap modal 8. Shifts input: unsaved-changes confirm() replaced with dark Bootstrap modal + save button has loading spinner + empty state shows contextual message with CTA button Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>e0dba13 -
feat: add help page with usage guide and developer info
- /help route with accordion sections for each feature - Covers: スタッフ管理, 希望シフト, 自動生成, シフト表, 客数管理, 設定 - Developer card with email and GitHub link - Anchor links in TOC chips auto-expand the relevant section - Added ヘルプ to desktop sidebar, hamburger drawer, and _in_drawer detection Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>29c5e2e -
fix: logout button hidden due to wrong CSS class on drawer link
The logout <a> had class="drawer a" which applied the .drawer container styles (transform: translateY(100%)) to the link itself, pushing it off-screen. Removed the incorrect class and added onclick=closeDrawer(). Also hide logout links when APP_PASSWORD is not set via context_processor. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>fb89637 -
Add shared password authentication
- auth.py: APP_PASSWORD env var + login_required decorator - /login, /logout routes with Flask session - before_request guard on all routes (bypasses login + static) - session.permanent = True, 30-day lifetime - Login page: dark themed, password field, error flash - Logout link in desktop sidebar and hamburger drawer - No password set = open access (dev mode) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>93c7d2b
-
Add hamburger drawer menu with 客数管理 and 設定
- Bottom nav: replace 設定 slot with hamburger (メニュー) button - Drawer slides up from bottom with spring animation - Drawer contains: 客数管理 and 設定 with descriptions - Swipe down gesture closes the drawer - Hamburger button highlighted when current page is in drawer - Desktop sidebar unchanged (all 6 items always visible) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>8166b9e -
UI/UX improvements: archive label, nav size, toast timing, empty states, note feedback, unsaved warning
- employees: 削除→アーカイブ with icon + restore message in confirm dialog - base: bottom nav height 60→68px, icon 22→24px, font 10→11px (Apple HIG 44px tap target) - base: toast auto-dismiss 4s→5-7s (proportional to text length) - schedule: empty state alert when no employees in current filter - schedule: note save feedback (green flash on success, red on error) - shifts: unsaved changes warning before prev/next navigation - shifts: button text 全員表示→全員一覧 for clarity Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>4e49a00
-
feat: Flask Webアプリ化・PostgreSQL対応・Render デプロイ設定を追加
iPhoneからアクセスできるWebアプリとして動作するよう変換。 既存のソルバー・DBロジック・エクスポート機能はそのまま流用。 - db/database.py: SQLite/PostgreSQL 両対応のDBアダプター実装 - db/repositories.py: PostgreSQL互換SQL構文に修正 - web_app.py: Flask アプリケーションファクトリ - routes/: 従業員・シフト入力・自動生成・スケジュール・客数・設定・エクスポート - templates/: Bootstrap5 モバイルファーストレスポンシブ UI(ボトムナビ付き) - static/manifest.json + sw.js: PWA対応(ホーム画面追加可能) - Procfile + render.yaml: Render 無料枠へのデプロイ設定 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>5aad2f7