Skip to content

docs: add embeddable Wails buttons - #6120

Merged
leaanthony merged 1 commit into
masterfrom
codex/add-media-buttons
Sep 14, 2026
Merged

leaanthony merged 1 commit into
masterfrom
codex/add-media-buttons

Conversation

@leaanthony

@leaanthony leaanthony commented Sep 13, 2026 •

Copy link
Copy Markdown
Member

Description

Adds self-contained light and dark “Built with Wails” SVG buttons, plus a new Community → Media page with live previews at standard and compact sizes and copy-ready HTML and Markdown embeds.

Closes #6119

Type of change

  • This change requires a documentation update

Validation

  • xmllint --noout website/static/img/wails-button-light.svg website/static/img/wails-button-dark.svg
  • Rendered both SVGs with headless Chrome, including the Media page preview.
  • git diff --check
  • npm run build could not run because this checkout does not have the Docusaurus executable installed.

Checklist

  • My code follows the general coding style of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • New and existing unit tests pass locally with my changes (not applicable; site build dependencies are unavailable locally)

Summary by CodeRabbit

  • Documentation
    • Added a community media page with “Built with Wails” button assets.
    • Included light and dark variants in standard and compact sizes.
    • Added HTML and Markdown embed examples, sizing guidance, and recommended proportions.

Copilot AI lite review requested due to automatic review settings September 13, 2026 23:44
@github-actions github-actions Bot added Bug Something isn't working v3 Documentation Improvements or additions to documentation labels Sep 13, 2026
@coderabbitai

coderabbitai Bot commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 31825b4a-cf5f-495a-8bc1-8382237190fa

📥 Commits

Reviewing files that changed from the base of the PR and between e9e3a8a and b0fc7b1.

⛔ Files ignored due to path filters (2)
  • website/static/img/wails-button-dark.svg is excluded by !**/*.svg
  • website/static/img/wails-button-light.svg is excluded by !**/*.svg
📒 Files selected for processing (1)
  • website/docs/community/media.mdx

Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.


Walkthrough

Adds a new Community Media page. The page documents light and dark Built with Wails buttons, standard and compact sizes, HTML and Markdown snippets, asset links, and proportion guidance.

Changes

Media documentation

Layer / File(s) Summary
Button usage documentation
website/docs/community/media.mdx
Adds documentation for light and dark button variants, standard and compact sizes, HTML and Markdown embed snippets, linked asset previews, and the recommended 15:4 proportions.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Feature

Merge Risk: ⚪ Minimal · up to b0fc7

The new media page and button assets are internally consistent and ready to merge.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Linked Issues check ❓ Inconclusive The documentation requirements in #6119 are supported by the new website/docs/community/media.mdx: it documents light and dark variants, linked 180×48 and 90×24 previews, and HTML and Markdown snipp… Provide reviewable evidence for both excluded SVG files, including their paths, embedded logo content, and absence of external logo dependencies.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main documentation change: adding embeddable Wails buttons.
Description check ✅ Passed The description summarizes the change, links the issue, identifies the documentation change, lists validation steps, explains the unavailable site build, and records checklist status. It does not incl…
Out of Scope Changes check ✅ Passed The reviewed changes are limited to the Community → Media documentation page and the two button assets named by #6119. The page content supports the linked previews and embed snippets. No unrelated ch…
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Full details: Linked Issues check

Explanation

The documentation requirements in #6119 are supported by the new website/docs/community/media.mdx: it documents light and dark variants, linked 180×48 and 90×24 previews, and HTML and Markdown snippets. The required SVG assets are website/static/img/wails-button-dark.svg and website/static/img/wails-button-light.svg, but both files are excluded from review. The available evidence therefore cannot establish that the assets exist, are self-contained, or render without external logo dependencies.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/add-media-buttons

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

A rabbit finds two buttons bright
One dark, one light, both sized just right
HTML hops, Markdown follows
Wails links shine through web page hollows
Proportions stay neat and tight

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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The changes match the stated acceptance criteria and are isolated to documentation and static assets with no apparent functional risk.

Pull request overview

Adds official, self-contained “Built with Wails” embeddable buttons and documents their usage on a new Community → Media page, fulfilling the asset + documentation requirements from #6119.

Changes:

  • Added light and dark “Built with Wails” SVG button assets under website/static/img/ (self-contained via embedded data URIs).
  • Added a new Media documentation page with live previews at standard and compact sizes.
  • Included copy-ready HTML and Markdown embed snippets pointing to the hosted assets on wails.io.
File summaries
File Description
website/static/img/wails-button-light.svg New light-theme “Built with Wails” SVG button asset for embedding.
website/static/img/wails-button-dark.svg New dark-theme “Built with Wails” SVG button asset for embedding.
website/docs/community/media.mdx New Community → Media page with previews and copy-ready embed snippets.
Review details
  • Files reviewed: 1/3 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@leaanthony
leaanthony merged commit 5b4520a into master Sep 14, 2026
26 checks passed
@leaanthony
leaanthony deleted the codex/add-media-buttons branch September 14, 2026 11:55
leaanthony pushed a commit that referenced this pull request Sep 14, 2026
leaanthony pushed a commit that referenced this pull request Sep 14, 2026
Add the official Wails SVG buttons, live light and dark previews, and copyable embeds in English and all nine translations. Include navigation entries and current translation review state.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working Documentation Improvements or additions to documentation v3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add embeddable Built with Wails buttons and media documentation

3 participants