Commit graph

63 commits

Author SHA1 Message Date
Lawrence Chen
a086ebc0f3
Add @tonkotsuboy_com testimonial to wall of love (#785) 2026-03-03 00:48:01 -08:00
Lawrence Chen
0cad7e0126
Reduce spacing under Changelog heading (#774)
Remove top padding on the first article and reduce the gap between
the heading and version list from 32px to 16px.
2026-03-02 20:11:47 -08:00
Lawrence Chen
aaf6a24165
Show GitHub star badge in mobile header (#735)
Removed the `hidden md:flex` wrapper so the GitHubStarsBadge renders on
all screen sizes. Made the component reusable with optional `location`
and `className` props. Replaced the plain "GitHub" text link in the
mobile drawer with the star badge component.
2026-03-01 19:07:20 -08:00
Lawrence Chen
7f9e04826a
Fade in GitHub stars badge and reduce right padding (#703)
Stars badge now fades in over 500ms instead of popping in abruptly.
Reduced right padding from pr-2 to pr-1.
2026-03-01 18:53:06 -08:00
Lawrence Chen
2e2e190bf4
Add GitHub star count to site header (#673)
* Add GitHub star count to site header

Fetches star count from GitHub API via /api/github-stars with 5-minute
server-side caching (ISR + stale-while-revalidate). Shows formatted
count (e.g. "2.2k") next to the GitHub link in both desktop nav and
mobile drawer.

* Move star count to separate badge left of download button

GitHub icon + formatted count as its own clickable element in the
right header section, separate from the nav links. Desktop only.

* Center GitHub stars badge vertically in header

* Add right padding to GitHub stars badge
2026-02-28 17:02:19 -08:00
Lawrence Chen
851c706db7
Redesign changelog page with feature highlights (#630)
* Redesign changelog page with feature highlights and visual hierarchy

Major releases now show narrative summaries, feature highlight cards
(with image support for screenshots), colored section badges, and
contributor avatars. Minor releases stay compact. Adds changelog-media.ts
as a supplementary data layer alongside CHANGELOG.md.

* Use Next.js Image for optimized loading and GitHub avatar remotes

* Add screenshots for Open With and Tab Colors features

* Add workspace metadata screenshot

* Switch to single-column inline layout, add command palette screenshot

* Conductor-style titles, narrower body, narrative descriptions, reorder features

* Add pin workspace and tab context menu screenshots, remove subtitle

* Add View Changelog link to front page, add DevTools to 0.60.0

* Add CJK input screenshot to 0.60.0

* Read real PNG dimensions at build time, add proper sizes attribute

* Fix image overflow: wrap in overflow-hidden container, add max-w-full

* Fix CSS cascade: move docs-content styles into @layer base

Unlayered CSS beats @layer utilities in the cascade, so .docs-content
rules (margins, padding, list-style) were overriding Tailwind utilities
on ul, li, h2 elements in the changelog page. Moving them into
@layer base lets utilities win without needing !important hacks.

* Switch docs-content spacing from margin to padding

Margins were collapsing and conflicting with Tailwind layout utilities
in the changelog. Padding doesn't collapse and can't interfere with
external spacing set by parent containers.

* Fix changelog layout: use flex column + inline styles for all spacing

Block layout was collapsing when articles had media content (h2, feature
divs, section divs all rendered at the same position). Switching to
display:flex + flex-direction:column on articles and using inline styles
for all spacing guarantees proper vertical stacking regardless of
docs-content CSS interference.

* Remove border from changelog images

* Replace devtools screenshot with cmux inspecting cmux.dev
2026-02-27 03:41:52 -08:00
Lawrence Chen
d3cf9335d2
Add browser automation docs page (#622)
* Add browser automation docs page (#594)

Comprehensive reference for all cmux browser subcommands: navigation,
waiting, DOM interaction, inspection, JS eval, state management,
tabs, dialogs, frames, and downloads. Includes common patterns section.

* Remove unnecessary callout from browser automation docs
2026-02-27 00:42:50 -08:00
Lawrence Chen
ccf320389c
Add "The Zen of cmux" blog post (#624)
* Add "The Zen of cmux" blog post

New blog post about cmux's philosophy: composable primitives over
opinionated solutions. Added to blog index and README.

* List all cmux primitives in blog post

Terminal, browser, notifications, workspaces, splits, tabs, and a CLI
to control all of it.

* Add Zen of cmux section to README
2026-02-27 00:24:47 -08:00
Lawrence Chen
4419dc981e
Add Max Forsey testimonial to wall of love (#614) 2026-02-26 23:43:45 -08:00
Lawrence Chen
2dea894e76
Add @connorelsea testimonial to wall of love (#531) 2026-02-25 19:53:55 -08:00
Lawrence Chen
d7dbde3535
Add Edward Grefenstette testimonial to wall of love (#529) 2026-02-25 19:16:23 -08:00
Lawrence Chen
b75637530a
Add @BChris91 testimonial to wall of love (#507) 2026-02-25 16:51:01 -08:00
Lawrence Chen
ec08d0aaa2
Add @johnblythe testimonial to wall of love (#503)
Add John Blythe's tweet to the testimonials array (appears on both the
front page and /wall-of-love). Include avatar image.
2026-02-25 16:30:59 -08:00
Lawrence Chen
83a6fd3457 Add Scott Watermasysk testimonial to wall of love 2026-02-25 16:05:14 -08:00
Lawrence Chen
b84cfa4bb2
Clarify session restore limits in docs (#472) 2026-02-25 03:02:56 -08:00
Lawrence Chen
161e7538f2
Add new testimonials to wall of love (#427)
* Add three new testimonials to wall of love

- Norihiro Narayama (@northprint) — Japanese testimonial with subtle translation
- Kishore Neelamegam (@indykish)
- かたりん (@kataring) — Japanese testimonial with subtle translation

* Add あさざ (@asaza_0928) testimonial to wall of love

* Move あさざ testimonial to third position
2026-02-23 23:34:25 -08:00
Lawrence Chen
8dc4f5bd05
Fix ASCII diagram font rendering on concepts page (#420)
* Fix ASCII diagram rendering: use system mono font for box-drawing chars

Geist Mono renders box-drawing characters (┌─┐│└┘) at double width,
breaking alignment in the concepts page diagram. Use system monospace
fonts (Menlo, Monaco, Consolas) for ascii-variant code blocks, which
handle these characters at correct single width.

* Fix CSS specificity: code element was overriding pre font-family

.docs-content code sets font-family to Geist Mono, which overrides
the system mono font set on the parent pre element. Geist Mono is
loaded with Latin subset only, lacking box-drawing glyphs (U+2500-257F),
so browsers fall back to CJK-aware fonts that render them double-width.

Fix: add font-family: inherit to .docs-content pre code so code
elements inside pre blocks inherit the correct font from their parent.
2026-02-23 20:19:45 -08:00
Lawrence Chen
f502f84144
Add Read the Docs link below bottom CTA on homepage (#411)
* Add "Read the Docs" link below bottom CTA on homepage

* Increase top padding on Read the Docs link

* Reduce docs horizontal padding on mobile

* Align docs content with header on mobile, increase top padding

* Make sticky header fully opaque with subtle bottom border

* Fix sticky header on mobile by containing horizontal overflow in content area

Wide content (hierarchy diagrams, code blocks) was causing horizontal
page scroll, which breaks position:sticky on mobile browsers. Added
overflow-x:hidden to the main content area (below the header in DOM)
and overflow-x:auto to docs pre blocks so they scroll internally.

* Remove bottom border from sticky header
2026-02-23 20:09:44 -08:00
Lawrence Chen
018554cc47
Fix theme toggle using system preference instead of selected theme (#326)
Tailwind v4 defaults dark: utilities to @media (prefers-color-scheme)
strategy. Add @custom-variant to use class-based dark mode matching
the next-themes ThemeProvider attribute="class" configuration.

Fixes https://github.com/manaflow-ai/cmux/issues/325
2026-02-22 17:10:11 -08:00
Lawrence Chen
c51a5bf7cf
Merge pull request #316 from 0xble/feat/rename-workspace-keybind
Add keyboard shortcut to rename current workspace
2026-02-22 17:00:19 -08:00
Lawrence Chen
26d44e84da
Fix changelog page rendering markdown links as raw text (#320)
The InlineCode component only handled backtick code spans but ignored
markdown links, causing PR/issue references to display as raw
[#N](url) text instead of clickable links. Rename to InlineMarkdown
and add link parsing to the split regex.
2026-02-22 16:24:59 -08:00
Lawrence Chen
f7457055f1
Add sidebar metadata CLI subcommands and API docs (#305)
* Add sidebar metadata CLI subcommands and API docs

Expose set-status, clear-status, list-status, set-progress,
clear-progress, log, clear-log, list-log, and sidebar-state as
proper CLI subcommands with --help support and usage() listing.
Previously these only existed as raw socket commands.

Also adds a "Sidebar metadata commands" section to the docs site
API reference page.

* Quote multi-word values in socket command strings

Fix set-progress --label and log message forwarding to properly
quote values before sending to the socket tokenizer. Without
quoting, multi-word labels like "Build step one" would be split
into separate tokens. Also quote --source values for consistency.

* Fix socket quoting: escape backslashes and quote status values

Add socketQuote() helper that escapes both backslashes and double
quotes before wrapping in quotes. Apply it to:
- set-status value (prevents --flags in values being parsed as options)
- set-status --icon and --color values
- set-progress --label
- log --source and message text

Fixes values like "pytest --maxfail=1" or "C:\new\build" being
mangled by the socket tokenizer.

* Escape newlines in socketQuote to prevent socket framing breakage

The socket protocol uses newline as message terminator, so embedded
newlines/carriage returns in values would truncate the command.

* Parse flags before positionals in set-status, clear-status, set-progress

Fixes flags-first invocation like `cmux set-status --workspace workspace:2
build compiling` which previously grabbed `--workspace` as the key.
Now all flags are extracted first, then positional args are validated.
2026-02-22 16:06:32 -08:00
Brian Le
1824d1a8f1
feat(shortcuts): add rename-workspace keybind 2026-02-22 18:38:34 -05:00
Lawrence Chen
6d64ca938e
Add Reddit testimonial from u/afruth to wall of love (#314) 2026-02-22 15:37:22 -08:00
Lawrence Chen
1809b06867
Add Nick Schrock testimonial and subtitles to wall of love (#297)
* Add Nick Schrock testimonial and subtitles to wall of love

- Add Nick Schrock (@schrockn, Dagster Labs founder, GraphQL co-creator) testimonial
- Add subtitle field for notable contributors (Mitchell Hashimoto, Nick Schrock)
- Render subtitle in TestimonialCard between name and handle

* Add Nick Schrock profile photo

* Download avatar images to repo instead of hotlinking

* Show subtitle after name in attribution lines
2026-02-22 01:48:29 -08:00
Lawrence Chen
19f6f9137e
Sync homepage features with README (#280)
* Sync homepage features with README

Add missing features: Notification panel, In-app browser, Ghostty
compatible. Update existing descriptions to match README (notification
rings, vertical tabs, socket API renamed to Scriptable).

* Shorten notification feature descriptions

* Remove Ghostty compatible from homepage features

* Move Vertical tabs to top of features list

* Remove Notification panel from homepage features

* Shorten Scriptable feature description

* Fix notification rings description: panes only
2026-02-21 06:36:19 -08:00
Lawrence Chen
14603bd9f8
Set community gap to 16px, add dingyi China tweet to blog post (#279)
- Fix community section gap (6px → 16px)
- Add dingyi tweet showing cmux went semi-viral in China
- Change "semi-viral in Japan" to "viral in Japan" + "semi-viral in China"
2026-02-21 06:26:55 -08:00
Lawrence Chen
64bb248f20
Replace blur placeholder with opacity fade-in on hero screenshot (#278) 2026-02-21 06:24:59 -08:00
Lawrence Chen
4f1d120d2e
Fix Show HN blog summary: hit #2, Mitchell Hashimoto, viral in Japan (#277) 2026-02-21 06:19:14 -08:00
Lawrence Chen
be9b994a79
Add homepage wall of love, FAQ, blog post, footer redesign, and SEO improvements
## Summary
- Add Community (testimonials) section to homepage with inline avatars
- Add FAQ section sourced from HN discussion questions
- Add hero screenshot with next/image optimization
- Add Show HN blog post with react-tweet embeds, star history chart, and HN quotes
- Redesign footer with 4-column grid layout (Product, Resources, Legal, Social)
- Add Download/GitHub CTA buttons at bottom of homepage and blog post
- Add dev spacing controls for features, FAQ, and community sections
- Fix hydration error (JSON-LD moved to head)
- SEO: full metadata on blog posts, robots.txt, blog pages in sitemap, canonical URLs
- Replace em dashes site-wide, fix notification descriptions

## Testing
- `bun tsc --noEmit` passes clean
- Dev server verified on port 3001

## Related
- Task: Add wall of love to main web page + landing screenshot
2026-02-21 06:16:38 -08:00
Lawrence Chen
9c48d18666
Add wall of love page (#243)
* Add wall of love page with community testimonials

New /wall-of-love route showcasing quotes from X and Hacker News,
featuring Mitchell Hashimoto, Oliver Kriška, Joe Riddle, Marc,
johnthedebs, and dchu17. Masonry card layout with profile pics
and platform badges.

* Use YC logo for Hacker News testimonials
2026-02-21 04:25:00 -08:00
Lawrence Chen
9a8005a57f
Update Discord invite links to new permanent URL (#238)
Replace old discord.com/invite/QRxkhZgY with discord.gg/xsgFEVrWCZ
across README, community page, and nav footer.
2026-02-21 01:14:12 -08:00
Lawrence Chen
01313b6c9a Expand default HTTP host allowlist for local dev 2026-02-20 19:55:59 -08:00
Lawrence Chen
c6675c1a88 Clarify optional 0.0.0.0 allowlist usage 2026-02-20 19:49:02 -08:00
Lawrence Chen
a210d77f7f Clarify embedded browser allowlist wording and docs 2026-02-20 19:45:57 -08:00
Lawrence Chen
df9ba6dcd9
Fix #155: remap-aware bonsplit tooltips + browser split shortcuts (#200)
* Issue #155: remap bonsplit tooltips and add browser split shortcuts

* Fix split button mousedown feedback regression

* Match split button sizing with main
2026-02-20 15:17:00 -08:00
Lawrence Chen
c40ec75616
docs(web): refresh API access modes and socket examples (#196)
* docs(web): refresh API socket and automation mode docs

* docs(web): fix v1 JSON note and restore API metadata scope
2026-02-20 14:19:48 -08:00
Austin Wang
a804a8e767
Update landing page discord invite link
Merged by manaflow for task kn7d8qr7jvjsv3wf1axwq77gs981ha9j.
2026-02-20 14:09:31 -08:00
Austin Wang
bd9871d6c4
Fix CLI symlink path in docs
Merged by manaflow for task kn78rbgm4extfnpjcazqmw9c7d81hgdb.
2026-02-20 13:53:26 -08:00
Lawrence Chen
cb86322e98
Remove docs-site, add PostHog analytics to web (#66)
- Delete docs-site/ (superseded by web/app/docs)
- Add posthog-js with Vercel reverse proxy at /cdata to bypass adblockers
- Track pageviews (SPA-aware), download clicks (hero/navbar/mobile_drawer),
  and GitHub link clicks (hero/navbar/mobile_drawer/footer)
2026-02-18 04:00:04 -08:00
Austin Wang
514df0bd97
Update Discord invite link (#59)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 22:03:41 -08:00
Austin Wang
0cca513eac
Browser searchbar bugs (#51)
* Add "+" menu button to horizontal tab bar for new terminal/browser tabs

Adds a "+" button to the tab bar (next to split buttons) that shows a
dropdown menu with "New Terminal ⌘T" and "New Browser ⌘⇧L" options.

- Uses native NSButton + NSMenu so the icon matches the split buttons
- Menu appears below the button
- Routes tab creation through new didRequestNewTab delegate method

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* works

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 16:26:42 -08:00
Lawrence Chen
a2943b0c70 Add nightly update channel workflow and adopt AGPL licensing 2026-02-14 02:43:03 -08:00
Lawrence Chen
565b02c486 Widen page max-width and remove theme transition on change
Bump navbar, docs, legal, and community layouts from max-w-5xl to
max-w-6xl. Widen docs content from max-w-2xl to max-w-3xl. Home and
blog pages unchanged. Disable next-themes transition on change.
2026-02-10 16:00:18 -08:00
Lawrence Chen
e28ed9309f Improve docs page meta descriptions for SEO
Add keyword-rich descriptions mentioning Ghostty, macOS, AI agents,
and specific features to each docs page for better search ranking.
2026-02-10 14:51:54 -08:00
Lawrence Chen
3ee1974021 CSS-only theme icon toggle, iOS status bar theme-color
- Theme icon now uses dark:hidden/dark:block CSS classes instead of
  JS state, eliminating the flash on hydration entirely
- Remove useSyncExternalStore mounted pattern (no longer needed)
- Add theme-color meta tag updated by blocking script and toggle
  for iOS Safari status bar
- Revert body fade-in animation (not needed with CSS-only icons)
2026-02-10 01:27:15 -08:00
Lawrence Chen
b99b53d03e Fade in body to mask theme flash on load 2026-02-10 01:19:50 -08:00
Lawrence Chen
a15baba93b Add blocking script to prevent theme flash on load
Inline script in <head> reads localStorage theme before first paint
and applies .dark class synchronously. Defaults to dark to match
next-themes defaultTheme config.
2026-02-10 01:11:41 -08:00
Lawrence Chen
c640355154 Rename public/icon.png to logo.png to fix blurry icon
Next.js App Router serves app/icon.png (32x32 favicon) at /icon.png,
shadowing the 256x256 public/icon.png. Rename to /logo.png so the
high-res image is served for the site logo.
2026-02-10 01:07:52 -08:00
Lawrence Chen
a7549f59c1 Update blog post date to February 12, 2026 2026-02-10 01:06:01 -08:00