Add Restocking tab, SaaS sidebar redesign, and collapsible nav#102
Open
SungLinChan wants to merge 2 commits into
Open
Add Restocking tab, SaaS sidebar redesign, and collapsible nav#102SungLinChan wants to merge 2 commits into
SungLinChan wants to merge 2 commits into
Conversation
- New Restocking Planner view with budget slider, greedy demand-based recommendations (increasing → stable → decreasing), and Place Order flow - FastAPI endpoints POST/GET /api/restocking/orders with in-memory store; unit_cost field added to demand_forecasts.json and DemandForecast model - Orders tab now shows Submitted Restocking Orders section with 7-day delivery lead time - Replaced top nav bar with collapsible left sidebar (240px expanded, 56px icons-only) using CSS Grid + width transition; auto-collapses below 1024px viewport - Design token system (CSS variables) applied globally via App.vue :root - FilterBar sticky offset corrected from top:70px to top:0 - EN + JA i18n keys added for all new UI strings - Architecture overview page (architecture.html) added Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- useDarkMode composable: reads localStorage + prefers-color-scheme, applies data-theme on document root, persists preference - App.vue: [data-theme="dark"] variable overrides for all sidebar and surface colors; toggle button ☾/☀ in sidebar footer - Smooth 0.2s body transition for flicker-free theme switching Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
POST /api/restocking/ordersandGET /api/restocking/ordersendpoints with in-memory store;unit_costfield added to demand forecastsarchitecture.htmloverview of the systemTest plan
cd server && uv run python main.py) and frontend (cd client && npm run dev)/restocking— verify budget slider loads with recommended items/orders— verify "Submitted Restocking Orders" section appears with the new order‹— verify collapse to 56px icons-only rail›— verify re-expansion to 240px with labels🤖 Generated with Claude Code