Skip to content

A platform for community discussion. Free, open, simple.

UX: Adjust GitHub PR status onebox styles (#36963)

Penar Musarajf213d5ab3469
diff --git a/plugins/discourse-github/assets/stylesheets/common/github-pr-status.scss b/plugins/discourse-github/assets/stylesheets/common/github-pr-status.scss
index 3bce0f9a123..974e0063038 100644
--- a/plugins/discourse-github/assets/stylesheets/common/github-pr-status.scss
+++ b/plugins/discourse-github/assets/stylesheets/common/github-pr-status.scss
@@ -9,8 +9,6 @@ $icon-width-mobile: 1.8em;
--gh-icon-open: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 3.25a2.25 2.25 0 1 1 3 2.122v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.25 2.25 0 0 1 1.5 3.25Zm5.677-.177L9.573.677A.25.25 0 0 1 10 .854V2.5h1A2.5 2.5 0 0 1 13.5 5v5.628a2.251 2.251 0 1 1-1.5 0V5a1 1 0 0 0-1-1h-1v1.646a.25.25 0 0 1-.427.177L7.177 3.427a.25.25 0 0 1 0-.354ZM3.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm0 9.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm8.25.75a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Z'/%3E%3C/svg%3E");
--gh-icon-merged: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5.45 5.154A4.25 4.25 0 0 0 9.25 7.5h1.378a2.251 2.251 0 1 1 0 1.5H9.25A5.734 5.734 0 0 1 5 7.123v3.505a2.25 2.25 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.95-.218ZM4.25 13.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm8.5-4.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM5 3.25a.75.75 0 1 0 0 .005V3.25Z'/%3E%3C/svg%3E");
--gh-icon-closed: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.25 1A2.25 2.25 0 0 1 4 5.372v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.251 2.251 0 0 1 3.25 1Zm9.5 5.5a.75.75 0 0 1 .75.75v3.378a2.251 2.251 0 1 1-1.5 0V7.25a.75.75 0 0 1 .75-.75Zm-2.03-5.273a.75.75 0 0 1 1.06 0l.97.97.97-.97a.748.748 0 0 1 1.265.332.75.75 0 0 1-.205.729l-.97.97.97.97a.751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018l-.97-.97-.97.97a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734l.97-.97-.97-.97a.75.75 0 0 1 0-1.06ZM2.5 3.25a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0ZM3.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm9.5 0a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z'/%3E%3C/svg%3E");
- --gh-icon-approved: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16Zm3.78-9.72a.751.751 0 0 0-.018-1.042.751.751 0 0 0-1.042-.018L6.75 9.19 5.28 7.72a.751.751 0 0 0-1.042.018.751.751 0 0 0-.018 1.042l2 2a.75.75 0 0 0 1.06 0Z'/%3E%3C/svg%3E");
- --gh-icon-changes-requested: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16ZM4.5 7.25a.75.75 0 0 0 0 1.5h7a.75.75 0 0 0 0-1.5h-7Z'/%3E%3C/svg%3E");
&.--gh-status-draft,
&.--gh-status-open,
@@ -56,18 +54,18 @@ $icon-width-mobile: 1.8em;
background-color: #8b949e;
}
- &.--gh-status-open .github-icon-container::before {
+ &.--gh-status-open .github-icon-container::before,
+ &.--gh-status-approved .github-icon-container::before,
+ &.--gh-status-changes_requested .github-icon-container::before {
mask-image: var(--gh-icon-open);
background-color: #8b949e;
}
&.--gh-status-approved .github-icon-container::before {
- mask-image: var(--gh-icon-approved);
background-color: #3fb950;
}
&.--gh-status-changes_requested .github-icon-container::before {
- mask-image: var(--gh-icon-changes-requested);
background-color: #f79939;
}
diff --git a/plugins/styleguide/assets/javascripts/discourse/components/sections/organisms/02-post-oneboxes.gjs b/plugins/styleguide/assets/javascripts/discourse/components/sections/organisms/02-post-oneboxes.gjs
new file mode 100644
index 00000000000..f8a50f1de09
--- /dev/null
+++ b/plugins/styleguide/assets/javascripts/discourse/components/sections/organisms/02-post-oneboxes.gjs
@@ -0,0 +1,30 @@
+import Post from "discourse/components/post";
+import StyleguideExample from "discourse/plugins/styleguide/discourse/components/styleguide-example";
+
+<template>
+ <StyleguideExample @title="Wikipedia onebox">
+ <Post @post={{@dummy.oneboxPosts.wikipedia}} @canCreatePost={{true}} />
+ </StyleguideExample>
+
+ <StyleguideExample @title="GitHub Pull Request - Open">
+ <Post @post={{@dummy.oneboxPosts.githubPrOpen}} @canCreatePost={{true}} />
+ </StyleguideExample>
+
+ <StyleguideExample @title="GitHub Pull Request - Approved">
+ <Post
+ @post={{@dummy.oneboxPosts.githubPrApproved}}
+ @canCreatePost={{true}}
+ />
+ </StyleguideExample>
+
+ <StyleguideExample @title="GitHub Pull Request - Changes Requested">
+ <Post
+ @post={{@dummy.oneboxPosts.githubPrChangesRequested}}
+ @canCreatePost={{true}}
+ />
+ </StyleguideExample>
+
+ <StyleguideExample @title="GitHub Pull Request - Merged">
+ <Post @post={{@dummy.oneboxPosts.githubPrMerged}} @canCreatePost={{true}} />
+ </StyleguideExample>
+</template>
diff --git a/plugins/styleguide/assets/javascripts/discourse/components/sections/organisms/02-topic-map.gjs b/plugins/styleguide/assets/javascripts/discourse/components/sections/organisms/03-topic-map.gjs
similarity index 100%
rename from plugins/styleguide/assets/javascripts/discourse/components/sections/organisms/02-topic-map.gjs
rename to plugins/styleguide/assets/javascripts/discourse/components/sections/organisms/03-topic-map.gjs
diff --git a/plugins/styleguide/assets/javascripts/discourse/components/sections/organisms/03-topic-footer-buttons.gjs b/plugins/styleguide/assets/javascripts/discourse/components/sections/organisms/04-topic-footer-buttons.gjs
similarity index 100%
rename from plugins/styleguide/assets/javascripts/discourse/components/sections/organisms/03-topic-footer-buttons.gjs
rename to plugins/styleguide/assets/javascripts/discourse/components/sections/organisms/04-topic-footer-buttons.gjs
diff --git a/plugins/styleguide/assets/javascripts/discourse/components/sections/organisms/04-topic-list.gjs b/plugins/styleguide/assets/javascripts/discourse/components/sections/organisms/05-topic-list.gjs
similarity index 100%
rename from plugins/styleguide/assets/javascripts/discourse/components/sections/organisms/04-topic-list.gjs
rename to plugins/styleguide/assets/javascripts/discourse/components/sections/organisms/05-topic-list.gjs
diff --git a/plugins/styleguide/assets/javascripts/discourse/lib/dummy-data.js b/plugins/styleguide/assets/javascripts/discourse/lib/dummy-data.js
index 3b2d67212ef..574f93ecfc4 100644
--- a/plugins/styleguide/assets/javascripts/discourse/lib/dummy-data.js
+++ b/plugins/styleguide/assets/javascripts/discourse/lib/dummy-data.js
@@ -285,6 +285,176 @@ export function createData(store) {
postModel.set("topic", store.createRecord("topic", transformedPost.topic));
+ // Onebox post examples
+ const wikipediaOneboxCooked = `<p>Check out this Wikipedia article:</p>
+<aside class="onebox allowlistedgeneric" data-onebox-src="https://en.wikipedia.org/wiki/Discourse_(software)">
+ <header class="source">
+ <img src="https://en.wikipedia.org/static/favicon/wikipedia.ico" class="site-icon" width="16" height="16" />
+ <a href="https://en.wikipedia.org/wiki/Discourse_(software)" target="_blank" rel="noopener">en.wikipedia.org</a>
+ </header>
+ <article class="onebox-body">
+ <img src="/plugins/styleguide/images/hubble-orion-nebula-bg.jpg" class="thumbnail" width="200" height="200" />
+ <h3><a href="https://en.wikipedia.org/wiki/Discourse_(software)" target="_blank" rel="noopener">Discourse (software)</a></h3>
+ <p>Discourse is an open source Internet forum and mailing list management software application founded in 2013 by Jeff Atwood, Robin Ward, and Sam Saffron.</p>
+ </article>
+</aside>`;
+
+ const githubPrOpenCooked = `<p>Here's the PR I mentioned:</p>
+<aside class="onebox githubpullrequest" data-onebox-src="https://github.com/discourse/discourse/pull/1234">
+ <header class="source">
+ <a href="https://github.com/discourse/discourse/pull/1234" target="_blank" rel="noopener">github.com/discourse/discourse</a>
+ </header>
+ <article class="onebox-body">
+ <div class="github-row --gh-status-open">
+ <div class="github-icon-container" title="Open">
+ <svg width="60" height="60" class="github-icon" viewBox="0 0 12 16" aria-hidden="true"><path fill-rule="evenodd" d="M11 11.28V5c-.03-.78-.34-1.47-.94-2.06C9.46 2.35 8.78 2.03 8 2H7V0L4 3l3 3V4h1c.27.02.48.11.69.31.21.2.3.42.31.69v6.28A1.993 1.993 0 0 0 10 15a1.993 1.993 0 0 0 1-3.72zm-1 2.92c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zM4 3c0-1.11-.89-2-2-2a1.993 1.993 0 0 0-1 3.72v6.56A1.993 1.993 0 0 0 2 15a1.993 1.993 0 0 0 1-3.72V4.72c.59-.34 1-.98 1-1.72zm-.8 10c0 .66-.55 1.2-1.2 1.2-.65 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2zM2 4.2C1.34 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z"></path></svg>
+ </div>
+ <div class="github-info-container">
+ <h4><a href="https://github.com/discourse/discourse/pull/1234" target="_blank" rel="noopener">FIX: Improve loading state for topic lists</a></h4>
+ <div class="branches"><code>discourse:main</code> ← <code>username:fix-loading-state</code></div>
+ <div class="github-info">
+ <div class="date"><span class="status-label">opened Jan 5, 2026</div>
+ <div class="user"><img alt="" src="/images/avatar.png" class="onebox-avatar-inline" width="20" height="20" /> username</div>
+ <div class="lines"><span class="added">+42</span> <span class="removed">-15</span></div>
+ </div>
+ </div>
+ </div>
+ </article>
+</aside>`;
+
+ const githubPrApprovedCooked = `<p>This one is ready to merge:</p>
+<aside class="onebox githubpullrequest" data-onebox-src="https://github.com/discourse/discourse/pull/1235">
+ <header class="source">
+ <a href="https://github.com/discourse/discourse/pull/1235" target="_blank" rel="noopener">github.com/discourse/discourse</a>
+ </header>
+ <article class="onebox-body">
+ <div class="github-row --gh-status-approved">
+ <div class="github-icon-container" title="Approved">
+ <svg width="60" height="60" class="github-icon" viewBox="0 0 12 16" aria-hidden="true"><path fill-rule="evenodd" d="M11 11.28V5c-.03-.78-.34-1.47-.94-2.06C9.46 2.35 8.78 2.03 8 2H7V0L4 3l3 3V4h1c.27.02.48.11.69.31.21.2.3.42.31.69v6.28A1.993 1.993 0 0 0 10 15a1.993 1.993 0 0 0 1-3.72zm-1 2.92c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zM4 3c0-1.11-.89-2-2-2a1.993 1.993 0 0 0-1 3.72v6.56A1.993 1.993 0 0 0 2 15a1.993 1.993 0 0 0 1-3.72V4.72c.59-.34 1-.98 1-1.72zm-.8 10c0 .66-.55 1.2-1.2 1.2-.65 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2zM2 4.2C1.34 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z"></path></svg>
+ </div>
+ <div class="github-info-container">
+ <h4><a href="https://github.com/discourse/discourse/pull/1235" target="_blank" rel="noopener">FEATURE: Add dark mode support for composer</a></h4>
+ <div class="branches"><code>discourse:main</code> ← <code>contributor:dark-mode-composer</code></div>
+ <div class="github-info">
+ <div class="date">approved Jan 4, 2026</div>
+ <div class="user"><img alt="" src="/images/avatar.png" class="onebox-avatar-inline" width="20" height="20" /> contributor</div>
+ <div class="lines"><span class="added">+156</span> <span class="removed">-23</span></div>
+ </div>
+ </div>
+ </div>
+ </article>
+</aside>`;
+
+ const githubPrChangesRequestedCooked = `<p>Needs some changes:</p>
+<aside class="onebox githubpullrequest" data-onebox-src="https://github.com/discourse/discourse/pull/1236">
+ <header class="source">
+ <a href="https://github.com/discourse/discourse/pull/1236" target="_blank" rel="noopener">github.com/discourse/discourse</a>
+ </header>
+ <article class="onebox-body">
+ <div class="github-row --gh-status-changes_requested">
+ <div class="github-icon-container" title="Changes Requested">
+ <svg width="60" height="60" class="github-icon" viewBox="0 0 12 16" aria-hidden="true"><path fill-rule="evenodd" d="M11 11.28V5c-.03-.78-.34-1.47-.94-2.06C9.46 2.35 8.78 2.03 8 2H7V0L4 3l3 3V4h1c.27.02.48.11.69.31.21.2.3.42.31.69v6.28A1.993 1.993 0 0 0 10 15a1.993 1.993 0 0 0 1-3.72zm-1 2.92c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zM4 3c0-1.11-.89-2-2-2a1.993 1.993 0 0 0-1 3.72v6.56A1.993 1.993 0 0 0 2 15a1.993 1.993 0 0 0 1-3.72V4.72c.59-.34 1-.98 1-1.72zm-.8 10c0 .66-.55 1.2-1.2 1.2-.65 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2zM2 4.2C1.34 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z"></path></svg>
+ </div>
+ <div class="github-info-container">
+ <h4><a href="https://github.com/discourse/discourse/pull/1236" target="_blank" rel="noopener">DEV: Refactor user preferences controller</a></h4>
+ <div class="branches"><code>discourse:main</code> ← <code>developer:refactor-prefs</code></div>
+ <div class="github-info">
+ <div class="date">changes requested Jan 3, 2026</div>
+ <div class="user"><img alt="" src="/images/avatar.png" class="onebox-avatar-inline" width="20" height="20" /> developer</div>
+ <div class="lines"><span class="added">+89</span> <span class="removed">-234</span></div>
+ </div>
+ </div>
+ </div>
+ </article>
+</aside>`;
+
+ const githubPrMergedCooked = `<p>This was merged yesterday:</p>
+<aside class="onebox githubpullrequest" data-onebox-src="https://github.com/discourse/discourse/pull/1237">
+ <header class="source">
+ <a href="https://github.com/discourse/discourse/pull/1237" target="_blank" rel="noopener">github.com/discourse/discourse</a>
+ </header>
+ <article class="onebox-body">
+ <div class="github-row --gh-status-merged">
+ <div class="github-icon-container" title="Merged">
+ <svg width="60" height="60" class="github-icon" viewBox="0 0 12 16" aria-hidden="true"><path fill-rule="evenodd" d="M11 11.28V5c-.03-.78-.34-1.47-.94-2.06C9.46 2.35 8.78 2.03 8 2H7V0L4 3l3 3V4h1c.27.02.48.11.69.31.21.2.3.42.31.69v6.28A1.993 1.993 0 0 0 10 15a1.993 1.993 0 0 0 1-3.72zm-1 2.92c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zM4 3c0-1.11-.89-2-2-2a1.993 1.993 0 0 0-1 3.72v6.56A1.993 1.993 0 0 0 2 15a1.993 1.993 0 0 0 1-3.72V4.72c.59-.34 1-.98 1-1.72zm-.8 10c0 .66-.55 1.2-1.2 1.2-.65 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2zM2 4.2C1.34 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z"></path></svg>
+ </div>
+ <div class="github-info-container">
+ <h4><a href="https://github.com/discourse/discourse/pull/1237" target="_blank" rel="noopener">SECURITY: Sanitize user input in search queries</a></h4>
+ <div class="branches"><code>discourse:main</code> ← <code>security-team:sanitize-search</code></div>
+ <div class="github-info">
+ <div class="date">merged Jan 2, 2026</div>
+ <div class="user"><img alt="" src="/images/avatar.png" class="onebox-avatar-inline" width="20" height="20" /> security-team</div>
+ <div class="lines"><span class="added">+12</span> <span class="removed">-5</span></div>
+ </div>
+ </div>
+ </div>
+ </article>
+</aside>`;
+
+ const createOneboxPost = (id, cookedContent) => ({
+ id,
+ topic,
+ user: {
+ avatar_template: user.avatar_template,
+ id: user.id,
+ username: user.username,
+ name: user.name,
+ },
+ name: user.name,
+ username: user.username,
+ avatar_template: user.avatar_template,
+ created_at: "2024-11-13T21:12:37.835Z",
+ displayDate: moment().subtract(3, "days"),
+ cooked: cookedContent,
+ post_number: 1,
+ post_type: 1,
+ updated_at: moment().subtract(2, "days"),
+ reply_count: 0,
+ reply_to_post_number: null,
+ quote_count: 0,
+ incoming_link_count: 0,
+ reads: 1,
+ readers_count: 0,
+ score: 0,
+ yours: false,
+ topic_id: topic.id,
+ topic_slug: topic.slug,
+ display_username: user.name,
+ primary_group_name: null,
+ version: 1,
+ can_edit: true,
+ can_delete: true,
+ can_recover: true,
+ can_see_hidden_post: true,
+ can_wiki: true,
+ read: true,
+ user_title: "",
+ bookmarked: false,
+ actions_summary: [],
+ moderator: false,
+ admin: true,
+ staff: true,
+ user_id: user.id,
+ hidden: false,
+ trust_level: user.trust_level,
+ deleted_at: null,
+ user_deleted: false,
+ edit_reason: null,
+ can_view_edit_history: true,
+ wiki: false,
+ });
+
+ const oneboxPosts = {
+ wikipedia: createOneboxPost(2001, wikipediaOneboxCooked),
+ githubPrOpen: createOneboxPost(2002, githubPrOpenCooked),
+ githubPrApproved: createOneboxPost(2003, githubPrApprovedCooked),
+ githubPrChangesRequested: createOneboxPost(
+ 2004,
+ githubPrChangesRequestedCooked
+ ),
+ githubPrMerged: createOneboxPost(2005, githubPrMergedCooked),
+ };
+
const postList = [
transformedPost,
{
@@ -394,6 +564,7 @@ export function createData(store) {
transformedPost,
postModel,
postList,
+ oneboxPosts,
user,
diff --git a/plugins/styleguide/assets/javascripts/discourse/lib/styleguide.js b/plugins/styleguide/assets/javascripts/discourse/lib/styleguide.js
index 9fad85c1986..03dfd374cbc 100644
--- a/plugins/styleguide/assets/javascripts/discourse/lib/styleguide.js
+++ b/plugins/styleguide/assets/javascripts/discourse/lib/styleguide.js
@@ -27,9 +27,10 @@ import topicNotifications from "../components/sections/molecules/topic-notificat
import topicTimerInfo from "../components/sections/molecules/topic-timer-info";
import post from "../components/sections/organisms/00-post";
import postList from "../components/sections/organisms/01-post-list";
-import topicMap from "../components/sections/organisms/02-topic-map";
-import topicFooterButtons from "../components/sections/organisms/03-topic-footer-buttons";
-import topicList from "../components/sections/organisms/04-topic-list";
+import postOneboxes from "../components/sections/organisms/02-post-oneboxes";
+import topicMap from "../components/sections/organisms/03-topic-map";
+import topicFooterButtons from "../components/sections/organisms/04-topic-footer-buttons";
+import topicList from "../components/sections/organisms/05-topic-list";
import basicTopicList from "../components/sections/organisms/basic-topic-list";
import categoriesList from "../components/sections/organisms/categories-list";
import modal from "../components/sections/organisms/modal";
@@ -87,18 +88,24 @@ const SECTIONS = [
{ component: topicTimerInfo, category: "molecules", id: "topic-timer-info" },
{ component: post, category: "organisms", id: "post", priority: 0 },
{ component: postList, category: "organisms", id: "post-list", priority: 1 },
- { component: topicMap, category: "organisms", id: "topic-map", priority: 2 },
+ {
+ component: postOneboxes,
+ category: "organisms",
+ id: "post-oneboxes",
+ priority: 2,
+ },
+ { component: topicMap, category: "organisms", id: "topic-map", priority: 3 },
{
component: topicFooterButtons,
category: "organisms",
id: "topic-footer-buttons",
- priority: 3,
+ priority: 4,
},
{
component: topicList,
category: "organisms",
id: "topic-list",
- priority: 4,
+ priority: 5,
},
{ component: basicTopicList, category: "organisms", id: "basic-topic-list" },
{ component: categoriesList, category: "organisms", id: "categories-list" },
diff --git a/plugins/styleguide/config/locales/client.en.yml b/plugins/styleguide/config/locales/client.en.yml
index 4f6f2312b37..ffdebf51027 100644
--- a/plugins/styleguide/config/locales/client.en.yml
+++ b/plugins/styleguide/config/locales/client.en.yml
@@ -81,6 +81,8 @@ en:
title: "Post List"
empty_example: "<PostList /> empty state"
populated_example: "<PostList /> populated state"
+ post_oneboxes:
+ title: "Post Oneboxes"
topic_map:
title: "Topic Map"
site_header:
diff --git a/plugins/styleguide/spec/system/smoke_test_spec.rb b/plugins/styleguide/spec/system/smoke_test_spec.rb
index c7cb2b23e70..38b3a8093d4 100644
--- a/plugins/styleguide/spec/system/smoke_test_spec.rb
+++ b/plugins/styleguide/spec/system/smoke_test_spec.rb
@@ -40,6 +40,7 @@ RSpec.describe "Styleguide Smoke Test", type: :system do
"ORGANISMS" => [
{ href: "/organisms/post", title: "Post" },
{ href: "/organisms/post-list", title: "Post List" },
+ { href: "/organisms/post-oneboxes", title: "Post Oneboxes" },
{ href: "/organisms/topic-map", title: "Topic Map" },
{ href: "/organisms/topic-footer-buttons", title: "Topic Footer Buttons" },
{ href: "/organisms/topic-list", title: "Topic List" },