Skip to content

Commit 07c37a6

Browse files
committed
fix: rename to dipa-cumulo, fix clippy warnings for CI
1 parent d2b3eb5 commit 07c37a6

7 files changed

Lines changed: 10 additions & 9 deletions

File tree

AGENTS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# dipa-calcium — Developer Agents & Debug Commands
1+
# dipa-cumulo — Developer Agents & Debug Commands
22

33
## Project Stack
44

@@ -44,7 +44,7 @@ RUST_LOG=info cargo run -p server
4444
# Launch Chrome with remote debugging enabled
4545
open -a "Google Chrome" --args \
4646
--remote-debugging-port=9222 \
47-
--user-data-dir=/tmp/chrome-debug-calcium \
47+
--user-data-dir=/tmp/chrome-debug-cumulo \
4848
--no-first-run \
4949
"http://localhost:5021/"
5050
```

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# dipa-calcium
1+
# dipa-cumulo
22

33
A Rust reimplementation of the [calcium-workflow](https://github.com/Cumulo/calcium-workflow) architecture:
44
**server ↔ client** state sync via **diff/patch over WebSocket**, using [`dipa`](https://github.com/chinedufn/dipa) for delta encoding and [`respo.rs`](https://github.com/Respo/respo.rs) for WASM UI rendering.

client/dist/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<title>Calcium (dipa)</title>
6+
<title>Cumulo (dipa)</title>
77
<style>
88
* {
99
box-sizing: border-box;

client/src/app.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ fn comp_navigation(
212212
.children(vec![
213213
span()
214214
.style(respo_style().font_weight(CssFontWeight::Weight(700)).font_size(18.0).padding4(0, 16, 0, 0).color(CssColor::Hsl(220, 70, 45)))
215-
.inner_text("Calcium")
215+
.inner_text("Cumulo")
216216
.to_node(),
217217
nav_tab("Home", "home", route == "home" || route.is_empty(), ws.cloned()),
218218
nav_tab("Board", "board", route == "board", ws.cloned()),
@@ -263,7 +263,7 @@ fn comp_home(global: &GlobalStats) -> Result<RespoElement<ActionOp>, String> {
263263
.children(vec![
264264
div()
265265
.style(respo_style().font_size(26.0).font_weight(CssFontWeight::Weight(700)).padding4(0, 0, 8, 0))
266-
.children(vec![span().inner_text("Welcome to Calcium").to_node()])
266+
.children(vec![span().inner_text("Welcome to Cumulo").to_node()])
267267
.to_node(),
268268
div()
269269
.style(respo_style().font_size(14.0).color(CssColor::Hsl(0, 0, 45)).padding4(0, 0, 24, 0))
@@ -766,7 +766,7 @@ fn comp_profile(
766766
])
767767
} else {
768768
let cursor_edit = cursor.clone();
769-
let state_edit = state.clone();
769+
let _state_edit = state.clone();
770770
let bio_for_draft = bio.clone();
771771

772772
div()

client/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ fn connect_ws(store_rc: Rc<RefCell<Store>>) {
6767

6868
match msg {
6969
ServerMsg::Snapshot(snapshot) => {
70+
let snapshot = *snapshot;
7071
let mut s = store_msg.borrow_mut();
7172
s.full_store = snapshot;
7273
}

server/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ async fn handle_socket(socket: WebSocket, state: AppState) {
272272
let session = db.sessions.get(&sid).unwrap();
273273
let snapshot = twig_container(&db, session);
274274
state.caches.insert(sid.clone(), snapshot.clone());
275-
let encoded = bincode::serialize(&ServerMsg::Snapshot(snapshot)).unwrap();
275+
let encoded = bincode::serialize(&ServerMsg::Snapshot(Box::new(snapshot))).unwrap();
276276
let _ = ws_tx.send(Message::Binary(encoded.into())).await;
277277
}
278278

shared/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ pub enum Op {
133133
#[derive(Debug, Clone, Serialize, Deserialize)]
134134
pub enum ServerMsg {
135135
/// Full state snapshot on first connect
136-
Snapshot(FullStore),
136+
Snapshot(Box<FullStore>),
137137
/// Delta patch — bincode-encoded `<FullStore as Diffable>::DeltaOwned`
138138
Patch(Vec<u8>),
139139
/// Pong reply

0 commit comments

Comments
 (0)