Skip to content

Fix standards eyebrow copy and dev server log spacing#400

Merged
zz-plant merged 1 commit into
mainfrom
codex/identify-and-fix-issues-in-repo
Jan 14, 2026
Merged

Fix standards eyebrow copy and dev server log spacing#400
zz-plant merged 1 commit into
mainfrom
codex/identify-and-fix-issues-in-repo

Conversation

@zz-plant

Copy link
Copy Markdown
Owner

Motivation

  • Correct small copy and formatting inconsistencies so UI copy and documentation align with the actual site content and logs.

Description

  • Change the standards page eyebrow in src/pages/standards/index.astro from "Active standard" to "Active standards" to reflect multiple entries.
  • Fix spacing in the dev server log example in docs/local-development.md so the example reads Local http://localhost:4321/ without the extra gap.
  • These are documentation/content edits only and do not change runtime behavior.

Testing

  • Ran bun run check (which runs linting, unit tests, typechecking, Astro checks, and JSON/glossary validation) and it completed successfully.
  • As part of the check, bun test executed the unit/component suite (17 tests: 14 pass, 3 skip) and astro check ran with hints but no errors.

Codex Task

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jan 14, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
et3 9cb255f Commit Preview URL

Branch Preview URL
Jan 14 2026, 03:43 PM

@zz-plant zz-plant merged commit 35e942d into main Jan 14, 2026
1 of 2 checks passed
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @zz-plant, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request addresses minor copy and formatting inconsistencies to ensure that the user interface text and documentation examples are precisely aligned with the actual site content and development server logs. The changes are purely editorial, focusing on improving clarity and accuracy in both the UI and developer documentation, without impacting any runtime behavior or functionality of the application.

Highlights

  • UI Copy Correction: The eyebrow text on the standards page in src/pages/standards/index.astro has been updated from "Active standard" to "Active standards" to accurately reflect the presence of multiple entries.
  • Documentation Formatting Fix: A spacing inconsistency in the dev server log example within docs/local-development.md has been resolved, ensuring the example Local http://localhost:4321/ is displayed correctly without an extra gap.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request introduces two small but valuable fixes to copy and formatting. The change to use 'Active standards' is appropriate given there are multiple standards, and the fix to the log example in the documentation improves clarity. The changes are correct. I have added one suggestion on the standards page to improve maintainability by centralizing content strings, which could make future updates easier.

<SectionBlock
id="active"
eyebrow="Active standard"
eyebrow="Active standards"

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.

medium

While this change correctly pluralizes the text, this eyebrow string, along with the title and description on the following lines, are hardcoded. For better maintainability, it's a good practice to centralize content like this in a single source, such as your src/content/standards.ts file. This would make future content updates easier and keep your component templates cleaner.

For example, you could add a new property to your standardsContent object:

// in src/content/standards.ts
export const standardsContent: StandardsContent = {
  // ... other properties
  activeSection: {
    eyebrow: "Active standards",
    title: "Now active",
    description: "Drafts and ratified standards in the publication queue."
  }
};

And then use it in this component:

// in src/pages/standards/index.astro
<SectionBlock
  id="active"
  eyebrow={standardsContent.activeSection.eyebrow}
  title={standardsContent.activeSection.title}
  description={standardsContent.activeSection.description}
>

This is a suggestion for a broader improvement and could be applied to other sections in this file as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant