Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
fbce96b
build(deps): bump tauri-plugin-valtio from 2.7.1 to 3.3.0 in /src-tauri
dependabot[bot] May 17, 2026
b6a6e1e
build(deps): bump @uiw/react-json-view
dependabot[bot] May 25, 2026
5435774
fix tensordata with more than one tensor type
kcjerrell May 25, 2026
93f6301
version bump
kcjerrell May 25, 2026
e904a40
package lock
kcjerrell May 25, 2026
994531c
package lock
kcjerrell May 25, 2026
7f03e5f
various import restructuring
kcjerrell May 25, 2026
603cab2
active starts visible
kcjerrell May 25, 2026
a0c9978
wait for db ready
kcjerrell May 25, 2026
ff34306
test diagnostic
kcjerrell May 25, 2026
bd1acee
remove motion, from appview
kcjerrell May 25, 2026
8743b34
refactor: replace local prepData stub with imported utility function …
kcjerrell May 25, 2026
35e6f08
remove motion from projects list
kcjerrell May 25, 2026
5c4545b
refactor: implement custom Collapse component and remove framer-motio…
kcjerrell May 26, 2026
cf7e337
disable animations
kcjerrell May 26, 2026
b569d85
update clip export to use tensorhistorynode
kcjerrell May 26, 2026
0c5e4a6
cleanup and env var to disable animations for ci tests
kcjerrell May 26, 2026
eee2d0c
rename env var
kcjerrell May 26, 2026
1cae9e1
Fix VITE_DISABLE_ANIMATIONS environment variable format
kcjerrell May 26, 2026
8d9296c
clean up import
kcjerrell May 26, 2026
f803845
add quotes to env value
kcjerrell May 26, 2026
eead681
adjust collapse state, log warning when animations disabled
kcjerrell May 26, 2026
1ee1f67
hide hidden items
kcjerrell May 26, 2026
5e7a3cc
try tests on tahoe
kcjerrell May 26, 2026
8c82611
disable animations in build
kcjerrell May 26, 2026
61527fe
exclude ffmpeg from test artifacts
kcjerrell May 26, 2026
9641c9d
Merge branch 'dependabot/cargo/src-tauri/tauri-plugin-valtio-3.3.0' i…
kcjerrell May 26, 2026
cfe1d01
Merge branch 'dependabot/npm_and_yarn/uiw/react-json-view-2.0.0-alpha…
kcjerrell May 26, 2026
2d38415
package lock
kcjerrell May 26, 2026
6755ee9
remove tauri store option
kcjerrell May 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/pr-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
e2e:
name: Build Debug App + WDIO E2E
runs-on: macos-latest
runs-on: macos-26
timeout-minutes: 45

permissions:
Expand Down Expand Up @@ -72,6 +72,9 @@ jobs:
path: |
~/Library/Logs/com.kcjer.dtm
~/Library/Application Support/com.kcjer.dtm

!**/*.7z
!**/bin/**
if-no-files-found: ignore

- name: Save Rust cache
Expand Down
20 changes: 10 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "dtm",
"author": "kcjerrell",
"private": true,
"version": "0.5.5",
"version": "0.5.6",
"type": "module",
"scripts": {
"dev": "TAURI_WEBDRIVER_PORT=4445 tauri dev --features webdriver",
Expand Down Expand Up @@ -38,7 +38,7 @@
"@tauri-apps/plugin-updater": "^2.10.1",
"@tauri-apps/plugin-window-state": "~2",
"@tauri-store/valtio": "^3.3.0",
"@uiw/react-json-view": "^2.0.0-alpha.42",
"@uiw/react-json-view": "^2.0.0-alpha.43",
"ahooks": "^3.9.7",
"async-mutex": "^0.5.0",
"derive-valtio": "^0.2.0",
Expand Down Expand Up @@ -104,4 +104,4 @@
"vite-plugin-wasm": "^3.6.0",
"vitest": "^4.1.5"
}
}
}
49 changes: 12 additions & 37 deletions src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ members = ["migration", "entity", ".", "fpzip-sys", "macros"]

[package]
name = "dtm"
version = "0.5.5"
version = "0.5.6"
description = "A little app for reading Draw Things Metadata"
authors = ["kcjerrell"]
edition = "2021"
Expand Down Expand Up @@ -37,7 +37,7 @@ tauri-plugin-opener = { git = "https://github.com/tauri-apps/plugins-workspace",
tauri-plugin-store = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
tauri-plugin-clipboard-manager = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
tauri-plugin-http = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
tauri-plugin-valtio = "2"
tauri-plugin-valtio = "3"
tauri-plugin-process = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
tauri-plugin-shell = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }

Expand Down
2 changes: 1 addition & 1 deletion src-tauri/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ pub fn run() {
.plugin(tauri_plugin_fs::init())
.plugin(tauri_plugin_clipboard_manager::init())
.plugin(tauri_plugin_opener::init())
.plugin(tauri_plugin_valtio::Builder::new().pretty(true).build())
.plugin(tauri_plugin_valtio::Builder::new().build())
// .plugin(tauri_plugin_nspopover::init())
.plugin(
tauri_plugin_log::Builder::new()
Expand Down
43 changes: 24 additions & 19 deletions src-tauri/src/projects_db/dt_project/tensor_data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pub struct TensorData {
pub lineage: i64,
pub logical_time: i64,
pub idx: i64,
pub tensor_name: String,
pub tensor_names: Vec<String>,
pub mask: Option<String>,
#[serde(serialize_with = "serialize_tensor_data")]
data: Arc<[u8]>,
Expand Down Expand Up @@ -60,23 +60,28 @@ impl<'r> FromRow<'r, SqliteRow> for TensorData {

match root_as_tensor_data(&data) {
Ok(fb) => {
let tensor_name = if fb.color_palette_id() != 0 {
format!("color_palette_{}", fb.color_palette_id())
} else if fb.custom_id() != 0 {
format!("custom_{}", fb.custom_id())
} else if fb.pose_id() != 0 {
format!("pose_{}", fb.pose_id())
} else if fb.scribble_id() != 0 {
format!("scribble_{}", fb.scribble_id())
} else if fb.depth_map_id() != 0 {
format!("depth_map_{}", fb.depth_map_id())
} else if fb.tensor_id() != 0 {
format!("tensor_history_{}", fb.tensor_id())
} else if fb.mask_id() != 0 {
format!("binary_mask_{}", fb.mask_id())
} else {
"unknown".to_string()
};
let mut tensor_names: Vec<String> = Vec::new();
if fb.color_palette_id() != 0 {
tensor_names.push(format!("color_palette_{}", fb.color_palette_id()));
}
if fb.custom_id() != 0 {
tensor_names.push(format!("custom_{}", fb.custom_id()));
}
if fb.pose_id() != 0 {
tensor_names.push(format!("pose_{}", fb.pose_id()));
}
if fb.scribble_id() != 0 {
tensor_names.push(format!("scribble_{}", fb.scribble_id()));
}
if fb.depth_map_id() != 0 {
tensor_names.push(format!("depth_map_{}", fb.depth_map_id()));
}
if fb.tensor_id() != 0 {
tensor_names.push(format!("tensor_history_{}", fb.tensor_id()));
}
if fb.mask_id() != 0 {
tensor_names.push(format!("binary_mask_{}", fb.mask_id()));
}

let mask = if fb.mask_id() != 0 {
Some(format!("binary_mask_{}", fb.mask_id()))
Expand All @@ -90,7 +95,7 @@ impl<'r> FromRow<'r, SqliteRow> for TensorData {
logical_time,
idx,
data,
tensor_name,
tensor_names,
mask,
})
}
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "DTM",
"version": "0.5.5",
"version": "0.5.6",
"identifier": "com.kcjer.dtm",
"build": {
"beforeDevCommand": "vite",
Expand Down
4 changes: 3 additions & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ function App() {

return (
<AppRoot
data-current-view={currentView}
data-mounted-views={Array.from(mountedViews.current).join(",")}
onContextMenu={(e) => {
if (!(e.target as HTMLElement)?.closest("[data-defctx")) e.preventDefault()
}}
Expand Down Expand Up @@ -75,7 +77,7 @@ function App() {
const View = getView(v)
const isActiveView = v === currentView
return (
<ViewContainer key={v} isActiveView={isActiveView}>
<ViewContainer key={v} viewId={v} isActiveView={isActiveView}>
<View flex={"1 1 auto"} />
</ViewContainer>
)
Expand Down
Loading
Loading