Add dedicated permanent URLs for Admin, Warehouse, and 5 Kiosk tabs

Summary

  • Split the single shared Worker Kiosk page into 5 permanent, station-scoped URLs (/kiosk/ST-01 through /kiosk/ST-05)
  • Removed the station-selection dropdown from the kiosk view; the station is now fixed by the URL path instead of a client-submitted form field
  • Removed cross-navigation between Admin, Warehouse, and Kiosk tabs so each operates as an independent, self-contained tab
  • Restricted Admin page navigation to Production Jobs, Station Inventory, and Instruction Photos only
  • Removed the navigation bar entirely from the Warehouse Requests page and all Worker Kiosk pages
  • Added a "The Digital Factory Game" heading above the navigation bar on all Admin pages and the Warehouse Requests page
  • Added a "The Digital Factory Game" heading with the station name (Station 1-5) to each Worker Kiosk page
  • Unknown or disabled station IDs in the kiosk URL now return 404 instead of a generic form

Regression Test Updates TC-17 - Kiosk requires new scan after completion Updated to POST to /kiosk/<station_id> instead of the shared /kiosk route with a station_id form field.

TC-18 - Finished unit returns kiosk to waiting Updated to POST to /kiosk/<station_id> for both stations exercised in the test.

TC-33 - Worker Kiosk displays uploaded photo Updated to POST to /kiosk/ST-04 instead of the shared /kiosk route.

Verification Automated test suite: python -m pytest -q

Result: 56 passed

Manual verification confirmed:

  • /kiosk lists all 5 station links
  • /kiosk/ST-01 through /kiosk/ST-05 each load locked to their own station with no station selector
  • /kiosk/ST-99 (invalid station) returns 404
  • Admin pages show "The Digital Factory Game" above a nav bar limited to Production Jobs, Station Inventory, and Instruction Photos
  • Warehouse Requests and all Worker Kiosk pages show no navigation bar
  • End-to-end flow (job creation, activation, barcode scan, step completion) still works through the new station-scoped kiosk URLs

Merge request reports

Loading