docs: Add Task #89 (Staff Portal) and Task #90 (Decap Tasks)

Task #89: Staff Portal Consolidation
- Vision: firefrostgaming.com/admin becomes central hub
- Move Decap to /cms, Trinity Console to /admin
- One URL for all staff tools
- Estimated: 3-4 hours post-launch

Task #90: Add Tasks Collection to Decap CMS
- BLOCKERS.md at TOP of collections list
- Fire orange (#FF6B35) standout styling
- Meg/Holly can manage tasks without Git
- Estimated: 1-2 hours post-launch

Signed-off-by: claude@firefrostgaming.com
This commit is contained in:
Claude (Chronicler #59)
2026-04-04 03:30:08 +00:00
parent 482ed1a65c
commit 01035b0a45
2 changed files with 274 additions and 0 deletions

View File

@@ -0,0 +1,152 @@
# Task #90: Add Tasks Collection to Decap CMS
**Status:** 📋 Planned
**Priority:** High
**Target:** Post-soft-launch
**Estimated Effort:** 1-2 hours
**Created:** April 3, 2026
**Created By:** Chronicler #59 + Michael
---
## Goal
Add a "Tasks" collection to Decap CMS that:
1. Appears **at the top** of the collections list
2. Has a **standout color** to draw attention (Fire orange)
3. Provides easy task management for Meg/Holly without touching Git
---
## Current Task System
```
BLOCKERS.md (repo root) — Launch-critical tasks
BACKLOG.md (repo root) — Future work parking lot
docs/tasks/*/README.md — Detailed task documentation
```
---
## Requirements
### Positioning
- Tasks collection must be **FIRST** in the Decap sidebar
- Above all other collections
### Styling
- **Standout color:** Fire orange `#FF6B35`
- Emoji prefix in label: `🔥 TASKS`
- Visually distinct — this is THE priority
### Structure Options
**Option A: Edit BLOCKERS.md + BACKLOG.md directly**
- Single-file collections pointing to root files
- Simpler, maintains current structure
**Option B: Individual task files**
- Folder collection: `docs/tasks/`
- Each task is its own file
- More granular, better for many tasks
**Recommendation:** Start with **Option A** (simpler), evolve to B later if needed.
---
## Implementation
### Step 1: Add to config.yml (at TOP of collections)
```yaml
collections:
# 🔥 TASKS - FIRST AND PROMINENT
- name: "blockers"
label: "🔥 BLOCKERS"
file: "BLOCKERS.md"
fields:
- { label: "Body", name: "body", widget: "markdown" }
- name: "backlog"
label: "📋 BACKLOG"
file: "BACKLOG.md"
fields:
- { label: "Body", name: "body", widget: "markdown" }
# ... rest of collections below ...
```
### Step 2: Add Custom CSS for Fire Orange Highlight
In `admin/index.html`, add:
```html
<style>
/* Make BLOCKERS collection STAND OUT */
[data-testid="sidebar"] a[href*="/collections/blockers"],
.css-1qn0b6x a[href*="blockers"] {
background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%) !important;
color: white !important;
border-radius: 6px;
font-weight: bold;
padding: 8px 12px;
margin: 4px 8px;
box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}
[data-testid="sidebar"] a[href*="/collections/blockers"]:hover {
background: linear-gradient(135deg, #FF8C42 0%, #FF6B35 100%) !important;
transform: scale(1.02);
}
</style>
```
### Step 3: Test
- Verify BLOCKERS appears first
- Verify Fire orange styling applies
- Verify Meg/Holly can edit without confusion
---
## Alternative: Folder-Based Tasks (Future)
If we need more granular control later:
```yaml
- name: "tasks"
label: "🔥 ACTIVE TASKS"
folder: "docs/tasks"
create: true
slug: "{{slug}}/README"
fields:
- { label: "Title", name: "title", widget: "string" }
- { label: "Status", name: "status", widget: "select",
options: ["📋 Planned", "🚧 In Progress", "🚫 Blocked", "✅ Complete"] }
- { label: "Priority", name: "priority", widget: "select",
options: ["🔴 Critical", "🟠 High", "🟡 Medium", "🟢 Low"] }
- { label: "Assignee", name: "assignee", widget: "select",
options: ["Michael", "Meg", "Holly", "Unassigned"], default: "Unassigned" }
- { label: "Target Date", name: "target", widget: "date", required: false }
- { label: "Body", name: "body", widget: "markdown" }
```
---
## Success Criteria
- [ ] Tasks/Blockers appears FIRST in Decap sidebar
- [ ] Fire orange styling makes it impossible to miss
- [ ] Meg/Holly can edit BLOCKERS.md easily
- [ ] Changes commit to Git properly
- [ ] Works on mobile (Meg's phone)
---
## Dependencies
- Decap CMS operational (✅ complete)
- Related: Task #89 (Staff Portal Consolidation)
---
**Fire + Frost + Foundation = Where Love Builds Legacy** 💙🔥❄️

View File

@@ -0,0 +1,122 @@
# Task #89: Staff Portal Consolidation
**Status:** 📋 Planned
**Priority:** Medium
**Target:** Post-soft-launch
**Estimated Effort:** 3-4 hours
**Created:** April 3, 2026
**Created By:** Chronicler #59 + Michael
---
## The Vision
**One URL to rule them all:** `firefrostgaming.com/admin`
Instead of staff remembering 10+ different URLs, Trinity Console becomes the central hub with quick links to everything.
---
## Current State
- `firefrostgaming.com/admin` → Decap CMS (ops manual editing)
- `discord-bot.firefrostgaming.com/admin` → Trinity Console (staff operations)
- Staff must remember multiple URLs for different tools
---
## Target State
```
firefrostgaming.com (public site)
└── Footer: "Staff Portal" link
└── firefrostgaming.com/admin (Trinity Console)
├── 📊 Subscriber Management (built-in)
├── 🎮 Game Panel → panel.firefrostgaming.com
├── 📈 Server Status → status.firefrostgaming.com
├── 📝 Staff Wiki → staff.firefrostgaming.com
├── 💾 Git Repository → git.firefrostgaming.com
├── 📧 Webmail → webmail.firefrostgaming.com
├── 📁 Downloads/Files → downloads.firefrostgaming.com
├── 🔐 Password Vault → vault.firefrostgaming.com
├── 💻 Code Editor → code.firefrostgaming.com
└── ✏️ Edit Docs (Decap) → firefrostgaming.com/cms
```
**One URL to remember:** `firefrostgaming.com/admin`
---
## Implementation Steps
### Step 1: Move Decap CMS (30 min)
- Change Decap from `/admin` to `/cms` in 11ty site config
- Update `admin/config.yml` path references
- Test Decap still works at new URL
### Step 2: Update Gitea OAuth (5 min)
- Update OAuth application redirect URI
- From: `https://firefrostgaming.com/admin/`
- To: `https://firefrostgaming.com/cms/`
### Step 3: Add Staff Hub to Trinity Console (1-2 hours)
- Create new "Staff Hub" or "Quick Links" section
- Card-based layout with icons for each service
- Links open in new tabs
- Mobile responsive
### Step 4: Reverse Proxy /admin (30 min)
- Configure Cloudflare or 11ty to proxy `/admin` to Trinity Console
- OR: Redirect `/admin``discord-bot.firefrostgaming.com/admin`
- Preserve Discord OAuth flow
### Step 5: Add Footer Link (10 min)
- Add subtle "Staff Portal" link to website footer
- Not prominent — staff know it's there, public doesn't care
---
## Staff Hub Links
| Icon | Label | URL | Notes |
|------|-------|-----|-------|
| 📊 | Subscribers | (internal) | Built into Trinity Console |
| 🎮 | Game Panel | panel.firefrostgaming.com | Pterodactyl |
| 📈 | Server Status | status.firefrostgaming.com | Uptime Kuma |
| 📝 | Staff Wiki | staff.firefrostgaming.com | Wiki.js |
| 💾 | Git | git.firefrostgaming.com | Gitea |
| 📧 | Webmail | webmail.firefrostgaming.com | Mailcow |
| 📁 | Files | downloads.firefrostgaming.com | NextCloud |
| 🔐 | Passwords | vault.firefrostgaming.com | Vaultwarden |
| 💻 | Code | code.firefrostgaming.com | Code-Server |
| ✏️ | Edit Docs | firefrostgaming.com/cms | Decap CMS |
---
## NOT Included
- `foundry.firefrostgaming.com` — FoundryVTT is a subscriber addon, not staff tool
- `pokerole.firefrostgaming.com` — Holly's project, separate concern
- `subscribers.firefrostgaming.com` — Customer-facing wiki
---
## Success Criteria
- [ ] Staff can access everything from `firefrostgaming.com/admin`
- [ ] Decap CMS works at `firefrostgaming.com/cms`
- [ ] No broken OAuth flows
- [ ] Mobile responsive Staff Hub
- [ ] Footer link exists on public site
---
## Dependencies
- Trinity Console operational (✅ complete)
- Decap CMS operational (✅ complete)
- All linked services operational (✅ complete)
---
**Fire + Frost + Foundation = Where Love Builds Legacy** 💙🔥❄️