How andreibuenopt-ops/checklist-producao works
Checklist Diário Rotineiro is a Streamlit application for recording and managing production inspections across nine MDF-plant areas, with Supabase-backed storage. The main workflow is operator login, QR- or page-selected checklist entry for the production shift, incremental answer/photo capture, and supervisor-level sign-off; dashboard and history provide review and reporting. Separate branches cover line stoppages, Ecoresinator inspections, adherence, 5 Whys, administration, suggestions, and QR/PDF exports. Edges reflect README workflow statements and SOURCE INDEX references; unsampled implementations are represented by their known paths, without inferring internal calls.
Main entry points: models.py Checklist data access · preenchimento_ui.py Checklist form · app.py Home and QR entry · paradas_ui.py Stoppage interface
Components 27
Entry and access
- Home and QR entry
app.py - Authentication
src/auth.py - User sidebar
src/sidebar.py
Inspection workflows
- Checklist page
pages/1_📋_Preencher_Checklist.py - Checklist form
src/preenchimento_ui.py - Shift calendar
src/turnos.py - Inspection photos
src/fotos.py - Line stoppage page
pages/10_🛑_Parada_de_Linha.py - Stoppage records
src/paradas.py - Stoppage interface
src/paradas_ui.py - Ecoresinator page
pages/7_🧪_Ecoresinator.py - Ecoresinator interface
src/ecoresinator_ui.py - Ecoresinator records
src/ecoresinator.py
Operations and analysis
- Dashboard
pages/2_📊_Dashboard.py - Checklist history
pages/8_📜_Histórico.py - History viewer
src/historico_ui.py - Adherence reports
pages/9_📈_Aderência.py - 5 Whys analysis
pages/6_🔍_5_Porquês.py
Administration
- Administration
pages/4_🛠️_Administração.py - Inspection suggestions
pages/5_💡_Sugestões.py - QR code management
pages/3_🖨️_Gerar_QRCodes.py - QR and poster generator
src/qrcode_gen.py
Data and exports
- Checklist data access
src/models.py - Supabase client
src/db.py - Supabase database
- PDF exports
src/pdf_utils.py
Other components
- Plant user
Connections 31
- Plant user → Home and QR entry: opens app
- Home and QR entry → Authentication: requires login
app.py - Home and QR entry → Checklist form: renders QR checklist
app.py - Plant user → Checklist page: selects checklist
- Checklist page → Checklist form: renders form
pages/1_📋_Preencher_Checklist.py - Checklist form → Checklist data access: saves answers
src/preenchimento_ui.py - Checklist form → Shift calendar: uses shift
src/preenchimento_ui.py - Checklist form → Inspection photos: uploads photos
src/preenchimento_ui.py - Checklist form → History viewer: renders past record
src/preenchimento_ui.py - Checklist form → Plant user: requests sign-off
- Checklist data access → Supabase client: queries
src/models.py - Authentication → Supabase client: authenticates
src/auth.py - Supabase client → Supabase database: connects
src/db.py - Line stoppage page → Stoppage interface: renders stoppage
pages/10_🛑_Parada_de_Linha.py - Line stoppage page → Stoppage records: uses records
pages/10_🛑_Parada_de_Linha.py - Stoppage interface → Stoppage records: manages stoppage
src/paradas_ui.py - Stoppage interface → Inspection photos: uploads photos
src/paradas_ui.py - Ecoresinator page → Ecoresinator interface: renders routine
pages/7_🧪_Ecoresinator.py - Ecoresinator interface → Ecoresinator records: loads and saves
src/ecoresinator_ui.py - Dashboard → Checklist data access: loads indicators
pages/2_📊_Dashboard.py - Dashboard → PDF exports: exports report
pages/2_📊_Dashboard.py - Checklist history → History viewer: shows records
pages/8_📜_Histórico.py - Checklist history → Checklist data access: loads records
pages/8_📜_Histórico.py - Adherence reports → Checklist data access: loads checklist data
pages/9_📈_Aderência.py - Adherence reports → PDF exports: exports monthly report
pages/9_📈_Aderência.py - 5 Whys analysis → Checklist data access: loads analysis data
pages/6_🔍_5_Porquês.py - Administration → Checklist data access: manages templates
pages/4_🛠️_Administração.py - Administration → Authentication: manages users
pages/4_🛠️_Administração.py - Inspection suggestions → Checklist data access: submits suggestions
pages/5_💡_Sugestões.py - QR code management → QR and poster generator: generates codes
pages/3_🖨️_Gerar_QRCodes.py - QR code management → Checklist data access: loads area data
pages/3_🖨️_Gerar_QRCodes.py