Files
conversation-history/SquareMCP/deployments/2026-06-18-design-review-living-brief-site.md

151 lines
6.3 KiB
Markdown

# Deploy: Design Review Changes + Living Brief Marketing Site
**Date:** 2026-06-18
**Scope:** Two deployments — `squaremcp-app` (frontend only) + `squaremcp-site` (marketing site)
---
## Summary of Changes
### 1. squaremcp-app — Design review fixes (frontend only, no hermes-mcp rebuild)
| File | Change |
|------|--------|
| `product/app/index.html` | Inter font (Google Fonts), nav role=tablist + aria-selected, app-toast div |
| `product/app/styles.css` | Skeleton loading cards, btn-loading spinner, comm-profile-bar, empty-state component, Inter font, toast style, mobile scrollable nav |
| `product/app/app.js` | showToast() nudge after platform connect → Communications; aria-selected sync on nav; empty-state HTML for invoices |
| `product/app/communications.js` | Skeleton draft cards + btn-loading during generation |
### 2. squaremcp-site — Living Brief section added to squaremcp.com
| File | Change |
|------|--------|
| `product/site/index.html` | New Living Brief section between consumer hero and B2B hero — dark background, video loop, GPT link, features list |
---
## Deploy Instructions
### A) squaremcp-app (frontend only — no hermes-mcp rebuild needed)
```bash
git add product/app/index.html product/app/styles.css product/app/app.js product/app/communications.js
git commit -m "design: Inter font, skeleton drafts, post-connect nudge, mobile nav, a11y, empty states"
git push origin main
# Build and push squaremcp-app image
docker build -f product/app/Dockerfile -t localhost:32000/squaremcp-app:$(git rev-parse --short HEAD) .
docker push localhost:32000/squaremcp-app:$(git rev-parse --short HEAD)
# Update image SHA in product/app/app-k8s.yaml, then:
kubectl apply -f product/app/app-k8s.yaml -n fetcherpay
kubectl rollout status deployment/squaremcp-app -n fetcherpay
```
### B) squaremcp-site
```bash
git add product/site/index.html
git commit -m "feat(site): add Living Brief section to squaremcp.com"
git push origin main
# Build and push squaremcp-site image (check site Dockerfile name)
docker build -f product/site/Dockerfile -t localhost:32000/squaremcp-site:$(git rev-parse --short HEAD) .
docker push localhost:32000/squaremcp-site:$(git rev-parse --short HEAD)
# Apply the site K8s manifest (check filename)
kubectl apply -f product/site/squaremcp-certificate.yaml -n fetcherpay
# or whatever the site deployment YAML is called
kubectl rollout status deployment/squaremcp-site -n fetcherpay
```
---
## Verification
### squaremcp-app (https://app.squaremcp.com)
1. **Font**: Page body should use Inter (check Network tab — fonts.googleapis.com request)
2. **Draft generation**: Click "Generate" in Communications → button shows spinner, placeholder skeleton cards appear below
3. **Post-connect nudge**: Connect any platform → after modal closes, a green toast appears: "Platform connected! Head to Communications..." — clicking navigates to Communications; toast auto-dismisses after 6s (shown once per session)
4. **Mobile nav**: At 375px viewport width, the tab nav should be horizontally scrollable with no overflow
5. **Invoices empty state**: Navigate to Invoices with no data → styled empty state with title + subtitle (no inline grey text)
### squaremcp-site (https://squaremcp.com)
1. Living Brief section appears between the consumer hero and the B2B hero
2. Section has dark background (#0f172a), video autoplay loop (`living-brief-avatar-facebook.mp4`), features list, and "Try Living Brief in ChatGPT" button
3. Video link: https://squaremcp.com/living-brief-avatar-facebook.mp4 (already deployed, confirm still 200)
4. GPT link: https://chatgpt.com/g/g-6a2d6a01c5588191879c2c31edd9d02c-living-brief opens correctly
5. On mobile (375px), video panel hides — only copy and CTA show
---
## No Backend Changes
hermes-mcp does NOT need a rebuild for either deployment.
---
## Facebook Post (manual — cannot be automated yet)
The Facebook video post cannot be published via Communications Manager automatically — video upload requires a separate API integration not yet built. Post manually from Facebook Business Manager:
**Copy:**
```
I released Living Brief in ChatGPT.
It solves a problem I kept seeing with people who use more than one AI tool:
the work does not follow them.
You start a project in ChatGPT, move to Claude or Codex, then spend the first
ten minutes re-explaining the customer, the decision, the mistake, the next
action, and why any of it matters.
Living Brief keeps that working context in your own Obsidian vault, so another
agent can pick it up without starting from zero.
Try it here:
https://chatgpt.com/g/g-6a2d6a01c5588191879c2c31edd9d02c-living-brief
Best first prompt:
"Create a Living Brief for this project with the objective, people involved,
decisions, risks, open questions, and next action."
```
**Video to attach:** https://squaremcp.com/living-brief-avatar-facebook.mp4 (confirmed 200, 839 KB)
## Verification result
## Verification result
- **Status:** ✅ Passed
- **Time:** 2026-06-18T10:39:00-04:00
- **Deployed images:**
- `squaremcp-app@sha256:e9f362e170db2cbbe48cf4311e34c719c23e18c36811ba7d8a5d7aade182af16`
- `squaremcp-site@sha256:82de38a81a1c4d86e7ce8aa20a5acedf27b89b6a783f523435cae942616704da`
- **hermes-mcp:** Not rebuilt or redeployed.
### squaremcp-app (https://app.squaremcp.com)
Verified by fetching the deployed static files:
- `index.html` loads Google Fonts Inter stylesheet.
- `app.js` contains `showToast()` and the post-connect toast message: `"Platform connected! Head to Communications to start creating content →"`.
- `communications.js` adds `btn-loading` class during generation and renders `comm-draft-skeleton` placeholder cards.
- `styles.css` includes `.btn-loading` and `.comm-draft-skeleton` rules.
### squaremcp-site (https://squaremcp.com)
- `index.html` includes the new Living Brief section between the consumer hero and B2B hero.
- Section uses `#0f172a` background, features list, and links to `https://chatgpt.com/g/g-6a2d6a01c5588191879c2c31edd9d02c-living-brief`.
- Video panel references `./living-brief-avatar-facebook.mp4`.
- `curl -I https://squaremcp.com/living-brief-avatar-facebook.mp4` returns `HTTP/2 200` and `content-type: video/mp4`.
### K8s manifests
- `product/app/app-k8s.yaml` updated to the new `squaremcp-app` digest.
- `product/site/squaremcp-k8s-ingress.yaml` updated to the new `squaremcp-site` digest.
- Both rollouts completed successfully.