Skip to content

[Build] Update GPUI dependency - #3

Merged
BumpyClock merged 3 commits into
mainfrom
chore/update-gpui-commit-26-04030
Apr 30, 2026
Merged

[Build] Update GPUI dependency#3
BumpyClock merged 3 commits into
mainfrom
chore/update-gpui-commit-26-04030

Conversation

@BumpyClock

Copy link
Copy Markdown
Owner

Summary

Updates gpui and gpui_platform to 0d952efcd0e8769b18acc0b15130c45dec80cab8, refreshes the lockfile, and applies compatibility fixes required by the upstream sync.

Changes

  • Bump GPUI revs and vendor/gpui submodule.
  • Adapt scrollbar content-size math to upstream geometry typing.
  • Box SettingItem control storage to satisfy clippy enum-size lint.
  • Add docs summaries and spellcheck config for vendored GPUI.

Breaking Changes

  • SettingItem::Item.field is now boxed.
- field: SettingControl
+ field: Box<SettingControl>

Testing

  • cargo build
  • cargo fmt --check
  • cargo clippy -- --deny warnings
  • typos
  • cargo machete Cargo.toml crates examples
  • CodeRabbit review, 2 passes

@coderabbitai

coderabbitai Bot commented Apr 30, 2026

Copy link
Copy Markdown

Summary by CodeRabbit

  • Bug Fixes

    • Fixed a typo in documentation formatting guidance.
  • Documentation

    • Added/expanded frontmatter metadata (title/summary/read hints) across component and learning docs.
  • Refactor

    • Adjusted settings data layout and scrollbar type handling for compatibility.
  • Chores

    • Updated workspace dependency and submodule revisions, added sync branch config, adjusted gitattributes for event-file merges, excluded vendor path from typo checks, and cleared event log data.

Walkthrough

Adds YAML frontmatter (mainly summary) to many docs, updates GPUI workspace dependency and vendored submodule, adjusts tasque config and git attributes, deletes .tasque/events.jsonl contents, and applies small Rust type/compatibility edits in UI crates.

Changes

Cohort / File(s) Summary
Documentation frontmatter
docs/README.md, docs/index.md, docs/skills.md, docs/contributors.md, docs/docs/index.md, docs/docs/root.md, docs/docs/theme.md, docs/docs/assets.md, docs/docs/getting-started.md, docs/docs/installation.md, docs/docs/*, docs/learned/*, docs/learned/LEARNINGS.md
Added summary (and other YAML frontmatter fields for learned notes) to 60+ documentation files; no content or code changes beyond metadata.
Tasque config & events
.tasque/config.json, .tasque/events.jsonl
Added "sync_branch": "tsq-sync" to config; removed all lines from events.jsonl (file emptied).
Git attributes & typos config
.gitattributes, typos.toml
Added merge directive for .tasque/events.jsonl (merge=tasque-events) and excluded vendor/gpui/ from typos checks.
Workspace dependencies & vendor
Cargo.toml, vendor/gpui
Updated gpui and gpui_platform workspace git revision to 0d952ef...; updated vendored vendor/gpui submodule pointer to the same commit.
UI crate small fixes
crates/ui/src/scroll/scrollbar.rs, crates/ui/src/setting/item.rs
Minor type compatibility change: added .into() in scrollbar size calc; changed SettingItem::Item field to Box<SettingControl> and updated constructor to box the control.
Skill doc typo fix
.claude/skills/github-pull-request-description/SKILL.md
Corrected typo “pefer” → “prefer” in breaking-changes formatting guidance.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 25.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title '[Build] Update GPUI dependency' accurately summarizes the main change in the PR, which is updating the GPUI dependency to a new commit and applying compatibility fixes.
Description check ✅ Passed The PR description provides a clear summary, detailed changes list, breaking changes documentation with a code diff, and comprehensive testing information, though it deviates from the template structure.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/update-gpui-commit-26-04030

Review rate limit: 2/5 reviews remaining, refill in 26 minutes and 16 seconds.

Comment @coderabbitai help to get the list of available commands and usage tips.

Copilot AI 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.

Pull request overview

This PR syncs the repository to a newer gpui/gpui_platform git revision, updates the lockfile accordingly, and applies small compatibility adjustments plus docs/typos config updates to match the upstream vendored GPUI state.

Changes:

  • Bump gpui and gpui_platform git revs and refresh Cargo.lock for the new dependency graph.
  • Update UI code for upstream type changes (scrollbar content-size math) and address clippy enum-size lint by boxing SettingItem’s control field.
  • Add/standardize VitePress-style frontmatter summaries across docs and exclude vendor/gpui/ from typos.

Reviewed changes

Copilot reviewed 85 out of 87 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
typos.toml Excludes vendored GPUI from spellchecking.
docs/skills.md Adds frontmatter summary for docs site metadata.
docs/learned/theme-motion.md Adds learned-doc frontmatter metadata.
docs/learned/spring-preset-api.md Adds learned-doc frontmatter metadata.
docs/learned/sidebar-animation.md Adds learned-doc frontmatter metadata.
docs/learned/menu-popover-animation.md Adds learned-doc frontmatter metadata.
docs/learned/gpui-submodule.md Adds learned-doc frontmatter metadata.
docs/learned/command-palette-animation.md Adds learned-doc frontmatter metadata.
docs/learned/asset-source-composition.md Moves read_when into frontmatter and adds summary metadata.
docs/learned/accordion-animation.md Adds learned-doc frontmatter metadata.
docs/learned/LEARNINGS.md Adds index frontmatter metadata for learned docs.
docs/index.md Adds home page title/summary metadata.
docs/docs/theme.md Adds docs page title/summary metadata.
docs/docs/root.md Adds docs page title/summary metadata.
docs/docs/installation.md Adds docs page summary metadata.
docs/docs/index.md Adds docs page summary metadata.
docs/docs/getting-started.md Adds docs page summary metadata.
docs/docs/element_id.md Adds docs page summary metadata.
docs/docs/context.md Adds docs page summary metadata.
docs/docs/components/virtual-list.md Adds component page summary metadata.
docs/docs/components/tree.md Adds component page summary metadata.
docs/docs/components/tooltip.md Adds component page summary metadata.
docs/docs/components/toggle.md Adds component page summary metadata.
docs/docs/components/title-bar.md Adds component page summary metadata.
docs/docs/components/tag.md Adds component page summary metadata.
docs/docs/components/tabs.md Adds component page summary metadata.
docs/docs/components/table.md Adds component page summary metadata.
docs/docs/components/switch.md Adds component page summary metadata.
docs/docs/components/stepper.md Adds component page summary metadata.
docs/docs/components/spinner.md Updates description text and adds summary metadata.
docs/docs/components/slider.md Adds component page summary metadata.
docs/docs/components/skeleton.md Adds component page summary metadata.
docs/docs/components/sidebar.md Adds component page summary metadata.
docs/docs/components/sheet.md Adds component page summary metadata.
docs/docs/components/settings.md Adds component page summary metadata.
docs/docs/components/select.md Adds component page summary metadata.
docs/docs/components/scrollable.md Adds component page summary metadata.
docs/docs/components/resizable.md Adds component page summary metadata.
docs/docs/components/rating.md Adds component page summary metadata.
docs/docs/components/radio.md Adds component page summary metadata.
docs/docs/components/progress.md Adds component page summary metadata.
docs/docs/components/popover.md Adds component page summary metadata.
docs/docs/components/plot.md Adds component page summary metadata.
docs/docs/components/pagination.md Adds component page summary metadata.
docs/docs/components/otp-input.md Adds component page summary metadata.
docs/docs/components/number-input.md Adds component page summary metadata.
docs/docs/components/notification.md Adds component page summary metadata.
docs/docs/components/menu.md Adds component page summary metadata.
docs/docs/components/list.md Adds component page summary metadata.
docs/docs/components/label.md Adds component page summary metadata.
docs/docs/components/kbd.md Adds component page summary metadata.
docs/docs/components/input.md Adds component page summary metadata.
docs/docs/components/index.md Adds components index summary metadata.
docs/docs/components/image.md Adds component page summary metadata.
docs/docs/components/icon.md Adds component page summary metadata.
docs/docs/components/hover-card.md Adds component page summary metadata.
docs/docs/components/group-box.md Adds component page summary metadata.
docs/docs/components/form.md Adds component page summary metadata.
docs/docs/components/focus-trap.md Adds component page summary metadata.
docs/docs/components/editor.md Adds component page summary metadata.
docs/docs/components/dropdown_button.md Adds component page summary metadata.
docs/docs/components/dialog.md Fixes description wording and adds summary metadata.
docs/docs/components/description-list.md Adds component page summary metadata.
docs/docs/components/date-picker.md Adds component page summary metadata.
docs/docs/components/color-picker.md Adds component page summary metadata.
docs/docs/components/collapsible.md Adds component page summary metadata.
docs/docs/components/clipboard.md Adds component page summary metadata.
docs/docs/components/checkbox.md Adds component page summary metadata.
docs/docs/components/chart.md Adds component page summary metadata.
docs/docs/components/calendar.md Adds component page summary metadata.
docs/docs/components/button.md Adds component page summary metadata.
docs/docs/components/badge.md Adds component page summary metadata.
docs/docs/components/avatar.md Adds component page summary metadata.
docs/docs/components/alert.md Adds component page summary metadata.
docs/docs/components/accordion.md Adds component page summary metadata.
docs/docs/assets.md Adds docs page summary metadata.
docs/contributors.md Adds contributors page title/summary metadata.
docs/README.md Adds docs README frontmatter metadata.
crates/ui/src/setting/item.rs Boxes SettingControl inside SettingItem::Item and updates constructor accordingly.
crates/ui/src/scroll/scrollbar.rs Adapts ListState content-size calculation to upstream geometry typing (into()).
Cargo.toml Updates gpui/gpui_platform git rev pins.
Cargo.lock Refreshes lockfile for new GPUI rev and transitive dependency updates.
.tasque/events.jsonl Clears tracked Tasque event log contents.
.tasque/config.json Adds Tasque sync_branch configuration.
.gitattributes Adds merge driver attribute for .tasque/events.jsonl.
.claude/skills/github-pull-request-description/SKILL.md Fixes a spelling error (“prefer”).

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

Comment thread .gitattributes Outdated

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

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 `@docs/docs/index.md`:
- Line 4: Update the YAML summary value for the key "summary" so the user-facing
copy reads "Rust GUI components for building fantastic cross-platform desktop
applications by using GPUI." — specifically change "desktop application" to
"desktop applications" in the existing summary string.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 5e38f5cb-7d7d-466b-b4db-11ca3cad7652

📥 Commits

Reviewing files that changed from the base of the PR and between 3b3ca0e and 08d19a8.

⛔ Files ignored due to path filters (1)
  • Cargo.lock is excluded by !**/*.lock
📒 Files selected for processing (86)
  • .claude/skills/github-pull-request-description/SKILL.md
  • .gitattributes
  • .tasque/config.json
  • .tasque/events.jsonl
  • Cargo.toml
  • crates/ui/src/scroll/scrollbar.rs
  • crates/ui/src/setting/item.rs
  • docs/README.md
  • docs/contributors.md
  • docs/docs/assets.md
  • docs/docs/components/accordion.md
  • docs/docs/components/alert.md
  • docs/docs/components/avatar.md
  • docs/docs/components/badge.md
  • docs/docs/components/button.md
  • docs/docs/components/calendar.md
  • docs/docs/components/chart.md
  • docs/docs/components/checkbox.md
  • docs/docs/components/clipboard.md
  • docs/docs/components/collapsible.md
  • docs/docs/components/color-picker.md
  • docs/docs/components/date-picker.md
  • docs/docs/components/description-list.md
  • docs/docs/components/dialog.md
  • docs/docs/components/dropdown_button.md
  • docs/docs/components/editor.md
  • docs/docs/components/focus-trap.md
  • docs/docs/components/form.md
  • docs/docs/components/group-box.md
  • docs/docs/components/hover-card.md
  • docs/docs/components/icon.md
  • docs/docs/components/image.md
  • docs/docs/components/index.md
  • docs/docs/components/input.md
  • docs/docs/components/kbd.md
  • docs/docs/components/label.md
  • docs/docs/components/list.md
  • docs/docs/components/menu.md
  • docs/docs/components/notification.md
  • docs/docs/components/number-input.md
  • docs/docs/components/otp-input.md
  • docs/docs/components/pagination.md
  • docs/docs/components/plot.md
  • docs/docs/components/popover.md
  • docs/docs/components/progress.md
  • docs/docs/components/radio.md
  • docs/docs/components/rating.md
  • docs/docs/components/resizable.md
  • docs/docs/components/scrollable.md
  • docs/docs/components/select.md
  • docs/docs/components/settings.md
  • docs/docs/components/sheet.md
  • docs/docs/components/sidebar.md
  • docs/docs/components/skeleton.md
  • docs/docs/components/slider.md
  • docs/docs/components/spinner.md
  • docs/docs/components/stepper.md
  • docs/docs/components/switch.md
  • docs/docs/components/table.md
  • docs/docs/components/tabs.md
  • docs/docs/components/tag.md
  • docs/docs/components/title-bar.md
  • docs/docs/components/toggle.md
  • docs/docs/components/tooltip.md
  • docs/docs/components/tree.md
  • docs/docs/components/virtual-list.md
  • docs/docs/context.md
  • docs/docs/element_id.md
  • docs/docs/getting-started.md
  • docs/docs/index.md
  • docs/docs/installation.md
  • docs/docs/root.md
  • docs/docs/theme.md
  • docs/index.md
  • docs/learned/LEARNINGS.md
  • docs/learned/accordion-animation.md
  • docs/learned/asset-source-composition.md
  • docs/learned/command-palette-animation.md
  • docs/learned/gpui-submodule.md
  • docs/learned/menu-popover-animation.md
  • docs/learned/sidebar-animation.md
  • docs/learned/spring-preset-api.md
  • docs/learned/theme-motion.md
  • docs/skills.md
  • typos.toml
  • vendor/gpui
💤 Files with no reviewable changes (1)
  • .tasque/events.jsonl

Comment thread docs/docs/index.md Outdated

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

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 `@docs/docs/index.md`:
- Around line 3-4: Update the front-matter key `description` so its wording
matches `summary`: change "Rust GUI components for building fantastic
cross-platform desktop application by using GPUI." to use plural "desktop
applications" and "using GPUI" (same style as `summary`), ensuring `description`
and `summary` are consistent in docs/docs/index.md.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 123d76b1-4e82-4bad-accd-6d675c7f059f

📥 Commits

Reviewing files that changed from the base of the PR and between 08d19a8 and c7c78e5.

📒 Files selected for processing (2)
  • .gitattributes
  • docs/docs/index.md

Comment thread docs/docs/index.md
Comment on lines 3 to +4
description: Rust GUI components for building fantastic cross-platform desktop application by using GPUI.
summary: "Rust GUI components for building fantastic cross-platform desktop applications using GPUI."

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Fix user-facing copy inconsistency in front-matter (description).

summary (line 4) correctly uses “desktop applications” and “using GPUI”, but description (line 3) still says “desktop application” and “by using GPUI”. For consistency, update description to match the wording style of summary.

✏️ Proposed edit
-description: Rust GUI components for building fantastic cross-platform desktop application by using GPUI.
+description: Rust GUI components for building fantastic cross-platform desktop applications using GPUI.
📝 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
description: Rust GUI components for building fantastic cross-platform desktop application by using GPUI.
summary: "Rust GUI components for building fantastic cross-platform desktop applications using GPUI."
description: Rust GUI components for building fantastic cross-platform desktop applications using GPUI.
summary: "Rust GUI components for building fantastic cross-platform desktop applications using GPUI."
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/docs/index.md` around lines 3 - 4, Update the front-matter key
`description` so its wording matches `summary`: change "Rust GUI components for
building fantastic cross-platform desktop application by using GPUI." to use
plural "desktop applications" and "using GPUI" (same style as `summary`),
ensuring `description` and `summary` are consistent in docs/docs/index.md.

@BumpyClock
BumpyClock merged commit 85a0813 into main Apr 30, 2026
1 check passed
@BumpyClock
BumpyClock deleted the chore/update-gpui-commit-26-04030 branch April 30, 2026 16:04
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