Skip to content

fix: unify workspace show divider widths#308

Open
694410194 wants to merge 1 commit into
CortexLM:mainfrom
694410194:codex/workspace-show-rule-width
Open

fix: unify workspace show divider widths#308
694410194 wants to merge 1 commit into
CortexLM:mainfrom
694410194:codex/workspace-show-rule-width

Conversation

@694410194
Copy link
Copy Markdown

Summary

  • use a shared divider width constant in workspace show
  • align the main and nested section separators to the same width
  • add a small unit test to lock the width expectation

Testing

  • cargo fmt --manifest-path Cargo.toml --package cortex-cli
  • cargo check --manifest-path Cargo.toml -p cortex-cli
  • git diff --check
  • cargo test --manifest-path Cargo.toml -p cortex-cli test_workspace_show_rule_width_is_consistent (blocked by a pre-existing private import error in src/cortex-cli/src/agent_cmd/tests.rs:7 for read_file_with_encoding)

/claim #53266

Copy link
Copy Markdown

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

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

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

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