Files
evig/docs/archive/PROJECT_MIGRATION_CHECKLIST.md
g-butandClaude Opus 4.7 2a0829efc3 docs: clean repo presentation — README rewrite + archive 42 stale doc files
Repo cleanup pass focused on what visitors (engineers evaluating the
codebase, prospective contributors, allied non-profits, donors) see when
they land on the GitHub page.

README.md:
- Reframe lede around the one-line value prop ("Used computers repaired
  and rehomed — not landfilled") so the mission is immediately legible.
- Add a "What this platform does" surface table (storefront, P2P
  marketplace, IT-Hilfe, workshops, erfassung, member services, HIRN AI).
- Add a "How a non-profit funds this kind of platform" section laying
  out the five revenue + sustenance streams (storefront margin, paid
  services, donations, membership, grants) so the economic model is
  transparent. Explicit "not VC-backed" framing so VC visitors don't
  bounce confused — we're built for adoption by other circular-economy
  orgs, not for an exit.

docs/:
- 42 dated/one-time files (PHASE_*, PROGRESS_*, AUDIT_REPORT, INCIDENT_*,
  HANDOFF_*, *_COMPLETE, DATABASE_CONNECTION_ISSUE_RESOLUTION, all the
  email-solution-comparisons whose decisions long since shipped, etc.)
  moved to docs/archive/ via `git mv` so history is preserved but the
  index isn't drowning in work logs.
- docs/README.md rewritten as a real index — six sections (Getting
  started, Architecture, Product surfaces, Design, Operations, Mission)
  pointing at the 24 curated reference docs that remain at docs/ root.
- The stale "Current Status (2025-12-02)" block in docs/README.md is gone.

Also (separate, prior in this session): 5 stale remote branches deleted
on origin — merged/closed/abandoned `claude/loop-bugfixes-2026-05`,
`claude/audit-ssot-dry-violations-k4aVl`, `snyk-fix-*` (x2),
`claude/improve-partnerships-page-ELMcD`. Remaining 11 origin branches
all correspond to open PRs (10 dependabot + 1 active feature).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-28 08:12:16 +02:00

4.5 KiB

Project Migration Checklist

Created: 2025-01-27
Last Modified: 2025-01-27
Last Modified Summary: Checklist for safely migrating project pages without losing content

Critical Rules

✅ NEVER

  • Remove content - Every piece of text must be preserved
  • Make up information - Only use existing content
  • Change pricing - Leave pricing sections exactly as they are
  • Simplify complex sections - Some pages need custom layouts
  • Auto-migrate - Each page needs manual review

✅ ALWAYS

  • Preserve all text - Verify every title, description, and feature
  • Match original layout - If a page has 4 sections, keep 4 sections
  • Keep custom styling - Some pages need unique designs
  • Test visual appearance - Screenshot comparison recommended
  • Document differences - Note any intentional changes

Migration Process

Step 1: Read Original File

git show HEAD:src/app/projects/[project]/page.tsx

Step 2: Extract Content

  • List all text content
  • Identify sections
  • Note special styling
  • Mark pricing/complex sections

Step 3: Create Config

const projectConfig: ProjectPageConfig = {
  hero: { /* ... */ },
  sections: [ /* ALL sections */ ],
  metadata: { /* ... */ }
}

Step 4: Verify Content Count

# Count text elements in original
git show HEAD:src/app/projects/[project]/page.tsx | grep -E "(title|description|text):" | wc -l

# Count text elements in new
cat src/app/projects/[project]/page.tsx | grep -E "(title|description|text):" | wc -l

# Should be same or more (config adds structure)

Step 5: Visual Verification

  • Compare screenshots
  • Check button text
  • Verify sections appear
  • Test responsive layout

Content Preservation Examples

Compirat Migration ✅

  • Before: 383 lines
  • After: 133 lines
  • Content: 100% preserved
  • Status: All text verified

Pages NOT Ready for Migration

Kivitendo ⚠️

  • Reason: Has pricing section (CHF 100/month)
  • Action: Use custom layout for pricing
  • Status: Keep original for now

Linuxola ⚠️

  • Reason: Has social sharing component
  • Action: Add ShareButton support to components
  • Status: Needs component enhancement

FreieComputer ⚠️

  • Reason: Complex custom layout
  • Action: Manual review needed
  • Status: Not migrated yet

Verification Commands

Content Preservation Check

# Get original content count
ORIGINAL=$(git show HEAD:src/app/projects/[project]/page.tsx | grep -c -E "(title|description|text):")

# Get new content count  
NEW=$(cat src/app/projects/[project]/page.tsx | grep -c -E "(title|description|text):")

# Compare
echo "Original: $ORIGINAL, New: $NEW"

Button Text Check

# Verify all buttons have text
cat src/app/projects/[project]/page.tsx | grep "text:" | grep -v "^[[:space:]]*$"

Metadata Check

# Verify metadata is preserved
grep -A 2 "metadata:" src/app/projects/[project]/page.tsx

Common Issues to Avoid

1. Empty Buttons

  • Symptom: Button renders without text
  • Fix: Always include text property in CTA config
  • Check: Line 39 in ProjectHero.tsx renders {cta.text}

2. Missing Features

  • Symptom: Feature list is shorter
  • Fix: Include all features in features array
  • Check: Compare feature count

3. Lost Custom Styling

  • Symptom: Page looks different
  • Fix: Use custom section components if needed
  • Check: Screenshot comparison

4. Changed Pricing

  • Symptom: Pricing is wrong or missing
  • Fix: DON'T migrate - keep original
  • Check: Never touch pricing sections

Safe Migration List

✅ Safe to Migrate

  • Pages with simple layout
  • No pricing information
  • Standard sections only
  • No custom components

⚠️ Needs Caution

  • Pages with pricing
  • Custom social sharing
  • Complex layouts
  • Special functionality

❌ Don't Migrate

  • Pages with financial info
  • Pages with custom business logic
  • Pages requiring special features
  • Pages with extensive custom code

Next Steps

  1. ✅ Migrated: Compirat (verified, all content preserved)
  2. ⏸️ Waiting: Other pages (manual review required)
  3. 📋 Documentation: Created
  4. 🔍 Review: User approval for each migration

Summary

Successfully migrated: Compirat page with 100% content preservation
Reduced code: 65% (383 → 133 lines)
No content lost: All text, features, and sections preserved
Fixed bug: Empty button issue resolved

Next: Manual review and approval required for each additional page migration.