Skip to content

docs(website): refresh site with AI workspace, docs section and improved download#33

Merged
wilcorrea merged 2 commits into
mainfrom
docs/website-refresh
Mar 2, 2026
Merged

docs(website): refresh site with AI workspace, docs section and improved download#33
wilcorrea merged 2 commits into
mainfrom
docs/website-refresh

Conversation

@wilcorrea

@wilcorrea wilcorrea commented Mar 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • AI Workspace: Replaced "Plan Review Comments" feature section with "AI Workspace" — new description, terminal chat mockup showing agent modes (ask, plan, code, edit, agent, autopilot), and plan workflow phases
  • Docs section: Added new `#docs` section with an accordion containing guides for CLI installation/usage, Voice to Text (Whisper models, recording), and AI Workspace (connecting agents, modes, plan workflow)
  • Quick Install block: Added above the OS download cards — Homebrew active with copy button; Snap, Flatpak (Linux) and winget (Windows) marked as "soon"
  • Download improvements: Split macOS card into Apple Silicon + Intel buttons; added `data-asset` attributes to all download links; JS now fetches direct download URLs from GitHub API (`/releases/latest`) with fallback to releases page
  • Multi-language feature: Added i18n as 5th item in compact features grid (English and Portuguese, syncs across windows and tray)
  • Meta & hero: Updated `` and hero subtitle to highlight AI workspace and coding agent support (generic, not locked to any specific agent)
  • Nav: Added "Docs" link pointing to the new `#docs` section

Test plan

  • Open `website/index.html` in browser and verify all sections render correctly
  • Verify theme toggle (system/light/dark) still works
  • Click "Docs" in nav — should smooth-scroll to the docs accordion section
  • Open and close each accordion item (CLI, Voice to Text, AI Workspace)
  • Confirm only one accordion item is open at a time
  • Verify Quick Install "Copy" button copies the Homebrew command to clipboard
  • Verify Snap, Flatpak, winget rows show "soon" badge and are visually dimmed
  • Open browser DevTools → Network: confirm GitHub API call to `/repos/devitools/arandu/releases/latest` is made and download button URLs are updated to direct asset links
  • Test on a macOS user-agent: hero CTA should say "Download for macOS" and link to ARM .dmg
  • Test on mobile viewport (≤768px): compact grid should collapse to 2 columns, accordion still functional
  • Verify "AI Workspace" feature section shows the terminal chat mockup
  • Confirm "Multi-language" appears as the 5th compact feature

Summary by CodeRabbit

  • New Features

    • Added AI Workspace with interactive terminal-chat mockup and agent/user messages
    • New Documentation section with expandable docs items and multiple guides
    • Quick Install UI with one-click copy commands and install options per OS
    • Platform-specific downloads (macOS Apple Silicon/Intel, Linux AppImage/.deb, Windows .exe) with automatic latest-release links
  • Style

    • Updated responsive layouts and a compact feature grid for improved display across viewports

…ved download

- Update meta description and hero subtitle to highlight AI workspace
- Rename 'Plan Review Comments' feature to 'AI Workspace' with terminal chat mockup
- Add 'Multi-language' to compact features grid (5th column)
- Add #docs section with accordion: CLI, Voice to Text, AI Workspace
- Add 'Docs' link to nav
- Add Quick Install block with Homebrew (active) + Snap, Flatpak, winget (soon)
- Split macOS download into Apple Silicon and Intel buttons
- Add data-asset attributes to download buttons
- Fetch direct download URLs from GitHub API in site.js with fallback
- Add accordion interactivity for docs section
- Add install copy buttons for Quick Install

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Mar 2, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between eea3134 and f5772fb.

📒 Files selected for processing (2)
  • website/index.html
  • website/js/site.js
🚧 Files skipped from review as they are similar to previous changes (1)
  • website/js/site.js

📝 Walkthrough

Walkthrough

The PR updates the website with an AI Workspace terminal-chat mockup, adds an expandable Documentation section, introduces quick-install UI with copy buttons, and implements GitHub release-based download linking with OS/architecture asset selection.

Changes

Cohort / File(s) Summary
Styling & UI Components
website/css/site.css
Added ~+346 lines: terminal-chat and message styling, user/agent badges, plan-phase/quick-install UI, docs-section and accordion styles, mode-grid/mode-card layout, responsive adjustments for <768px, and duplicated/mirrored styles for integration points.
Content & Markup Updates
website/index.html
Reworked hero and metadata to emphasize AI workspace, added #docs section and docs items, replaced Plan Reviews mockup with terminal-chat mockup, added multi-language feature, and reorganized download cards with data-asset attributes for macos-arm, macos-intel, linux-appimage, linux-deb, windows-exe.
Interactive Behavior
website/js/site.js
Added docs accordion toggle (aria updates), install-copy button behavior with temporary UI state, and GitHub releases fetch to map assets by platform/arch and update elements with data-asset/CTA links using OS detection and fallback handling.

Sequence Diagram(s)

sequenceDiagram
    participant Browser
    participant SiteJS as site.js
    participant GitHub as GitHub API
    participant DOM as Document

    Browser->>SiteJS: page load (init)
    SiteJS->>GitHub: GET /repos/.../releases/latest
    GitHub-->>SiteJS: release JSON (assets list)
    SiteJS->>SiteJS: map assets by data-asset keys (macos-arm, linux-deb, etc.)
    SiteJS->>SiteJS: detect OS/arch
    SiteJS->>DOM: update elements with data-asset attrs -> asset URLs
    Browser->>DOM: user clicks .install-copy-btn
    DOM->>SiteJS: copy handler invoked
    SiteJS->>Browser: writeText(...) to Clipboard
    SiteJS->>DOM: show temporary "copied" state
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Poem

🐰 In the terminal glow I hop and hum,
Docs unfold as quick installs come,
Copies click and assets find their home,
From GitHub's stream I bounce and roam —
A little rabbit, cheering code to bloom.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and specifically describes the main changes: adding an AI workspace, docs section, and improving the download experience. It is concise, specific, and accurately summarizes the primary modifications to the website.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch docs/website-refresh

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🧹 Nitpick comments (1)
website/css/site.css (1)

983-987: Remove duplicated #docs scroll offset declaration.

scroll-margin-top: 56px is already set for #docs at Line 84. Keeping it in two places makes future tweaks error-prone.

♻️ Proposed cleanup
 `#docs` {
     padding: 80px 0;
     border-top: 1px solid var(--border);
-    scroll-margin-top: 56px;
 }
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@website/css/site.css` around lines 983 - 987, The CSS for the `#docs` selector
duplicates scroll-margin-top: 56px; remove the duplicate declaration from this
block (the one in the later `#docs` rule) and leave padding: 80px 0; and
border-top: 1px solid var(--border); intact so the single authoritative
scroll-margin-top remains where it was originally defined (the earlier `#docs`
rule).
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@website/index.html`:
- Around line 508-516: The accordion header button with class "docs-item-header"
and its panel div "docs-item-body" need ARIA associations: add an aria-expanded
attribute on the "docs-item-header" button, give each "docs-item-body" a unique
id, and add aria-controls on the button pointing to that id; ensure the JS that
toggles the accordion (where it updates the button state) also toggles
aria-expanded and keeps the aria-controls/id pairing consistent for the other
instances mentioned (lines around the other headers/panels). Use the existing
class names ("docs-item-header" and "docs-item-body") to locate elements and
wire the aria changes in the same toggle logic so expanded/collapsed state
remains synced.

In `@website/js/site.js`:
- Around line 137-142: The CTA logic in the ctaBtn handling (element id
'cta-download') uses assetKey and map but doesn't fallback when map[assetKey] is
missing, leaving the href pointing to '#download'; update the code that computes
assetKey and assigns ctaBtn.href so that if map[assetKey] is falsy it sets
ctaBtn.href to the releases URL (e.g. the project's releases page) instead of
leaving the default; apply the same fallback change to the other identical block
that updates the CTA (the second occurrence that also references ctaBtn,
assetKey and map) so both paths always resolve to either the direct asset or the
releases page.
- Around line 107-110: The click handler for elements matched by
'.install-copy-btn' assumes btn.closest('.install-option') and its
'.install-cmd' child exist, which can throw if markup changes; update the
handler in site.js to null-check the result of btn.closest('.install-option')
and the querySelector('.install-cmd') before reading textContent (or bail
out/notify the user), and only call navigator.clipboard.writeText(cmd) when cmd
is a non-empty string so the click flow never breaks if nodes are missing.

---

Nitpick comments:
In `@website/css/site.css`:
- Around line 983-987: The CSS for the `#docs` selector duplicates
scroll-margin-top: 56px; remove the duplicate declaration from this block (the
one in the later `#docs` rule) and leave padding: 80px 0; and border-top: 1px
solid var(--border); intact so the single authoritative scroll-margin-top
remains where it was originally defined (the earlier `#docs` rule).

ℹ️ Review info

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 0a4d2a4 and eea3134.

📒 Files selected for processing (3)
  • website/css/site.css
  • website/index.html
  • website/js/site.js

Comment thread website/index.html Outdated
Comment thread website/js/site.js
Comment thread website/js/site.js
- Add ARIA attributes to accordion: aria-expanded, aria-controls and panel
  ids (docs-cli, docs-whisper, docs-ai) with role=region + aria-labelledby
- Sync aria-expanded state in JS accordion toggle handler
- Guard install copy button handler against missing .install-option / .install-cmd nodes
- Fix CTA download button fallback: always resolves to releases URL when
  asset map lookup fails or fetch throws

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@wilcorrea wilcorrea merged commit b27e126 into main Mar 2, 2026
1 check passed
@wilcorrea wilcorrea deleted the docs/website-refresh branch March 2, 2026 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant