Skip to content

chore: update blog heading + dates#493

Merged
moshloop merged 1 commit intomainfrom
update-blog
Feb 24, 2026
Merged

chore: update blog heading + dates#493
moshloop merged 1 commit intomainfrom
update-blog

Conversation

@yashmehrotra
Copy link
Member

@yashmehrotra yashmehrotra commented Feb 24, 2026

Summary by CodeRabbit

  • Style

    • Enhanced post item component styling with improved text alignment for better visual consistency
  • Documentation

    • Populated publication date metadata across blog posts to enable proper chronological organization
  • Chores

    • Corrected configuration file syntax and formatting for proper structure validation
    • Updated submodule dependencies to their latest versions

@vercel
Copy link

vercel bot commented Feb 24, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview Feb 24, 2026 8:23am

Request Review

@netlify
Copy link

netlify bot commented Feb 24, 2026

Deploy Preview for canarychecker canceled.

Name Link
🔨 Latest commit 9eba8c7
🔍 Latest deploy log https://app.netlify.com/projects/canarychecker/deploys/699d5ff11d34b40008168b2a

@coderabbitai
Copy link

coderabbitai bot commented Feb 24, 2026

Walkthrough

This PR updates blog post metadata by adding date fields to front matter, fixes configuration nesting in docusaurus.config.ts, applies a CSS class adjustment to BlogPostItems for center text alignment, and updates submodule pointer references across multiple module directories.

Changes

Cohort / File(s) Summary
UI Layout Adjustments
common/src/theme/BlogPostItems/index.js
Added CSS class text--center to root container div for centered text presentation.
Blog Post Metadata
mission-control/blog/canary-checker-v1.1.0.md, mission-control/blog/control-plane-testing/index.mdx, mission-control/blog/distributed-canaries/index.mdx
Added date fields to YAML front matter across three blog posts (dates: 2024-12-15, 2025-01-07, 2026-02-16).
Configuration Fixes
mission-control/docusaurus.config.ts
Corrected nesting structure by removing extra closing brace and blank lines in presets/classic options block.
Submodule Updates
modules/canary-checker, modules/config-db, modules/duty, modules/mission-control, modules/mission-control-chart, modules/mission-control-registry
Updated submodule pointers to newer commits across six module directories.

Possibly related PRs

Suggested reviewers

  • moshloop
🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'chore: update blog heading + dates' accurately reflects the main changes in the pull request, which include adding CSS class to BlogPostItems component and adding date metadata fields to multiple blog files.

✏️ 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 update-blog

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.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@common/src/theme/BlogPostItems/index.js`:
- Line 11: The container div currently has className 'text--center' which
cascades center alignment to all child elements (affecting Cards, Card,
BlogPostItemContainer, BlogPostItemHeader); remove 'text--center' from the outer
div and instead apply it directly to the heading element (the <h1> rendered in
this component, e.g. BlogPostItems' title) so only the heading is centered and
card content remains left-aligned.

ℹ️ Review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between f076088 and 9eba8c7.

⛔ Files ignored due to path filters (1)
  • mission-control/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (11)
  • common/src/theme/BlogPostItems/index.js
  • mission-control/blog/canary-checker-v1.1.0.md
  • mission-control/blog/control-plane-testing/index.mdx
  • mission-control/blog/distributed-canaries/index.mdx
  • mission-control/docusaurus.config.ts
  • modules/canary-checker
  • modules/config-db
  • modules/duty
  • modules/mission-control
  • modules/mission-control-chart
  • modules/mission-control-registry
💤 Files with no reviewable changes (1)
  • mission-control/docusaurus.config.ts

}) {
return (
<div className='pt-10 container'>
<div className='pt-10 container text--center'>
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Find the file structure and locate Card-related components
find . -type f \( -name "*.js" -o -name "*.jsx" -o -name "*.ts" -o -name "*.tsx" \) | grep -E "(BlogPostItem|Card)" | head -20

Repository: flanksource/docs

Length of output: 681


🏁 Script executed:

#!/bin/bash
# Look at the main file in question
cat -n common/src/theme/BlogPostItems/index.js

Repository: flanksource/docs

Length of output: 1042


🏁 Script executed:

#!/bin/bash
# Search for BlogPostCard and Cards component imports/definitions
rg -n "BlogPostCard|export.*Card" --type js --type jsx --type ts --type tsx

Repository: flanksource/docs

Length of output: 87


🏁 Script executed:

#!/bin/bash
# Look for text-align or text--center in Card-related files
rg -n "text-align|text--center|text--left" --type js --type jsx --type ts --type tsx --type css --type scss -A 2 -B 2 | grep -E "(Card|text-align|text--)" | head -50

Repository: flanksource/docs

Length of output: 87


🏁 Script executed:

#!/bin/bash
# Read the Cards component
cat -n common/src/components/Card.jsx

Repository: flanksource/docs

Length of output: 1886


🏁 Script executed:

#!/bin/bash
# Read the BlogPostCard component
cat -n common/src/theme/BlogPostItem/Card/index.js

Repository: flanksource/docs

Length of output: 1379


🏁 Script executed:

#!/bin/bash
# Search for text-align without file type restrictions
rg "text-align|text--center|text--left" -A 2 -B 2

Repository: flanksource/docs

Length of output: 50374


🏁 Script executed:

#!/bin/bash
# Search for text-align only in code files, not SVG
rg "text-align|text--center|text--left" --type js --type ts --type css | head -40

Repository: flanksource/docs

Length of output: 2297


🏁 Script executed:

#!/bin/bash
# Check the BlogPostItemContainer component
find . -name "*Container*" | grep -i blogpost

Repository: flanksource/docs

Length of output: 101


🏁 Script executed:

#!/bin/bash
# Check if any Card-related component has text-align css
rg "text-align" common/src/theme/BlogPostItem/ common/src/components/Card.jsx

Repository: flanksource/docs

Length of output: 42


🏁 Script executed:

#!/bin/bash
# Check the BlogPostItemContainer component
cat -n common/src/theme/BlogPostItem/Container/index.js

Repository: flanksource/docs

Length of output: 307


🏁 Script executed:

#!/bin/bash
# Check all BlogPostItem subcomponents for text-align
find common/src/theme/BlogPostItem -name "*.js" -o -name "*.jsx" | xargs grep -l "text-align\|text--" 2>/dev/null

Repository: flanksource/docs

Length of output: 105


🏁 Script executed:

#!/bin/bash
# Check the Footer component
cat -n common/src/theme/BlogPostItem/Footer/index.js

Repository: flanksource/docs

Length of output: 2846


🏁 Script executed:

#!/bin/bash
# Search for text-- classes in BlogPostItem directory
rg "text--" common/src/theme/BlogPostItem/ -A 2 -B 2

Repository: flanksource/docs

Length of output: 434


🏁 Script executed:

#!/bin/bash
# Check the complete structure of BlogPostItem/Card to see all classes
cat -n common/src/theme/BlogPostItem/Card/index.js

Repository: flanksource/docs

Length of output: 1379


🏁 Script executed:

#!/bin/bash
# Check BlogPostItemHeader to see if it sets any text-align
cat -n common/src/theme/BlogPostItem/Header/index.js

Repository: flanksource/docs

Length of output: 773


🏁 Script executed:

#!/bin/bash
# Check what text-- classes are available and their definitions
grep -A 1 "^\\.text--" common/src/canary-checker.css | head -30

Repository: flanksource/docs

Length of output: 545


🏁 Script executed:

#!/bin/bash
# Check if Card or Card children have any inline styles resetting text-align
rg "style.*text-align|textAlign" common/src/theme/BlogPostItem/ common/src/components/Card.jsx

Repository: flanksource/docs

Length of output: 42


Scoping text--center to the heading prevents unintended center-alignment of card content.

The text--center class cascades to all child elements since neither Cards, Card, BlogPostItemContainer, nor BlogPostItemHeader override the inherited text-align property. This centers the text in card bodies (descriptions, tags, metadata) unless that is intentional. If card content should be left-aligned, scope the class to the <h1> element instead.

Proposed scoping fix
-    <div className='pt-10 container text--center'>
-      <h1>Flanksource Blog</h1>
+    <div className='pt-10 container'>
+      <h1 className='text--center'>Flanksource Blog</h1>
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
<div className='pt-10 container text--center'>
<div className='pt-10 container'>
<h1 className='text--center'>Flanksource Blog</h1>
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@common/src/theme/BlogPostItems/index.js` at line 11, The container div
currently has className 'text--center' which cascades center alignment to all
child elements (affecting Cards, Card, BlogPostItemContainer,
BlogPostItemHeader); remove 'text--center' from the outer div and instead apply
it directly to the heading element (the <h1> rendered in this component, e.g.
BlogPostItems' title) so only the heading is centered and card content remains
left-aligned.

@moshloop moshloop merged commit fb52b13 into main Feb 24, 2026
15 checks passed
@moshloop moshloop deleted the update-blog branch February 24, 2026 09:00
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.

2 participants