Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,6 @@ QODER.md
opencode.jsonc
.cline/
.clinerules/

# Impeccable critique snapshots (generated locally, not a source of truth)
.impeccable/
17 changes: 5 additions & 12 deletions docs/features/web-distribution-hub/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
- Desktop layout (>= 1024px): 2 balanced columns.
- Mobile layout (< 1024px): Responsive single-column stacked hierarchy.

2. **Direct DMG Download Card (`DmgCard.astro`)**:
2. **Direct DMG Download Card (`UnifiedInstaller.astro`, DMG tab)**:
- Prominent primary CTA button linked directly to the latest production release `https://github.com/ahauy/FlowSnap/releases/latest/download/FlowSnap.dmg`.
- Displays clear, verified metadata:
- Version: `v1.3.1` (with live green pulse dot).
Expand All @@ -27,16 +27,11 @@
- License: `MIT License (100% Free & Open Source)`.
- Secondary link navigating to all GitHub releases.

3. **Simulated macOS Terminal One-Line Installer (`TerminalInstaller.astro`)**:
- Realistic macOS Terminal window chrome with 3 colored window control dots (red, yellow, green).
- Dynamic tab toggle for developer preferences:
- **Tab (`cURL`)**: `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/ahauy/FlowSnap/main/scripts/install.sh)"`
- **Homebrew is not shipped**: the `ahauy/homebrew-tap` repository does not exist, so advertising
`brew install --cask ahauy/tap/flowsnap` would hand visitors a command that 404s.
- The component rendered on the live page is `UnifiedInstaller.astro`; this `TerminalInstaller.astro`
is not imported by any page (see the orphan cleanup backlog).
- Accessible 1-click Copy button with dual fallback (`navigator.clipboard` -> temporary off-screen `<textarea>`).
3. **Simulated macOS Terminal One-Line Installer (`UnifiedInstaller.astro`)**:
- Terminal-styled command row with `$` prompt and a 1-click Copy button with dual fallback (`navigator.clipboard` -> temporary off-screen `<textarea>`).
- Visual feedback: checkmark icon, "Copied!" text, and `aria-live="polite"` announcement for exactly 2000ms.
- A "read the script before you run it" link points at the exact `scripts/install.sh` the cURL command downloads. The link is hidden for any method that has no auditable same-origin source.
- `DmgCard.astro` and `TerminalInstaller.astro` were deleted on 2026-11-06: nothing imported them, and they had drifted (they referenced i18n keys and a Homebrew tap that no longer exist).

4. **Privacy & Trust Manifesto (`PrivacyManifesto.astro`)**:
- 3 structured guarantee cards with semantic vector icons:
Expand All @@ -63,8 +58,6 @@ web/
│ ├── data/
│ │ └── distribution-data.ts # Type-safe constants (Metadata, Tabs, Privacy, Gatekeeper)
│ ├── components/
│ │ ├── DmgCard.astro # Direct DMG download card & version metadata
│ │ ├── TerminalInstaller.astro # Terminal window with cURL/brew tabs & 1-click copy
│ │ ├── PrivacyManifesto.astro # 3 trust pillars (Offline, Zero Telemetry, AXUIElement)
│ │ ├── GatekeeperGuide.astro # Collapsible quarantine troubleshooting & xattr copy
│ │ └── DistributionHub.astro # Main 2-column container & responsive layout
Expand Down
9 changes: 8 additions & 1 deletion web/DESIGN.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,19 @@ typography:
fontFamily: '-apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif'
weights: "600, 700"
letterSpacing: "-0.025em"
note: "Same rendered face as body. -apple-system resolves to SF Pro Text on
macOS; there is no separate optical display cut here, so hierarchy comes
from size, weight and leading. The token stays as the seam for one."
body:
fontFamily: '-apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", sans-serif'
weights: "400, 500"
lineHeight: "1.6"
mono:
fontFamily: '"SF Mono", "JetBrains Mono", Menlo, Consolas, monospace'
fontFamily: '"SF Mono", ui-monospace, Menlo, Consolas, "Liberation Mono", monospace'
weights: "400, 500, 600"
note: "Mono is for code, keycaps, digests and counts - never for English
sentences. On a machine without SF Mono only two real faces exist:
400/500 render identically and 600/700 render identically."
scale:
meta: "0.6875rem" # 11px - mono metadata only: version, dates, counts, keycaps
xs: "0.75rem" # 12px
Expand Down Expand Up @@ -105,6 +111,7 @@ FlowSnap's landing page embodies the craftsmanship of native macOS applications:
4. **Stable Outer Anchors for Hover**: Wrap interactive translating elements in a stable container to prevent 60Hz hover jitter.
5. **Hairline Precision**: Card borders, dividers, and modal frames must strictly be `1px solid` with low opacity (`rgba(255,255,255,0.08)` on dark mode).
6. **Type Floor Is 11px**: `meta` (11px) and `label` (13px) are the documented steps under `xs`/`sm`. Nothing may render below 11px, including `rem` values that compute smaller.
7. **Mono Means Code or Data**: metadata that is a sentence (`.license-tag`, `.spec-chip`, `.pillar-badge`, `.hint-label`, `.toggle-label`, `.audit-link`) uses the body stack at the `meta` size. Mono stays on keycaps, prompts, digests and counts.

### DON'T:

Expand Down
2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"build": "astro build",
"preview": "astro preview",
"pretest": "astro build",
"test": "node tests/desktop-simulator.test.mjs && node tests/bento-shortcuts.test.mjs && node tests/distribution-hub.test.mjs && node tests/seo-cicd.test.mjs",
"test": "node tests/desktop-simulator.test.mjs && node tests/mobile-nav.test.mjs && node tests/bento-shortcuts.test.mjs && node tests/distribution-hub.test.mjs && node tests/seo-cicd.test.mjs",
"astro": "astro"
},
"dependencies": {
Expand Down
5 changes: 5 additions & 0 deletions web/src/components/BentoGrid.astro
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,11 @@ const localizedCards = bentoFeatures.map((card) => {
.bento-standard {
grid-column: span 1;
}

/* three standards in two columns orphan the third */
.bento-standard:last-of-type {
grid-column: 1 / -1;
}
}

@media (max-width: 680px) {
Expand Down
Loading
Loading