Repository navigation
Pain Points
Analysis Date: 2026-06-30
Source: usage_cheatsheet documentation review
Scope: All festival workflow stages (setup, data loading, operations)
This page presents discussion of the BeerFestDB festival workflow as implemented in versions 1.0 to 1.2, identifying areas of particular inconvenience to the users, and suggesting possible avenues for future development addressing these issues. It has been generated using an LLM (Claude Haiku 4.5) to analyse the usage_cheatsheet document in the main git repository. This document therefore represents, at best, an early-stage round of brainstorming. The suggestions contained within will need substantial review and consideration before any are adopted as development targets.
The usage_cheatsheet identifies 20+ workflow pain points across BeerfestDB operations. Analysis reveals that most complexity stems from:
- Manual YAML configuration editing (4+ separate edit cycles per festival)
- Multi-step spreadsheet data munging (error-prone, 10+ manual steps)
- Disconnect between web UI and CLI script requirements
- Missing validation/automation in critical workflow steps
Key Finding: Document explicitly states several processes are "error-prone" and advises "check carefully to avoid duplications and omissions" — indicators of workflow design issues.
Implementing the Top 3 recommendations could reduce per-festival setup time by 1-2 hours and significantly lower data corruption rates.
Problem:
- Requires 10+ manual steps: download → save as CSV → cut columns → duplicate SOR rows → add columns → munge headers → validate cask sizes → delete unordered rows
- Document warning: "either approach is error-prone"
- Multiple opportunities for duplicate entries, missing rows, column misalignment
- Users must manually consult database to verify allowed container size descriptions
Impact:
- Per-festival time cost: 30–40 minutes
- Error rate: High (data corruption, load failures)
- Frequency: Every festival, sometimes multiple times for corrections/reorders
Simplification Strategy:
- Create web UI import wizard with step-by-step guidance
- Auto-detect and validate column headers
- Display container size dropdown (sourced from DB enum, not free-text)
- Auto-detect SOR requirements and offer to duplicate rows
- Preview final data before commit
Effort: Medium
ROI: Highest
Resolution: Scheduled for fix (at some point; complex task); issue #172 and sub-issues.
Problem:
- Users must manually edit
beerfestdb_web.ymlat 4+ different workflow stages:- Set
current_festivalat the start (Step 1) - Temporary edits for convenient loading (Step 5)
- Unprotect
ProductOrderbefore reorders (Reorder workflow, Step 3a) - Protect/unprotect categories for bulk loads (multiple iterations)
- Set
public_festival_tagfor web uploads
- Set
- Easy to introduce YAML syntax errors (no validation)
- Requires exiting web UI and editing config files
- Risk of leaving database in unprotected state post-load
Impact:
- Per-festival time cost: 15–20 minutes
- Error risk: Critical (syntax errors, incomplete protection, data exposure)
- Frequency: High (every festival, multiple cycles)
Simplification Strategy:
- Move all configuration to admin panel in web UI
- Festival selection dropdown (replaces
current_festivalYAML edit) - Toggle switches for protected categories (replaces protect/unprotect YAML cycles)
- Public festival tag selector in UI
- Automatic protection cycling for bulk imports (staging mode)
- Validate all changes before saving
Effort: Medium
ROI: Very High
Resolution: Scheduled for fix in v1.3rc: Issue #131 covers these issues.
Problem:
- Users must know exact database text descriptions for container sizes
- Free-text input in CSV files; no dropdown validation
- Document warning: "Watch for typos, especially if a load fails"
- Common failure mode:
load_data.plfails silently on unknown container sizes - Users must debug by running:
select description from container_size;
Impact:
- Per-festival cost: 10–15 minutes (debugging + reloading)
- Error rate: Medium (2–3 typos per typical load)
- Frequency: Every bulk import
Simplification Strategy:
- Replace free-text container size fields with dropdown menus in CSV import UI
- Validate against
container_sizedatabase table during preview - Offer autocomplete for users entering via CLI/scripts
- Provide downloadable reference (current sizes + allowed values)
Effort: Low
ROI: High
Resolution: Duplicate: this seems like it should be part of the main database import wizard functionality, as part of its validation step. Keep this idea in mind for wizard design, but in practice we're not getting away from externally-created spreadsheets with dodgy CV values that need validating.
Problem:
- When adding new casks at arrival time, users must:
- Know they need to find the next available ID
- Run manual database query:
select max(cm.cellar_reference) from cask_management cm, festival f where f.festival_id=cm.festival_id and f.name='[festival]'; - Manually increment and enter the ID
- No web UI suggests next available ID
- Risk of duplicate or missing IDs
- Friction during fast-paced arrival data entry
Impact:
- Per incident: 2–5 minutes per new cask
- Error risk: Low (but causes data integrity issues)
- Frequency: 5–20 times per festival
Simplification Strategy:
- Auto-generate next cask ID in web UI; display as pre-filled suggestion
- Highlight on "Add Cask" form
- Allow manual override if needed
- Log why manual override was necessary for audit
Effort: Low
ROI: Medium (high UX improvement, moderate time savings)
Resolution: Scheduled for fix; see issue #170.
Problem:
- Users must manually create "Measurement batches" in web UI
- Document warning in ALL CAPS: "Manually enter 'Measurement batches' -- otherwise no dip data slots print out!"
- No warning in UI when dip data is created without measurement batches
- Silent failure: users print dip sheets with no data entry slots
- Users realize problem only when cellar tries to use sheets
Impact:
- Per incident: 15–30 minutes (reprinting + wasted materials)
- Error rate: High (users forget)
- Frequency: Almost every festival
Simplification Strategy:
- Auto-create measurement batches when festival setup is completed
- Provide prominent UI warning if dips are created without batches
- Validate in form: don't allow dip creation without at least one measurement batch
- Document recommended schedule for batch creation
Effort: Very Low
ROI: High
Resolution: Scheduled for fix; covered by issue #169.
Problem:
- Manual image processing required:
- Reduce to ~150 pixels
- Flatten (remove alpha channel)
- Manually add to
/home/images/directory - Manually update
templates/order_template.tt2to reference new logo
- No validation that logo format is correct
- Easy to break template references
Impact:
- Per-festival cost: 5–10 minutes
- Error risk: Template reference failures, image format issues
- Frequency: Every festival (if using logo)
Simplification Strategy:
- Add logo upload UI in festival setup
- Auto-resize to 150px and flatten in background
- Auto-update templates
- Preview logo on generated documents before final commit
Effort: Low
ROI: Medium
Resolution: Won't fix. At the moment we're not even using the logo, so this is a bit of a non-issue.
Problem:
- Protection must be toggled for bulk imports:
- User unprotects category (e.g.,
ProductOrder) - Runs
load_data.pl - Must remember to re-protect afterward
- User unprotects category (e.g.,
- Risk of leaving categories unprotected in production
- Involves YAML editing (see Pain Point #2)
- Workflow is manual and easy to forget
Impact:
- Per cycle: 2–3 minutes
- Error risk: Data integrity (accidental duplicate creation)
- Frequency: 3–5 times per festival
Simplification Strategy:
- Add "Staging Mode" to web UI admin panel
- Automatically toggle protection for bulk imports
- Auto-revert protection when import completes
- Log all protection changes for audit
- Prevent users from leaving UI in unprotected state
Effort: Medium
ROI: High
Resolution: Issue #171; will depend on data import wizard though.
Problem:
- Document note (Appendix 2): "for any user, the mysql password is NOT the same as the beerfestdb web interface password"
- No prominent UI indication of this
- Users frequently attempt to use web password for MySQL CLI
- Causes login failures and support requests
Impact:
- Per incident: 5–10 minutes (debugging)
- Frequency: Every new user, occasionally experienced users
- Error rate: High (confusion)
Simplification Strategy:
- Add explicit warning on web login page
- Provide clear password reset instructions for each system
- Consider unified authentication system (OAuth, LDAP, etc.)
- Document in prominent onboarding materials
Effort: Very Low
ROI: Low (low frequency, but improves UX)
Resolution: Won't fix. We are slowly moving towards a system where end users should never need to connect directly to the MySQL database, so this pain point should eventually disappear.
Problem:
- Even for reorders, users must:
- Create new order batch in web interface
- Prepare CSV file with specific columns
- Unprotect
ProductOrderin YAML (Pain Point #2, #7) - Run
load_data.pl - Remember to flag items as arrived
- No integration between web UI and reorder process
Impact:
- Per reorder: 15–25 minutes
- Frequency: 2–5 times per festival
Simplification Strategy:
- Add "New Reorder" button in web UI
- Walk through reorder workflow in UI wizard
- Auto-handle YAML protect/unprotect
- Auto-flag items as arrived if specified in import
- Validate columns before load attempt
Effort: Medium
ROI: Medium
Resolution: Duplicate. The issues here are essentially identical to those for the main data load, and so we'll handle them as part of the data import wizard.
Problem:
- Requires two-stage loading process:
- First load: companies, product names, style, cask sizes (no ABV required)
- Second load: gyle ABV, price, festival_name
- Columns differ between loads
- Users must prepare two separate files
- Risk of mismatches or incomplete updates
Impact:
- Per festival: 10–15 minutes (two file preparation steps)
- Error rate: Medium (column mismatch, missing gyles)
- Frequency: Every foreign beer batch, every cider/mead batch
Simplification Strategy:
- Allow optional
gyle_abvcolumn in single-stage import - Auto-create gyles if
gyle_abvis provided - Merge both workflows into one
- Validate all required columns in preview
Effort: Low to Medium
ROI: Medium
Resolution: Won't fix. The real issue here is data availability in meatspace; gyle_abv can already be loaded alongside the main data load, but is usually not available until cider grading is complete. Likewise, prices from other departments are often delayed for reasons outside our control. Something to bear in mind when designing the data import wizard functionality.
Problem:
- Web UI requires prices in pence
-
load_data.plexpects prices in pounds - No automatic conversion
- Easy to introduce 100× conversion errors
- Users must remember to convert manually
Impact:
- Per incident: 5–10 minutes (debugging, reload)
- Error rate: Low but catastrophic when it happens
- Frequency: 1–2 times per festival (typically caught during preview)
Simplification Strategy:
- Auto-detect input format (pounds vs. pence)
- Accept both formats in load_data.pl
- Display currency symbol in UI to clarify expected format
- Warn on import if prices seem too low/high
Effort: Low
ROI: Medium
Resolution: Fixed as of v1.1; all prices now consistently in pounds. Fixed usage_cheatsheet.
Problem:
- Manual festival name update required in
dip_figure_analysis.Rnw - Complex Bioconductor dependency setup for first-time users
- SWEAVE compilation requires specific flags and working directory
- Error messages about "negative per diem dips" require data investigation
- Requires local R installation and compilation environment
Impact:
- First-time setup: 30–60 minutes
- Per report generation: 5–10 minutes
- Frequency: 1–2 times per festival
Simplification Strategy:
- Make festival auto-selectable via CLI argument
- Package as Docker container (all dependencies included)
- Or integrate into Streamlit dashboard (already started, see Appendix 9)
- Auto-detect and report data anomalies (negative dips) with suggested corrections
Effort: Medium to High
ROI: Medium (improves accessibility, one-time benefit)
Resolution: Covered by issue #164 and sub-issues. We leave the note about negative per diem dips even though they should now be much rarer.
-
Issue: Must remember to set
order_finalized=1in CSV; easy to forget - Workaround: Documentation warns about this; users learn via error messages
- Simplification: Add prominent UI checkbox "Mark as finalized?" in import wizard
- Effort: Very Low
Resolution: Included as part of #172.
- Issue: No built-in character picker; users directed to external websites
- Workaround: Exists; acceptable for rare use case
- Simplification: Add character picker UI widget (low priority)
- Effort: Low
Resolution: Rather than the proposed solution, create a more comprehensive mapping between UTF-8 and LaTeX (covered by #163).
- Issue: Document note: "we have always kludged by manually editing one of the cask end signs in the .tex file"
- Context: Database schema limitation (same product, different dispense)
- Simplification: Redesign template system to support this use case
- Effort: High (architectural change)
Resolution: Won't fix. Far too high a cost for what is a relatively unusual edge case. Retain ability to edit cask end sign .tex files.
-
Issue: Requires
pdflatex -shell-escapeflag (security risk) - Workaround: Optional; users can choose non-barcode labels
- Simplification: Use safer PDF generation library
- Effort: Medium (breaking change)
Resolution: Unclear if this is currently achievable (investigate lualatex/xelatex). We tend not to use the barcode labels anyway, though.
- Issue: Appendix 5 provides 5-line SQL query; users must copy and customize festival name
- Workaround: Example provided; CLI experts only
- Simplification: Add "Export Index Cards" button in web UI
- Effort: Low
Resolution: Not much demand for this at the moment. Move this to an appendix in usage_cheatsheet (also note we can use a template instead of the SQL query)
- Issue: Users must manually calculate firkin equivalents and bay assignments
- Workaround: Clear constraints documented
- Simplification: Build calculator tool; integrate into Streamlit dashboard
- Effort: Medium
Resolution: Scheduled for fix in v1.3rc: Issue #3 and sub-issues cover this issue.
-
Issue: Requires SSH port forwarding (
ssh -L 3307) - Context: New 2026; learning curve only one-time
- Workaround: Documentation provided in Appendix 9
- Simplification: Pre-configure or document more thoroughly
- Effort: Very Low (documentation improvement)
Resolution: Fixed: dashboard deployed in production so SSH port forwarding no longer needed. Fixed usage_cheatsheet, retaining dev note in case it's useful.
- Measurement batch auto-creation (Pain Point #5)
- Auto-generate cask IDs (Pain Point #4)
- Container size dropdown validation (Pain Point #3)
- Logo upload & auto-processing (Pain Point #6)
Estimated benefit: Prevent most data integrity issues; reduce per-festival time by 20–30 minutes
Implementation time: 1–2 weeks
- Festival admin panel (Pain Point #2) — replaces YAML editing
- CSV import wizard (Pain Point #1) — handles 80% of data loading friction
- Protection toggle automation (Pain Point #7) — removes manual YAML cycles
Estimated benefit: Reduce per-festival setup time by 45–60 minutes; significantly lower error rates
Implementation time: 4–6 weeks
- Reorder workflow UI (Pain Point #9)
- Single-stage gyle import (Pain Point #10)
- R script integration (Pain Point #12)
- Stillage plan calculator (Pain Point #18)
Estimated benefit: Streamline specialty workflows; improve data consistency
Implementation time: 4–8 weeks
After implementing Phase 1 + Phase 2:
- ✅ Per-festival setup time reduced by ~1.5 hours (>30%)
- ✅ Data integrity errors reduced by >50% (container size mismatches, duplicate cask IDs, missing measurement batches)
- ✅ Users no longer need to manually edit YAML files
- ✅ CSV import success rate >95% on first attempt
- ✅ New user onboarding time reduced by 50%
- Critical insight: The usage_cheatsheet is excellent documentation, but highlights that several workflows are "error-prone" — this signals design issues, not user training issues.
- Quick validation: Several pain points are already noted in existing code (e.g., Appendix 2 on password confusion), indicating these are known issues waiting for fixes.
- Database schema limitation: Pain Point #15 (cask end signs) reveals a schema limitation; architectural decision needed on whether to fix root cause or continue with workarounds.
- Opportunity: Streamlit dashboard (Appendix 9) is already started; could be hub for many Pain Points (#12, #18, and others).
- Testing recommendation: After Phase 1 implementation, run a full festival workflow test with non-technical users to identify UX improvements not captured in this analysis.