Skip to content

Improve editor height, nitrogen sidebar and stock navigation - #398

Merged
onethree7 merged 1 commit into
mainfrom
fix/gui-workspace-stock-navigation
Oct 15, 2026
Merged

onethree7 merged 1 commit into
mainfrom
fix/gui-workspace-stock-navigation

Conversation

@onethree7

Copy link
Copy Markdown
Owner

The fertilizer editor stopped at 720 CSS pixels, leaving much of a large window unused. Let its table fill the remaining workspace height, with scrolling inside the table and the last product row reachable.

Stock solutions now has a permanent menu entry directly below Calculator. It opens the current Calculator recipe, keeps the selected menu state consistent and offers a clear prompt for an empty recipe. The existing Solver action still transfers its result into stock preparation. Navigation owns focus and scrolling throughout.

Replace the sidebar's Na:Mg card with NO3:NH4:UR (%), using the existing backend nitrogen shares. All three percentages refer to nitrogen mass. Update the workflow guide and all five locales.

Validation: python scripts/test.py -q --tb=short passes (422 Python/browser tests, 19 JavaScript tests, Ruff, ESLint and Stylelint). Browser coverage includes editor height and its final row at 75/100/150%, mixed and zero nitrogen shares, stock navigation, empty recipes, back navigation and Solver handoff. Visually checked the editor and stock menu at 2560x1440 and 75% scale.

The existing workspace checks were moved into scripts/workspace_smoke.cjs to keep the browser entrypoint under the enforced file-length limit; the previous checks remain intact.

@onethree7
onethree7 merged commit 6922a02 into main Oct 15, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant