Skip to content

fix(cozy-viewer): Remove obsolete require of deleted selectionbar.styl#2984

Merged
doubleface merged 1 commit intomasterfrom
fix/viewerToolbarLayout
Apr 8, 2026
Merged

fix(cozy-viewer): Remove obsolete require of deleted selectionbar.styl#2984
doubleface merged 1 commit intomasterfrom
fix/viewerToolbarLayout

Conversation

@doubleface
Copy link
Copy Markdown
Contributor

@doubleface doubleface commented Apr 8, 2026

cozy-ui 138 removed the SelectionBar component and its associated stylus file. The stale @require caused the Stylus preprocessing to fail silently, resulting in an empty CSS modules object in Toolbar.js and a broken toolbar layout.

Summary by CodeRabbit

  • Chores
    • Cleaned up viewer stylesheet dependencies by removing unused style imports.

cozy-ui 138 removed the SelectionBar component and its associated
stylus file. The stale @require caused the Stylus preprocessing to
fail silently, resulting in an empty CSS modules object in Toolbar.js
and a broken toolbar layout.
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 8, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 84433ca5-33b7-452f-abe4-54bc4707c71b

📥 Commits

Reviewing files that changed from the base of the PR and between f19da18 and 5fda393.

📒 Files selected for processing (1)
  • packages/cozy-viewer/src/components/styles.styl
💤 Files with no reviewable changes (1)
  • packages/cozy-viewer/src/components/styles.styl

Walkthrough

The change removes a Stylus @require statement for components/selectionbar.styl from the main styles file in the cozy-viewer package. This eliminates the inclusion of selection bar styles into the stylesheet. No other styles, selectors, variables, or mixins were modified in the process. The modification consists of a single line removal with no impact on exported or public entities.

Suggested reviewers

  • rezk2ll
  • JF-Cozy
🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: removing an obsolete require statement of a deleted selectionbar.styl file from the cozy-viewer component.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ 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 fix/viewerToolbarLayout

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.

@doubleface doubleface enabled auto-merge (rebase) April 8, 2026 09:06
@doubleface doubleface merged commit a73ae21 into master Apr 8, 2026
3 checks passed
@doubleface doubleface deleted the fix/viewerToolbarLayout branch April 8, 2026 09:13
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