|
| 1 | +# Codebase Cleanup - Issues Summary |
| 2 | + |
| 3 | +## Overview |
| 4 | + |
| 5 | +This directory contains documentation for a comprehensive cleanup of the Product Analytics MasterClass repository. Seven detailed GitHub issues have been prepared to systematically address organizational and structural problems in the codebase. |
| 6 | + |
| 7 | +## Files in This Package |
| 8 | + |
| 9 | +1. **ISSUES_TO_CREATE.md** (Main document - ~500 lines) |
| 10 | + - Contains 7 fully detailed GitHub issues |
| 11 | + - Each issue includes problem description, analysis, solutions, and definition of done |
| 12 | + - Ready to be copied to GitHub Issues one at a time |
| 13 | + |
| 14 | +2. **HOW_TO_CREATE_ISSUES.md** (Instructions) |
| 15 | + - Step-by-step guide for creating issues on GitHub |
| 16 | + - Includes manual method, CLI method, and automated script |
| 17 | + - Provides checklist and best practices |
| 18 | + |
| 19 | +3. **.github/ISSUE_TEMPLATE.md** (Template) |
| 20 | + - Reusable template for future cleanup issues |
| 21 | + - Ensures consistency in issue creation |
| 22 | + |
| 23 | +## The 7 Issues |
| 24 | + |
| 25 | +### Issue #1: Consolidate duplicate build_book.sh scripts |
| 26 | +- **Priority:** High |
| 27 | +- **Effort:** Small (1-2 hours) |
| 28 | +- **Labels:** `cleanup`, `documentation`, `scripts` |
| 29 | +- **Summary:** Remove duplicate build scripts and standardize on one |
| 30 | + |
| 31 | +### Issue #2: Evaluate Content folder usage and redundancy |
| 32 | +- **Priority:** Medium |
| 33 | +- **Effort:** Medium (3-4 hours) |
| 34 | +- **Labels:** `cleanup`, `documentation`, `content-structure` |
| 35 | +- **Summary:** Determine purpose of Content/ folder and eliminate redundancy |
| 36 | + |
| 37 | +### Issue #3: Restore or remove week directory structure in book-src |
| 38 | +- **Priority:** High |
| 39 | +- **Effort:** Small-Medium (2-3 hours) |
| 40 | +- **Labels:** `cleanup`, `structure`, `decision-needed` |
| 41 | +- **Summary:** Decide whether to restore week-based organization or keep flat structure |
| 42 | + |
| 43 | +### Issue #4: Populate or remove empty placeholder report files |
| 44 | +- **Priority:** Medium |
| 45 | +- **Effort:** Large (8-12 hours if creating content) |
| 46 | +- **Labels:** `cleanup`, `content`, `reports` |
| 47 | +- **Summary:** Fill in or remove 9 empty/placeholder report files |
| 48 | + |
| 49 | +### Issue #5: Review and update documentation files for consistency |
| 50 | +- **Priority:** Medium |
| 51 | +- **Effort:** Medium (3-4 hours) |
| 52 | +- **Labels:** `documentation`, `cleanup`, `consistency` |
| 53 | +- **Summary:** Update README, CONTRIBUTING, and other docs to reflect current structure |
| 54 | + |
| 55 | +### Issue #6: Improve SUMMARY.md generation and book navigation |
| 56 | +- **Priority:** High |
| 57 | +- **Effort:** Small-Medium (2-3 hours) |
| 58 | +- **Labels:** `enhancement`, `user-experience`, `mdbook` |
| 59 | +- **Summary:** Enhance mdBook table of contents for better navigation |
| 60 | + |
| 61 | +### Issue #7: Comprehensive codebase audit and cleanup roadmap |
| 62 | +- **Priority:** High |
| 63 | +- **Effort:** Medium (4-6 hours for audit) |
| 64 | +- **Labels:** `epic`, `cleanup`, `planning` |
| 65 | +- **Summary:** Meta-issue to track overall cleanup progress and identify additional items |
| 66 | + |
| 67 | +## Recommended Creation Order |
| 68 | + |
| 69 | +1. **Issue #1** - Quick win that unblocks other work |
| 70 | +2. **Issue #2** - Strategic decision about content organization |
| 71 | +3. **Issue #3** - Depends on Issue #2 decision |
| 72 | +4. **Issue #4** - Can be done in parallel with others |
| 73 | +5. **Issue #5** - Should be done after #1-3 are resolved |
| 74 | +6. **Issue #6** - Depends on decisions from #2 and #3 |
| 75 | +7. **Issue #7** - Meta-issue to track everything |
| 76 | + |
| 77 | +## Quick Start |
| 78 | + |
| 79 | +### Option 1: Manual Creation (5-10 minutes per issue) |
| 80 | +1. Open `ISSUES_TO_CREATE.md` |
| 81 | +2. Copy each issue section |
| 82 | +3. Create new GitHub issue |
| 83 | +4. Paste content and add labels |
| 84 | +5. Repeat for all 7 issues |
| 85 | + |
| 86 | +### Option 2: Automated Creation (5 minutes total) |
| 87 | +1. Read `HOW_TO_CREATE_ISSUES.md` |
| 88 | +2. Use the provided bash script |
| 89 | +3. Run: `./create_issues.sh` |
| 90 | +4. All 7 issues created automatically |
| 91 | + |
| 92 | +## What's Included in Each Issue |
| 93 | + |
| 94 | +Every issue contains: |
| 95 | + |
| 96 | +- ✅ **Problem Description** - Clear explanation of what needs fixing |
| 97 | +- ✅ **Current State Analysis** - Detailed assessment with file references |
| 98 | +- ✅ **Impact** - Why this matters and what problems it causes |
| 99 | +- ✅ **Recommended Solutions** - Multiple options with pros/cons |
| 100 | +- ✅ **Files to Check/Update** - Specific file checklist |
| 101 | +- ✅ **Definition of Done** - Clear completion criteria |
| 102 | +- ✅ **Related Issues** - Cross-references to other issues |
| 103 | +- ✅ **Additional Context** - Background information and rationale |
| 104 | + |
| 105 | +## Total Effort Estimate |
| 106 | + |
| 107 | +- **Audit & Planning:** 6-10 hours (Issues #7, #2, #3) |
| 108 | +- **Quick Wins:** 3-5 hours (Issues #1, #6) |
| 109 | +- **Documentation:** 3-4 hours (Issue #5) |
| 110 | +- **Content Creation:** 8-12 hours (Issue #4, if creating content) |
| 111 | + |
| 112 | +**Total:** 20-31 hours depending on decisions made |
| 113 | + |
| 114 | +## Dependencies Between Issues |
| 115 | + |
| 116 | +``` |
| 117 | +Issue #1 (Build scripts) |
| 118 | + └─> Issue #5 (Documentation) - docs reference build scripts |
| 119 | +
|
| 120 | +Issue #2 (Content folder) |
| 121 | + └─> Issue #3 (Week directories) - structure decision |
| 122 | + └─> Issue #6 (SUMMARY.md) - navigation depends on structure |
| 123 | +
|
| 124 | +Issue #3 (Week directories) |
| 125 | + └─> Issue #6 (SUMMARY.md) - navigation depends on structure |
| 126 | +
|
| 127 | +Issue #4 (Reports) |
| 128 | + └─> Issue #6 (SUMMARY.md) - what to list in TOC |
| 129 | +
|
| 130 | +Issue #7 (Audit) |
| 131 | + └─> All issues - tracks overall progress |
| 132 | +``` |
| 133 | + |
| 134 | +## Success Criteria |
| 135 | + |
| 136 | +This cleanup effort will be successful when: |
| 137 | + |
| 138 | +1. ✅ No duplicate or conflicting files exist |
| 139 | +2. ✅ All documentation is current and accurate |
| 140 | +3. ✅ Build process is streamlined and well-documented |
| 141 | +4. ✅ Content organization is clear and logical |
| 142 | +5. ✅ All files have a clear purpose and are referenced |
| 143 | +6. ✅ Navigation experience is smooth for learners |
| 144 | +7. ✅ Repository is easy to maintain going forward |
| 145 | + |
| 146 | +## Getting Help |
| 147 | + |
| 148 | +- Read the full issue descriptions in `ISSUES_TO_CREATE.md` |
| 149 | +- Follow the creation guide in `HOW_TO_CREATE_ISSUES.md` |
| 150 | +- Use `.github/ISSUE_TEMPLATE.md` for any new cleanup issues |
| 151 | +- Reference this summary for overview and priorities |
| 152 | + |
| 153 | +## Next Steps |
| 154 | + |
| 155 | +1. Review `ISSUES_TO_CREATE.md` to understand all issues |
| 156 | +2. Follow `HOW_TO_CREATE_ISSUES.md` to create issues on GitHub |
| 157 | +3. Prioritize and assign issues to team members |
| 158 | +4. Begin work on Issue #1 (quick win) |
| 159 | +5. Make strategic decisions on Issues #2 and #3 |
| 160 | +6. Track progress using Issue #7 as epic |
| 161 | + |
| 162 | +--- |
| 163 | + |
| 164 | +**Created:** 2025-11-13 |
| 165 | +**Repository:** Analytical-Guide/Product-Analytics-MasterClass |
| 166 | +**Purpose:** Comprehensive codebase cleanup and organization |
| 167 | + |
0 commit comments