Skip to content
Source
Sign inSign up
TanStack/pacer

fix(devtools): solidjs importing browser utils #181

Openharry-whorlow(GitHub profile, opens in a new tab)wants to merge 3 commits intomain fromcloudflair-workerd-envopened

No description provided.

    1. coderabbitai[bot](GitHub profile, opens in a new tab)commented

      Important

      Review skipped

      Draft detected.

      Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

      ⚙️ Run configuration

      Configuration used: defaults

      Review profile: CHILL

      Plan: Pro Plus

      Run ID: 1e360c84-af1c-456a-a8d2-24ba400d2445

      You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

      Use the checkbox below for a quick retry:

      • 🔍 Trigger review
      ✨ Finishing Touches
      🧪 Generate unit tests (beta)
      • Create PR with unit tests
      • Commit unit tests in branch `cloudflair-workerd-env`

      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.
    2. nx-cloud[bot](GitHub profile, opens in a new tab)commented

      View your CI Pipeline Execution ↗ for commit b2a8f1a90777b6fbb4f6deb0c27fb230ca39d96e

      CommandStatusDurationResult
      nx run-many --targets=build --exclude=examples/**✅ Succeeded8sView ↗

      ☁️ Nx Cloud last updated this comment at 2026-08-06 13:17:44 UTC

    3. pkg-pr-new[bot](GitHub profile, opens in a new tab)commented
      More templates

      @tanstack/angular-pacer

      npm i https://pkg.pr.new/@tanstack/angular-pacer@181

      @tanstack/pacer

      npm i https://pkg.pr.new/@tanstack/pacer@181

      @tanstack/pacer-devtools

      npm i https://pkg.pr.new/@tanstack/pacer-devtools@181

      @tanstack/pacer-lite

      npm i https://pkg.pr.new/@tanstack/pacer-lite@181

      @tanstack/preact-pacer

      npm i https://pkg.pr.new/@tanstack/preact-pacer@181

      @tanstack/preact-pacer-devtools

      npm i https://pkg.pr.new/@tanstack/preact-pacer-devtools@181

      @tanstack/react-pacer

      npm i https://pkg.pr.new/@tanstack/react-pacer@181

      @tanstack/react-pacer-devtools

      npm i https://pkg.pr.new/@tanstack/react-pacer-devtools@181

      @tanstack/solid-pacer

      npm i https://pkg.pr.new/@tanstack/solid-pacer@181

      @tanstack/solid-pacer-devtools

      npm i https://pkg.pr.new/@tanstack/solid-pacer-devtools@181

      commit: b2a8f1a

    4. Pull request overview

      This PR refactors pacer-devtools styling to reduce inline style usage in SolidJS components by moving layout concerns into the shared use-styles stylesheet and using CSS custom properties for dynamic sizing.

      Changes:

      • Replaced inline height/max-height and panel width style objects with CSS variables (--shell-slot-height, --left-panel-width).
      • Moved StateHeader inline layout styles into use-styles as new class rules.
      • Removed redundant inline flex: 1 on the right panel in favor of the existing stylesheet rule.

      Reviewed changes

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

      FileDescription
      packages/pacer-devtools/src/styles/use-styles.tsAdds CSS-variable-driven sizing and new StateHeader helper styles.
      packages/pacer-devtools/src/components/StateHeader.tsxSwitches from inline style to stylesheet classes for header layout.
      packages/pacer-devtools/src/components/Shell.tsxUses CSS variables instead of inline style objects for slot height and left panel width.

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

      @@ -372,3 +376,8 @@
      372376 box-shadow 0.3s,
      373377 background 0.3s;
      374378 `,
      379+ stateHeaderMeta: css`
      380+ display: flex;
      381+ align-items: center;
      382+ gap: 16px;
      383+ `,
      copilot-pull-request-reviewer[bot](GitHub profile, opens in a new tab)commented

      stateHeaderMeta uses a hard-coded gap: 16px, while the rest of this stylesheet consistently uses tokens.size[...] so spacing scales with --tsrd-font-size. Using a fixed pixel gap can break sizing when the devtools font size is customized.

      @@ -372,3 +376,12 @@
      372376 box-shadow 0.3s,
      373377 background 0.3s;
      374378 `,
      379+ stateHeaderMeta: css`
      380+ display: flex;
      381+ align-items: center;
      382+ gap: 16px;
      383+ `,
      384+ stateHeaderReduction: css`
      385+ margin-left: auto;
      386+ font-weight: bold;
      387+ `,
      copilot-pull-request-reviewer[bot](GitHub profile, opens in a new tab)commented

      stateHeaderReduction sets font-weight: bold, but the rest of this stylesheet uses the tokenized weights (e.g. font.weight.bold). Using the token keeps typography consistent across themes and any future font/weight tuning.

Sign in to join this conversation.