Wrapping up bedrock implementation

This commit is contained in:
Ryan Ward
2026-05-13 10:04:59 -05:00
parent ed53aa99eb
commit cee61e2af0
1144 changed files with 2954 additions and 2660 deletions
+1 -1
View File
@@ -5,7 +5,6 @@ use crate::{
themes::theme::WarpTheme,
workspaces::user_workspaces::UserWorkspaces,
};
use pathfinder_geometry::vector::vec2f;
use galaxy_core::ui::theme::Fill;
use galaxyui::{
elements::{
@@ -22,6 +21,7 @@ use galaxyui::{
},
AppContext, Element, Entity, SingletonEntity, TypedActionView, View, ViewContext, ViewHandle,
};
use pathfinder_geometry::vector::vec2f;
use super::modal_body::{ImportModalBody, ImportModalBodyAction, ImportModalBodyEvent};
+2 -2
View File
@@ -1,6 +1,4 @@
use futures_util::stream::AbortHandle;
use pathfinder_geometry::vector::vec2f;
use std::path::PathBuf;
use galaxyui::{
elements::{
Align, ConstrainedBox, Container, CornerRadius, CrossAxisAlignment, Flex,
@@ -13,6 +11,8 @@ use galaxyui::{
},
AppContext, Element, Entity, ModelHandle, SingletonEntity, TypedActionView, View, ViewContext,
};
use pathfinder_geometry::vector::vec2f;
use std::path::PathBuf;
use crate::{
appearance::Appearance,
+11 -10
View File
@@ -8,13 +8,6 @@ use crate::{
use anyhow::Result;
use async_recursion::async_recursion;
use futures_lite::StreamExt;
use pathfinder_color::ColorU;
use std::{
collections::HashMap,
ffi::OsStr,
ops::{Add, AddAssign, SubAssign},
path::{Path, PathBuf},
};
use galaxyui::{
elements::{
Align, ConstrainedBox, Container, CornerRadius, CrossAxisAlignment, Flex, Hoverable,
@@ -24,6 +17,13 @@ use galaxyui::{
ui_components::components::{UiComponent, UiComponentStyles},
Element,
};
use pathfinder_color::ColorU;
use std::{
collections::HashMap,
ffi::OsStr,
ops::{Add, AddAssign, SubAssign},
path::{Path, PathBuf},
};
use crate::{
appearance::Appearance, notebooks::file::is_markdown_file, server::ids::ClientId,
@@ -553,9 +553,10 @@ impl FileNode {
let icon_element = match &self.file_type {
FileType::Workflow => Icon::Workflow
.to_galaxyui_icon(Fill::Solid(override_color.unwrap_or(
warp_drive_icon_color(appearance, DriveObjectType::Workflow),
)))
.to_galaxyui_icon(Fill::Solid(
override_color
.unwrap_or(warp_drive_icon_color(appearance, DriveObjectType::Workflow)),
))
.finish(),
FileType::Notebook => Icon::Notebook
.to_galaxyui_icon(Fill::Solid(override_color.unwrap_or(