How p7pami/insightp7 works
INSIGHT is a browser-based workforce and performance dashboard, with modules for daily sales tracking, staffing, employee profiles, training, and recognition. The visible workflow is module-specific: users work with a dashboard, which computes or displays results and, in sampled modules, reads or writes Supabase data. The tree and source index identify additional substantial product areas, but their internal behavior and connections are not shown. The README is empty, so those areas are represented without inferred call chains.
Main entry points: smeny.js Shift-cycle logic · brigadnici.js Brigádníci dashboard · denni-report.js Daily sales report · denni-tgt.js Daily TGT
Components 18
Staffing and people
- Brigádníci dashboard
insight/brigo/brigadnici.js - Worker utilities
insight/brigo/logic.mjs - Attendance rows
insight/dochazka/rows.js - Lunch planner
insight/obedy/obedy.js - HR dashboard
insight/hr/hr.js
Performance tracking
- Daily sales report
insight/denni-report/denni-report.js - Daily TGT
insight/denni-tgt/denni-tgt.js - Individual TGT report
insight/denni-tgt/report.js - Performance development
insight/vyvoj-plneni/vyvoj.js
Employee experience
- Achievement engine
insight/achievementy/achievementy.js - Achievement definitions
insight/achievementy/definice.js - Employee profile
insight/profil/profil.js - Individual training
insight/trenink/trenink.js - Activity dashboard
insight/aktivita/aktivita.js - Competitions
insight/souteze/souteze.js
Shared logic
- Shift-cycle logic
insight/shared/smeny.js
Other components
- Supabase data store
- Google Sheets
Connections 13
- Brigádníci dashboard → Worker utilities: uses helpers
insight/brigo/brigadnici.js - Brigádníci dashboard → Google Sheets: imports spreadsheet
insight/brigo/brigadnici.js - Daily sales report → Shift-cycle logic: uses shift cycle
insight/shared/smeny.js - Employee profile → Shift-cycle logic: uses shift labels
insight/profil/profil.js - Individual training → Shift-cycle logic: groups shift days
insight/trenink/trenink.js - Daily TGT → Individual TGT report: loads report
insight/denni-tgt/denni-tgt.js - Achievement engine → Achievement definitions: evaluates definitions
insight/achievementy/achievementy.js - Daily sales report → Supabase data store: writes sales rows
insight/denni-report/denni-report.js - Daily TGT → Supabase data store: reads profiles
insight/denni-tgt/denni-tgt.js - Individual TGT report → Supabase data store: stores training
insight/denni-tgt/report.js - Performance development → Supabase data store: stores snapshots
insight/vyvoj-plneni/vyvoj.js - Lunch planner → Supabase data store: saves color settings
insight/obedy/obedy.js - Employee profile → Supabase data store: reads activity
insight/profil/profil.js