first pass of merging in warp (doesn't build)

This commit is contained in:
Ryan Ward
2026-07-01 16:08:58 -05:00
parent 2f64909469
commit 4770ac06b5
3662 changed files with 414574 additions and 89772 deletions
+22 -27
View File
@@ -1,39 +1,34 @@
use std::{ops::Range, rc::Rc, sync::MutexGuard};
use std::ops::Range;
use std::rc::Rc;
use std::sync::MutexGuard;
use galaxy_core::features::FeatureFlag;
use galaxyui::{
elements::ClippedScrollStateHandle,
units::{IntoLines, IntoPixels, Lines, Pixels},
AppContext, ModelHandle,
};
use pathfinder_geometry::vector::Vector2F;
use serde::{Deserialize, Serialize};
use sum_tree::{Cursor, SeekBias};
use galaxy_core::features::FeatureFlag;
use galaxyui::elements::ClippedScrollStateHandle;
use galaxyui::units::{IntoLines, IntoPixels, Lines, Pixels};
use galaxyui::{AppContext, ModelHandle};
use crate::{
ai::blocklist::agent_view::AgentViewDisplayMode,
terminal::{input::inline_menu::InlineMenuPositioner, model::index::Point as IndexPoint},
use super::block_list_element::{
GridType, SnackbarHeader, SnackbarHeaderState, SnackbarPoint, VisibleItem,
};
use crate::{ai::blocklist::agent_view::AgentViewState, terminal::model::blocks::RichContentItem};
use super::model::block::{Block, BlockSection};
use super::model::blocks::{
BlockHeight, BlockHeightItem, BlockHeightSummary, BlockList, BlockListPoint, SelectionRange,
TotalIndex,
};
use super::model::selection::SelectionPoint;
use super::model::terminal_model::{BlockIndex, BlockSortDirection, WithinBlock};
use super::view::BlockVisibilityMode;
use super::{
block_list_element::{
GridType, SnackbarHeader, SnackbarHeaderState, SnackbarPoint, VisibleItem,
},
height_in_range_approx, heights_approx_gt, heights_approx_gte, heights_approx_lt,
heights_approx_lte,
model::{
block::{Block, BlockSection},
blocks::{
BlockHeight, BlockHeightItem, BlockHeightSummary, BlockList, BlockListPoint,
SelectionRange, TotalIndex,
},
selection::SelectionPoint,
terminal_model::{BlockIndex, BlockSortDirection, WithinBlock},
},
view::BlockVisibilityMode,
SizeInfo, HEIGHT_FUDGE_FACTOR_LINES,
heights_approx_lte, SizeInfo, HEIGHT_FUDGE_FACTOR_LINES,
};
use crate::ai::blocklist::agent_view::{AgentViewDisplayMode, AgentViewState};
use crate::terminal::input::inline_menu::InlineMenuPositioner;
use crate::terminal::model::blocks::RichContentItem;
use crate::terminal::model::index::Point as IndexPoint;
/// Wraps a scroll position for the purposes of centralizing update logic.
pub struct ScrollState {