Rebrand to Galaxy, major improvements to Bedrock support, still needs some TLC though
This commit is contained in:
+17
-17
@@ -36,7 +36,7 @@ use crate::settings::AISettings;
|
||||
use crate::settings_view::{self, flags, SettingsSection};
|
||||
use crate::tab::uses_vertical_tabs;
|
||||
use crate::tab_configs;
|
||||
use warpui::SingletonEntity;
|
||||
use galaxyui::SingletonEntity;
|
||||
|
||||
use crate::channel::ChannelState;
|
||||
|
||||
@@ -44,12 +44,12 @@ use crate::util::bindings::{self, cmd_or_ctrl_shift, is_binding_pty_compliant, C
|
||||
|
||||
use crate::palette::PaletteMode;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use warp_core::context_flag::ContextFlag;
|
||||
use warpui::accessibility::AccessibilityVerbosity;
|
||||
use warpui::elements::DropTargetData;
|
||||
use warpui::keymap::FixedBinding;
|
||||
use warpui::keymap::{BindingDescription, EditableBinding};
|
||||
use warpui::AppContext;
|
||||
use galaxy_core::context_flag::ContextFlag;
|
||||
use galaxyui::accessibility::AccessibilityVerbosity;
|
||||
use galaxyui::elements::DropTargetData;
|
||||
use galaxyui::keymap::FixedBinding;
|
||||
use galaxyui::keymap::{BindingDescription, EditableBinding};
|
||||
use galaxyui::AppContext;
|
||||
|
||||
pub use action::{
|
||||
CommandSearchOptions, InitContent, RestoreConversationLayout, TabContextMenuAnchor,
|
||||
@@ -66,8 +66,8 @@ pub use view::{
|
||||
};
|
||||
|
||||
// Helper function to access panel header corner radius from other modules
|
||||
pub fn panel_header_corner_radius() -> warpui::elements::CornerRadius {
|
||||
warpui::elements::CornerRadius::with_top(warpui::elements::Radius::Pixels(8.))
|
||||
pub fn panel_header_corner_radius() -> galaxyui::elements::CornerRadius {
|
||||
galaxyui::elements::CornerRadius::with_top(galaxyui::elements::Radius::Pixels(8.))
|
||||
}
|
||||
|
||||
/// Returns `true` when `WorkspaceAction::SendFeedback` will launch the guided
|
||||
@@ -100,7 +100,7 @@ pub use toast_stack::ToastStack;
|
||||
|
||||
pub fn init(app: &mut AppContext) {
|
||||
app.add_singleton_model(|_| WorkspaceRegistry::new());
|
||||
use warpui::keymap::macros::*;
|
||||
use galaxyui::keymap::macros::*;
|
||||
app.register_binding_validator::<Workspace>(is_binding_pty_compliant);
|
||||
|
||||
modal::init(app);
|
||||
@@ -763,7 +763,7 @@ pub fn init(app: &mut AppContext) {
|
||||
.with_custom_action(CustomAction::ToggleGlobalSearch),
|
||||
EditableBinding::new(
|
||||
LEFT_PANEL_WARP_DRIVE_BINDING_NAME,
|
||||
BindingDescription::new("Left Panel: Warp Drive"),
|
||||
BindingDescription::new("Left Panel: Galaxy Drive"),
|
||||
WorkspaceAction::ToggleWarpDrive,
|
||||
)
|
||||
.with_group(bindings::BindingGroup::Navigation.as_str())
|
||||
@@ -789,7 +789,7 @@ pub fn init(app: &mut AppContext) {
|
||||
.with_linux_or_windows_key_binding("alt-shift-F"),
|
||||
EditableBinding::new(
|
||||
TOGGLE_WARP_DRIVE_BINDING_NAME,
|
||||
BindingDescription::new("Toggle Warp Drive")
|
||||
BindingDescription::new("Toggle Galaxy Drive")
|
||||
.with_custom_description(bindings::MAC_MENUS_CONTEXT, "Warp Drive"),
|
||||
WorkspaceAction::ToggleWarpDrive,
|
||||
)
|
||||
@@ -1020,7 +1020,7 @@ pub fn init(app: &mut AppContext) {
|
||||
EditableBinding::new(
|
||||
// If you rename this name, please update the name in command_palette/action/data_source.rs
|
||||
"workspace:search_drive",
|
||||
"Search Warp Drive",
|
||||
"Search Galaxy Drive",
|
||||
WorkspaceAction::OpenPalette {
|
||||
mode: PaletteMode::WarpDrive,
|
||||
source: PaletteSource::Keybinding,
|
||||
@@ -1075,7 +1075,7 @@ pub fn init(app: &mut AppContext) {
|
||||
if cfg!(not(target_family = "wasm")) {
|
||||
app.register_editable_bindings([EditableBinding::new(
|
||||
"workspace:export_all_warp_drive_objects",
|
||||
"Export all Warp Drive objects",
|
||||
"Export all Galaxy Drive objects",
|
||||
WorkspaceAction::ExportAllWarpDriveObjects,
|
||||
)
|
||||
.with_group(bindings::BindingGroup::Settings.as_str())
|
||||
@@ -1336,7 +1336,7 @@ pub fn init(app: &mut AppContext) {
|
||||
}
|
||||
|
||||
fn add_open_setting_pages_as_editable_binding(app: &mut AppContext) {
|
||||
use warpui::keymap::macros::*;
|
||||
use galaxyui::keymap::macros::*;
|
||||
|
||||
// Add the ability to open setting modals to the command palette.
|
||||
app.register_editable_bindings([
|
||||
@@ -1396,7 +1396,7 @@ fn add_open_setting_pages_as_editable_binding(app: &mut AppContext) {
|
||||
EditableBinding::new(
|
||||
"workspace:show_settings_about_page",
|
||||
BindingDescription::new("Open Settings: About")
|
||||
.with_custom_description(bindings::MAC_MENUS_CONTEXT, "About Warp"),
|
||||
.with_custom_description(bindings::MAC_MENUS_CONTEXT, "About Galaxy AI"),
|
||||
WorkspaceAction::ShowSettingsPage(SettingsSection::About),
|
||||
)
|
||||
.with_group(bindings::BindingGroup::Settings.as_str())
|
||||
@@ -1481,7 +1481,7 @@ fn add_open_setting_pages_as_editable_binding(app: &mut AppContext) {
|
||||
}
|
||||
|
||||
fn add_overflow_menu_items_as_editable_binding(app: &mut AppContext) {
|
||||
use warpui::keymap::macros::*;
|
||||
use galaxyui::keymap::macros::*;
|
||||
|
||||
// Add the ability to open all overflow menu items to the command palette.
|
||||
app.register_editable_bindings([
|
||||
|
||||
Reference in New Issue
Block a user