Skip to content

Update Lip Gloss to v2#40

Merged
5ouma merged 1 commit intomainfrom
chore-deps-lipgloss-v2
Mar 2, 2026
Merged

Update Lip Gloss to v2#40
5ouma merged 1 commit intomainfrom
chore-deps-lipgloss-v2

Conversation

@5ouma
Copy link
Owner

@5ouma 5ouma commented Mar 2, 2026

⚠️ Issue

close #


✏️ Description

Use the new API to fit the spec.


Use the new API to fit the spec.

Signed-off-by: Souma <git@5ouma.me>
Copilot AI review requested due to automatic review settings March 2, 2026 13:39
@coderabbitai
Copy link

coderabbitai bot commented Mar 2, 2026

Warning

Rate limit exceeded

@5ouma has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 16 minutes and 55 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between bfc78d9 and 4710bda.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing (3)
  • go.mod
  • internal/dock/dock_test.go
  • internal/utils/utils.go
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore-deps-lipgloss-v2

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.

@codecov
Copy link

codecov bot commented Mar 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 51.08%. Comparing base (1204d10) to head (4710bda).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #40   +/-   ##
=======================================
  Coverage   51.08%   51.08%           
=======================================
  Files           9        9           
  Lines         370      370           
=======================================
  Hits          189      189           
  Misses        167      167           
  Partials       14       14           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the project’s terminal styling dependency to Lip Gloss v2 and adapts the small set of style definitions to the new API, while also simplifying a subtest loop now that modern Go range semantics make the extra variable rebind unnecessary.

Changes:

  • Migrate Lip Gloss import from github.com/charmbracelet/lipgloss to charm.land/lipgloss/v2 and update CompleteColor usage via compat.
  • Remove redundant name, tc := name, tc rebind in a parallel subtest loop.
  • Refresh Go module dependencies (go.mod / go.sum) to match the Lip Gloss v2 dependency graph.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
internal/utils/utils.go Updates Lip Gloss imports and color style definitions to the v2 API using compat.CompleteColor.
internal/dock/dock_test.go Removes unnecessary loop variable rebinding in table-driven parallel subtests.
go.mod Switches the direct dependency to charm.land/lipgloss/v2 and updates indirect requirements accordingly.
go.sum Updates checksums to reflect the new dependency set after the Lip Gloss v2 upgrade.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@5ouma
Copy link
Owner Author

5ouma commented Mar 2, 2026

@coderabbitai approve

@coderabbitai
Copy link

coderabbitai bot commented Mar 2, 2026

✅ Actions performed

Comments resolved and changes approved.

@5ouma 5ouma merged commit 97674f0 into main Mar 2, 2026
21 of 24 checks passed
@5ouma 5ouma deleted the chore-deps-lipgloss-v2 branch March 2, 2026 13:48
@5ouma 5ouma bot mentioned this pull request Feb 28, 2026
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