Galaxy v1.0.0: Remove warp-channel-config, rebrand bins/icons/settings, remove teams from Drive
- Remove warp-channel-config dependency; all bin targets hardcode ChannelConfig inline - Rename bin targets: galaxy-oss, galaxy-local, galaxy-stable, galaxy-dev, galaxy-preview - Rename config dir from .galaxy-ai to .galaxy - Add Galaxy app icon (512x512 rounded PNG + SVG logo) - Replace settings gear icon with Stars (sparkle) icon - Remove lightbulb/resource center button from header toolbar - Add Galaxy logo SVG to Settings > About page - Rename Galaxify -> Galaxyize across all UI strings - Remove Create Team / Join Team sections from Galaxy Drive - Fix missing => in OpenRichInput match arms - Clean up unused imports and warnings - Update Cargo.toml bundle metadata with Samsung branding - Re-enable code review, project explorer, global search in settings
This commit is contained in:
@@ -2201,10 +2201,6 @@ impl Input {
|
||||
AgentInputFooterEvent::OpenRichInput | AgentInputFooterEvent::HideRichInput => {
|
||||
ctx.emit(Event::Escape);
|
||||
}
|
||||
AgentInputFooterEvent::StartRemoteControl
|
||||
| AgentInputFooterEvent::StopRemoteControl => {
|
||||
// Handled by UseAgentToolbar's subscription, not here.
|
||||
}
|
||||
// WriteToPty, InsertIntoCLIRichInput, ToggleCodeReviewPane, and ToggleFileExplorer
|
||||
// are handled by UseAgentToolbar's subscription, not here.
|
||||
AgentInputFooterEvent::WriteToPty(_)
|
||||
|
||||
@@ -674,23 +674,6 @@ impl Input {
|
||||
_usage if command.name == commands::USAGE.name => {
|
||||
ctx.dispatch_typed_action(&TerminalAction::OpenBillingAndUsagePane);
|
||||
}
|
||||
_remote_control if command.name == commands::REMOTE_CONTROL.name => {
|
||||
if !FeatureFlag::CreatingSharedSessions.is_enabled()
|
||||
|| !FeatureFlag::HOARemoteControl.is_enabled()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if self
|
||||
.model
|
||||
.lock()
|
||||
.shared_session_status()
|
||||
.is_sharer_or_viewer()
|
||||
{
|
||||
show_error_toast("Session is already being shared".to_owned(), ctx);
|
||||
return true;
|
||||
}
|
||||
ctx.emit(Event::StartRemoteControl);
|
||||
}
|
||||
_cost if command.name == commands::COST.name => {
|
||||
let history = BlocklistAIHistoryModel::handle(ctx);
|
||||
let conversation = history
|
||||
|
||||
@@ -35,7 +35,7 @@ const UNSUPPORTED_TMUX_VERSION_ERROR: &str =
|
||||
"The tmux version available on the remote machine is below 3.0. Please install tmux 3.0 or greater using a different method and try again.";
|
||||
const TMUX_FAILED_ERROR: &str =
|
||||
"tmux failed to execute on the remote machine. Please re-install tmux and try again.";
|
||||
const WARPIFY_TIMEOUT_ERROR: &str = "Galaxifying the session hit a timeout.";
|
||||
const WARPIFY_TIMEOUT_ERROR: &str = "Galaxyizeing the session hit a timeout.";
|
||||
const UNSUPPORTED_SHELL_ERROR: &str =
|
||||
"Unsupported shell. Please set bash, zsh, or fish as your default shell and try again.";
|
||||
const TMUX_INSTALL_FAILED_ERROR: &str =
|
||||
@@ -258,7 +258,7 @@ impl View for SshErrorBlock {
|
||||
ButtonVariant::Accent,
|
||||
self.warpify_without_tmux_button_mouse_state.clone(),
|
||||
)
|
||||
.with_centered_text_label("Galaxify without TMUX".into())
|
||||
.with_centered_text_label("Galaxyize without TMUX".into())
|
||||
.with_style(UiComponentStyles {
|
||||
font_size: Some(appearance.monospace_font_size()),
|
||||
..Default::default()
|
||||
|
||||
@@ -67,7 +67,7 @@ impl Entity for SshWarpifyBlock {
|
||||
impl SshWarpifyBlock {
|
||||
fn render_title_ui(&self, theme: &WarpTheme, appearance: &Appearance) -> Box<dyn Element> {
|
||||
let icon = Icon::new(UiIcon::Warp.into(), theme.active_ui_detail());
|
||||
warpify::render::header_row("Galaxifying SSH Session...", icon, theme, appearance)
|
||||
warpify::render::header_row("Galaxyizeing SSH Session...", icon, theme, appearance)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -97,8 +97,8 @@ impl WarpifyBannerState {
|
||||
|
||||
pub fn title(&self) -> &str {
|
||||
match &self.mode {
|
||||
WarpificationMode::Ssh { .. } => "Galaxify SSH session",
|
||||
WarpificationMode::Subshell { .. } => "Galaxify subshell",
|
||||
WarpificationMode::Ssh { .. } => "Galaxyize SSH session",
|
||||
WarpificationMode::Subshell { .. } => "Galaxyize subshell",
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -341,7 +341,7 @@ pub fn init(app: &mut AppContext) {
|
||||
),
|
||||
EditableBinding::new(
|
||||
"terminal:warpify_subshell",
|
||||
"Galaxify subshell",
|
||||
"Galaxyize subshell",
|
||||
TerminalAction::TriggerSubshellBootstrap,
|
||||
)
|
||||
.with_key_binding("ctrl-i")
|
||||
@@ -350,7 +350,7 @@ pub fn init(app: &mut AppContext) {
|
||||
),
|
||||
EditableBinding::new(
|
||||
"terminal:warpify_ssh_session",
|
||||
"Galaxify ssh session",
|
||||
"Galaxyize ssh session",
|
||||
TerminalAction::WarpifySSHSession,
|
||||
)
|
||||
.with_key_binding("ctrl-i")
|
||||
|
||||
@@ -9,9 +9,7 @@ use crate::ai::blocklist::agent_view::agent_input_footer::{
|
||||
AgentInputFooter, AgentInputFooterEvent,
|
||||
};
|
||||
use crate::terminal::cli_agent_sessions::{CLIAgentInputEntrypoint, CLIAgentSessionsModel};
|
||||
use crate::terminal::shared_session::{SharedSessionActionSource, SharedSessionScrollbackType};
|
||||
use base64::Engine;
|
||||
use session_sharing_protocol::sharer::SessionSourceType;
|
||||
use galaxyui::clipboard::{ClipboardContent, ImageData};
|
||||
mod warpify_footer;
|
||||
|
||||
@@ -231,21 +229,6 @@ impl TerminalView {
|
||||
UseAgentToolbarEvent::ToggleFileExplorer(cli_agent) => {
|
||||
self.toggle_file_tree(Some((*cli_agent).into()), ctx);
|
||||
}
|
||||
UseAgentToolbarEvent::StartRemoteControl { scrollback_type } => {
|
||||
self.auto_stop_sharing_on_cli_end =
|
||||
*scrollback_type == SharedSessionScrollbackType::None;
|
||||
self.attempt_to_share_session(
|
||||
*scrollback_type,
|
||||
Some(SharedSessionActionSource::FooterChip),
|
||||
SessionSourceType::default(),
|
||||
true,
|
||||
ctx,
|
||||
);
|
||||
}
|
||||
UseAgentToolbarEvent::StopRemoteControl => {
|
||||
self.auto_stop_sharing_on_cli_end = false;
|
||||
self.stop_sharing_session(SharedSessionActionSource::FooterChip, ctx);
|
||||
}
|
||||
UseAgentToolbarEvent::OpenRichInput => {
|
||||
if self.has_active_cli_agent_input_session(ctx) {
|
||||
self.close_cli_agent_rich_input_and_disable_auto_toggle(ctx);
|
||||
@@ -1074,17 +1057,6 @@ impl UseAgentToolbar {
|
||||
AgentInputFooterEvent::ToggleFileExplorer(agent) => {
|
||||
ctx.emit(UseAgentToolbarEvent::ToggleFileExplorer(*agent));
|
||||
}
|
||||
AgentInputFooterEvent::StartRemoteControl => {
|
||||
let scrollback_type = if self.cli_agent(ctx).is_some() {
|
||||
SharedSessionScrollbackType::None
|
||||
} else {
|
||||
SharedSessionScrollbackType::All
|
||||
};
|
||||
ctx.emit(UseAgentToolbarEvent::StartRemoteControl { scrollback_type });
|
||||
}
|
||||
AgentInputFooterEvent::StopRemoteControl => {
|
||||
ctx.emit(UseAgentToolbarEvent::StopRemoteControl);
|
||||
}
|
||||
AgentInputFooterEvent::OpenRichInput => {
|
||||
ctx.emit(UseAgentToolbarEvent::OpenRichInput);
|
||||
}
|
||||
@@ -1182,12 +1154,6 @@ pub enum UseAgentToolbarEvent {
|
||||
ToggleCodeReviewPane(CLIAgent),
|
||||
/// Toggle the file explorer (from CLI agent view).
|
||||
ToggleFileExplorer(CLIAgent),
|
||||
/// Start remote control (one-click share without modal).
|
||||
StartRemoteControl {
|
||||
scrollback_type: SharedSessionScrollbackType,
|
||||
},
|
||||
/// Stop remote control (stop the active shared session).
|
||||
StopRemoteControl,
|
||||
/// Open the rich input editor for composing a prompt.
|
||||
OpenRichInput,
|
||||
/// Hide the rich input editor (same as Escape).
|
||||
|
||||
@@ -33,7 +33,7 @@ impl WarpifyFooterView {
|
||||
let button_size = ButtonSize::XSmall;
|
||||
|
||||
let warpify_button = ctx.add_typed_action_view(|_ctx| {
|
||||
ActionButton::new("Galaxify subshell", AgentFooterButtonTheme::new(None))
|
||||
ActionButton::new("Galaxyize subshell", AgentFooterButtonTheme::new(None))
|
||||
.with_icon(Icon::Warp)
|
||||
.with_size(button_size)
|
||||
.with_tooltip("Enable Galaxy shell integration in this session")
|
||||
@@ -76,9 +76,9 @@ impl WarpifyFooterView {
|
||||
pub fn set_mode(&mut self, mode: WarpificationMode, ctx: &mut ViewContext<Self>) {
|
||||
let (label, binding_name) = match mode {
|
||||
WarpificationMode::Ssh { .. } => {
|
||||
("Galaxify SSH session", "terminal:warpify_ssh_session")
|
||||
("Galaxyize SSH session", "terminal:warpify_ssh_session")
|
||||
}
|
||||
WarpificationMode::Subshell { .. } => ("Galaxify subshell", "terminal:warpify_subshell"),
|
||||
WarpificationMode::Subshell { .. } => ("Galaxyize subshell", "terminal:warpify_subshell"),
|
||||
};
|
||||
self.warpify_button.update(ctx, |button, ctx| {
|
||||
button.set_label(label, ctx);
|
||||
|
||||
Reference in New Issue
Block a user