git.lucas.co / cce-cloud
cloud storage client
git clone https://git.lucas.co/cce-cloud.git

commit9233b2052419c6c098627e1cd5306a47991e6c7e
parentf000104b71
authorLucas Galante <[email protected]>
date2026-08-28 11:12
docs: the renderer under this app has not been wgpu for a while

`src/main.rs` was credited with "the Wayland + wgpu stack" and the
auto-sizer with measuring "via glyphon text buffers". Neither wgpu nor
glyphon is a dependency here — in Cargo.toml or anywhere in the source —
since cce-ui retired the wgpu path and reached cosmic-text directly.
This crate declares no graphics dependency at all; the rendering is
cce-ui's.

The buffers were real, just misattributed: the list rows do measure
through `cce_ui::cosmic_text` buffers, while the JSON panel sizes its
widgets with `measure_text` instead. Both named now.

Co-Authored-By: Claude Opus 5 <[email protected]>

 CLAUDE.md | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/CLAUDE.md b/CLAUDE.md
index b384843..510b9c1 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -12,8 +12,10 @@ shared `../target/`) live in **`../cce-compositor/WORKSPACE.md`** — read that
 
 Three source files, all logic in `src/main.rs` (~3.3k lines):
 
-- `src/main.rs` — CLI parsing, daemon/client/standalone entry points, the Wayland +
-  wgpu stack, `FuzzelWidget` (the list UI), all input handling, app/PATH scanning.
+- `src/main.rs` — CLI parsing, daemon/client/standalone entry points, the Wayland
+  surface and event loop, `FuzzelWidget` (the list UI), all input handling,
+  app/PATH scanning. (Rendering itself is cce-ui's — this crate declares no
+  graphics dependency of its own.)
 - `src/json_layout.rs` — `JsonLayoutWidget`: the JSON-config popup panel host
   (labels, checkboxes, buttons, spinboxes, color selectors, sliders, multi-page).
   App-owned copy of a dissolved cce-ui type; cloud is its only consumer.
@@ -113,7 +115,9 @@ widget code, but don't try to "port" this app onto the engine runner.
 Surface choice: an XDG toplevel flagged as popup via the cce window-management
 protocol when the compositor global is present and no `-x/-y` was given; otherwise a
 layer-shell **Overlay** surface with exclusive keyboard. The window continuously
-auto-sizes to its content (`update_desired_size`, measured via glyphon text buffers)
+auto-sizes to its content (`update_desired_size` — list rows measured with
+`cce_ui::cosmic_text` buffers, the JSON panel's widgets with
+`cce_ui::widget::display::measure_text`)
 and closes through a ~150ms fade-out (`trigger_close` → `fade_factor`).
 
 `-x/-y` is a *cursor* position (the compositor hands the raw pointer to the desktop