Code editor preview doesn't include CSS for dependencies of dependencies

Created on 23 April 2025, about 1 month ago

Overview

The code editor preview includes CSS for imported components. However, it doesn't do that for components imported by any of the imported components. In other words: dependencies of dependencies.

Proposed resolution

  1. Stop-gap solution: include CSS from all code components.
  2. Proper solution: implement ?with_deps query param on the /xb/api/auto-saves/css/js_component/{componentName} endpoint.

User interface changes

None.

πŸ› Bug report
Status

Active

Version

0.0

Component

Theme builder

Created by

πŸ‡³πŸ‡±Netherlands balintbrews Amsterdam, NL

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024