Add contagem/turno/planejamento/ocupacao features, robust import/export, layout and UI improvements - #6
Open
hhhthiti wants to merge 5 commits into
Conversation
✅ Deploy Preview for testetesta ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Motivation
fardos_por_palete) to allow conversions and accurate fardos estimations across exports and reports.Description
storageGet,storageSet,storageGetJSON) and persist maps/snapshots (wmss_contagem_map,wmss_turno_snapshots,wmss_fracionado_map,wmss_turno_ultima_planilha_sku) and a theme toggle withwmss_themehandling.loadProdutosand usegetFardosPorPaleteacross features to compute fardos and detect missing SKU data.getContagemPositions), entries management (getContagemEntries,saveContagemEntries), computation (computeContagem,estimateLayersFromTotal), import from sheet (importContagemFromPlanilha), apply to consulta (applyContagemToConsulta), export (exportContagemExcel) and helpers for side visibility and preloading.handleTurnoSubmit), consolidate/comparison logic, local snapshots, and export to Excel/PDF (exportTurnoResultadoExcel,exportTurnoResultadoPDF).mapImportRow,parsePastedTable,processImportRows, and an admin paste form (handleAdminPasteSubmit) supporting aggressive sync.gerarLayoutVisual,renderSemanticLayout, structures aggregation and PDF export viaexportarLayoutPDF.setupPlanejamento,renderPlanejamentoTable,getOccupiedByWarehouse,renderOcupacao,exportOcupacaoResumoPDF, plus rules and capacity constants.buildEstoqueExportRowsand updateexportPlanilhaEspelho/ export buttons to use enriched data and warn about missing SKU fardos.index.htmlandstyles.css: new tabs and sections, forms, controls (file picker, admin paste, contagem controls, turno history), layout container additions (estruturasGrid,semanticLayout), and full dark-mode CSS tokens and layout styles.normalizeAreaCode,normalizeText), area/parsing utilities (parseAreaForLayout,getAreaVariants), fracionado handling inhandleEstoqueSubmit, safer Supabase client creation and bulkloadAllupdates.Testing
Codex Task