Skip to content

Conversation

@xl-openai
Copy link
Collaborator

@xl-openai xl-openai commented Dec 18, 2025

Only display the skill name (not the folder), and truncate the skill description to a maximum of two lines.

@xl-openai xl-openai force-pushed the xl/skills-ui branch 3 times, most recently from d262170 to de2f176 Compare December 18, 2025 08:47
@xl-openai
Copy link
Collaborator Author

@codex review again

Copy link
Contributor

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 291 to 295
let wrapped = word_wrap_lines([full_line.clone()], options);
let max_row_lines = row.max_row_lines.unwrap_or(usize::MAX);
let wrapped = if wrapped.len() > max_row_lines {
let mut limited: Vec<Line<'static>> = wrapped.into_iter().take(max_row_lines).collect();
if let Some(last) = limited.pop() {
Copy link
Contributor

Choose a reason for hiding this comment

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

P2 Badge Cap height calculations when max_row_lines is set

The new max_row_lines truncation is only applied during rendering; measure_rows_height still counts all wrapped lines. Because SkillPopup::calculate_required_height uses measure_rows_height, the popup can still reserve vertical space for the full description even though rendering is capped at two lines, so the change doesn’t actually prevent the popup from growing tall and can leave large empty space / shrink other panes. Consider applying the same max_row_lines cap (and ellipsis logic if needed) inside measure_rows_height so sizing matches rendering. The same mismatch exists in tui2’s selection_popup_common.rs.

Useful? React with 👍 / 👎.

@xl-openai xl-openai force-pushed the xl/skills-ui branch 2 times, most recently from 687a434 to ad79d5e Compare December 18, 2025 18:49
@xl-openai
Copy link
Collaborator Author

@codex review again

@chatgpt-codex-connector
Copy link
Contributor

Codex Review: Didn't find any major issues. Hooray!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@xl-openai xl-openai force-pushed the xl/skills-ui branch 3 times, most recently from 7201434 to 63c3838 Compare December 19, 2025 00:43
@xl-openai xl-openai enabled auto-merge (squash) December 19, 2025 01:09
@xl-openai xl-openai merged commit dcc0119 into main Dec 19, 2025
26 checks passed
@xl-openai xl-openai deleted the xl/skills-ui branch December 19, 2025 01:16
@github-actions github-actions bot locked and limited conversation to collaborators Dec 19, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants