Skip to content

chore(plugin-guest): regenerate host stylesheet for the vertical tab classes - #1670

Merged
debba merged 1 commit into
TabularisDB:mainfrom
Xnadir:chore/regenerate-guest-host-css
Nov 24, 2026
Merged

debba merged 1 commit into
TabularisDB:mainfrom
Xnadir:chore/regenerate-guest-host-css

Conversation

@Xnadir

@Xnadir Xnadir commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

The test job fails on main and on every open PR at the pnpm run build:plugin-guest step, because the committed src-tauri/resources/guest/host.css no longer matches what the build generates (git diff --exit-code fails). The vertical editor tab layout (#1647) added Tailwind classes that the plugin guest stylesheet picks up, pl-56, rounded-r-sm, w-[2px], order-first and [&>:first-child]:border-l-0, without regenerating the file.

This commit is that regeneration and nothing else: 19 added lines in host.css. I didn't run the build locally. I applied the diff that CI prints in that step (from the run on #1669). The resulting file has blob ee47c93, the same hash CI reports for the generated file, so it matches the build output byte for byte.

There's no code change and no new test. Once this lands, the test job on the open PRs should get past this step again.

This change was made with the help of an AI assistant (Claude); I reviewed it.

🤖 Generated with Claude Code


Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Summary by CodeRabbit

  • Style
    • Added styling options to place an element first, set a narrow width, round right-side corners, and increase left-side spacing. A container’s first child can now appear without a left border. These changes provide additional control over element order, dimensions, spacing, and borders.

…classes

TabularisDB#1647 added Tailwind classes that the plugin guest stylesheet includes, so
the build:plugin-guest check failed on main and every open PR.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Changes: Guest host utility rules

Layer / File(s) Summary
Generated utility rules
src-tauri/resources/guest/host.css
Adds .order-first, .w-[2px], .rounded-r-sm, .pl-56, and a first-direct-child utility that sets the left border width to zero.

Possibly related PRs

Suggested reviewers: debba

Change: Other

Merge Risk: Minimal · up to ab980

This regenerates the guest host stylesheet so it includes utility classes the vertical editor tab layout already uses, and it should let the build check pass again. There is no evident user or production risk, and the change is safe to merge.

Architecture risk: Low · up to ab980

The change affects 1 system.

Changed systems: src-tauri

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — src-tauri (service) was modified; 1 changed file maps to changed impact.

Before / after behavior

  • observed — Modified behavior in src-tauri/resources/guest/host.css: Adds the .order-first utility, assigning order: -9999.
  • observed — Modified behavior in src-tauri/resources/guest/host.css: Adds the .w-[2px] utility, setting width to 2px.
  • observed — Modified behavior in src-tauri/resources/guest/host.css: Adds the .rounded-r-sm utility, applying the small radius to an element’s top-right and bottom-right corners.
  • observed — Modified behavior in src-tauri/resources/guest/host.css: Adds the .pl-56 utility, setting left padding to 56 spacing units.
Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 11e86f7e-dce9-4ca2-84fe-b29ee3deec71
Commits

Reviewing files that changed from the base of the PR and between 7cc3751 and ab980d8.

Files selected for processing: 1

  • src-tauri/resources/guest/host.css

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

@kilo-code-bot

kilo-code-bot Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (1 file)
  • src-tauri/resources/guest/host.css

Reviewed by claude-sonnet-5.5 · Input: 3.5K · Output: 1.6K · Cached: 145.2K

Review guidance: REVIEW.md from base branch main

@debba

debba commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator

Thanks @Xnadir for tracking down the missing Tailwind classes and updating the generated stylesheet. The CI check is green on this PR.

@debba
debba merged commit 28f71ba into TabularisDB:main Nov 24, 2026
12 checks passed
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