Keep AI session history local and update Galaxy branding
This commit is contained in:
@@ -253,7 +253,7 @@ pub fn init_actions_from_parent_view<T: Action + Clone>(
|
||||
|
||||
// Add command palette entry for toggling between Warp and Classic input modes
|
||||
app.register_fixed_bindings(vec![FixedBinding::empty(
|
||||
"Toggle Input Mode (Warp/Classic)".to_string(),
|
||||
"Toggle Input Mode (Galaxy/Classic)".to_string(),
|
||||
builder(SettingsAction::AppearancePageToggle(
|
||||
AppearancePageAction::ToggleInputMode,
|
||||
)),
|
||||
@@ -1643,7 +1643,7 @@ impl AppearanceSettingsPageView {
|
||||
|
||||
fn input_mode_dropdown_item_label(val: InputMode) -> &'static str {
|
||||
match val {
|
||||
InputMode::PinnedToBottom => "Pin to the bottom (Warp mode)",
|
||||
InputMode::PinnedToBottom => "Pin to the bottom (Galaxy mode)",
|
||||
InputMode::PinnedToTop => "Pin to the top (Reverse mode)",
|
||||
InputMode::Waterfall => "Start at the top (Classic mode)",
|
||||
}
|
||||
@@ -3061,7 +3061,7 @@ impl SettingsWidget for CustomAppIconWidget {
|
||||
);
|
||||
|
||||
let show_dock_icon_toggle = render_body_item::<AppearancePageAction>(
|
||||
"Show Warp in Dock".into(),
|
||||
"Show Galaxy in Dock".into(),
|
||||
None,
|
||||
LocalOnlyIconState::for_setting(
|
||||
ShowDockIconState::storage_key(),
|
||||
@@ -3101,7 +3101,7 @@ impl SettingsWidget for CustomAppIconWidget {
|
||||
appearance
|
||||
.ui_builder()
|
||||
.wrappable_text(
|
||||
"You may need to restart Warp for MacOS to apply the preferred icon style.",
|
||||
"You may need to restart Galaxy for macOS to apply the preferred icon style.",
|
||||
true,
|
||||
)
|
||||
.with_style(UiComponentStyles {
|
||||
@@ -3590,7 +3590,7 @@ impl SettingsWidget for InputTypeWidget {
|
||||
.radio_buttons(
|
||||
self.radio_buttons_states.clone(),
|
||||
vec![
|
||||
RadioButtonItem::text("Warp"),
|
||||
RadioButtonItem::text("Galaxy"),
|
||||
RadioButtonItem::text("Shell (PS1)"),
|
||||
],
|
||||
view.input_type_radio_state.clone(),
|
||||
@@ -5093,7 +5093,7 @@ impl SettingsWidget for UseLatestUserPromptAsConversationTitleInTabNamesWidget {
|
||||
})
|
||||
.finish(),
|
||||
Some(
|
||||
"Show the latest user prompt instead of the generated conversation title for Oz and third-party agent sessions in vertical tabs."
|
||||
"Show the latest user prompt instead of the generated conversation title for Galaxy and third-party agent sessions in vertical tabs."
|
||||
.to_string(),
|
||||
),
|
||||
)
|
||||
|
||||
@@ -303,7 +303,7 @@ pub fn init_actions_from_parent_view<T: Action + Clone>(
|
||||
];
|
||||
|
||||
toggle_binding_pairs.push(ToggleSettingActionPair::new(
|
||||
"reuse existing SSH ControlMaster in the Warp SSH wrapper",
|
||||
"reuse existing SSH ControlMaster in the Galaxy SSH wrapper",
|
||||
builder(SettingsAction::FeaturesPageToggle(
|
||||
FeaturesPageAction::ToggleSshReuseControlMaster,
|
||||
)),
|
||||
@@ -714,7 +714,7 @@ pub fn init_actions_from_parent_view<T: Action + Clone>(
|
||||
|
||||
if DefaultTerminal::can_warp_become_default() {
|
||||
app.register_fixed_bindings([FixedBinding::empty(
|
||||
"Make Warp the default terminal",
|
||||
"Make Galaxy the default terminal",
|
||||
builder(SettingsAction::FeaturesPageToggle(
|
||||
FeaturesPageAction::MakeWarpDefaultTerminal,
|
||||
)),
|
||||
@@ -4822,9 +4822,9 @@ impl SettingsWidget for LoginItemWidget {
|
||||
let general_settings = GeneralSettings::as_ref(app);
|
||||
let ui_builder = appearance.ui_builder();
|
||||
#[cfg(target_os = "macos")]
|
||||
let label = "Start Warp at login (requires macOS 13+)";
|
||||
let label = "Start Galaxy at login (requires macOS 13+)";
|
||||
#[cfg(not(target_os = "macos"))]
|
||||
let label = "Start Warp at login";
|
||||
let label = "Start Galaxy at login";
|
||||
render_body_item::<FeaturesPageAction>(
|
||||
label.into(),
|
||||
None,
|
||||
@@ -5101,7 +5101,7 @@ impl SettingsWidget for DefaultTerminalWidget {
|
||||
let default_terminal = DefaultTerminal::as_ref(app);
|
||||
if default_terminal.is_warp_default() {
|
||||
ui_builder
|
||||
.wrappable_text("Warp is the default terminal", true)
|
||||
.wrappable_text("Galaxy is the default terminal", true)
|
||||
.with_style(UiComponentStyles {
|
||||
font_color: Some(appearance.theme().disabled_ui_text_color().into()),
|
||||
margin: Some(Coords::default().bottom(16.)),
|
||||
@@ -5112,7 +5112,7 @@ impl SettingsWidget for DefaultTerminalWidget {
|
||||
} else {
|
||||
ui_builder
|
||||
.link(
|
||||
"Make Warp the default terminal".to_string(),
|
||||
"Make Galaxy the default terminal".to_string(),
|
||||
None,
|
||||
Some(Box::new(|ctx| {
|
||||
ctx.dispatch_typed_action(FeaturesPageAction::MakeWarpDefaultTerminal);
|
||||
@@ -5207,7 +5207,7 @@ impl SettingsWidget for DesktopNotificationsWidget {
|
||||
let ui_builder = appearance.ui_builder();
|
||||
let mut column = Flex::column();
|
||||
column.add_child(render_body_item::<FeaturesPageAction>(
|
||||
"Receive desktop notifications from Warp".into(),
|
||||
"Receive desktop notifications from Galaxy".into(),
|
||||
Some(AdditionalInfo {
|
||||
mouse_state: self.additional_info_link.clone(),
|
||||
on_click_action: Some(FeaturesPageAction::OpenUrl(NOTIFICATIONS_DOCS_URL.into())),
|
||||
@@ -7552,7 +7552,7 @@ impl SettingsWidget for WindowSystemWidget {
|
||||
may be blurry if your Wayland compositor is using fraction scaling (ex: 125%)."
|
||||
.to_string();
|
||||
if view.force_x11_changed {
|
||||
secondary_text.push_str("\n\nRestart Warp for changes to take effect.");
|
||||
secondary_text.push_str("\n\nRestart Galaxy for changes to take effect.");
|
||||
}
|
||||
let warp_theme = appearance.theme();
|
||||
children.add_child(
|
||||
|
||||
@@ -35,10 +35,10 @@ const OPEN_BUTTON_HEIGHT: f32 = 32.;
|
||||
const ALERT_ACTION_BUTTON_HEIGHT: f32 = 24.;
|
||||
/// Size of the leading icons (search-sm, code-02, alert-circle, oz).
|
||||
const FOOTER_ICON_SIZE: f32 = 16.;
|
||||
/// Size of the Oz brand mark inside the "Fix with Oz" button. Matches the
|
||||
/// Size of the agent icon inside the "Fix with Galaxy Agent" button. Matches the
|
||||
/// Figma spec and the workspace banner's secondary-button icon sizing.
|
||||
const ALERT_OZ_ICON_SIZE: f32 = 14.;
|
||||
/// Horizontal padding inside the "Open file" / "Fix with Oz" action buttons.
|
||||
/// Horizontal padding inside the "Open file" / "Fix with Galaxy Agent" action buttons.
|
||||
/// Matches the workspace banner's secondary button pad.
|
||||
const ALERT_BUTTON_HORIZONTAL_PADDING: f32 = 8.;
|
||||
/// Spacing between the two action buttons when they fit on one row.
|
||||
@@ -250,7 +250,7 @@ pub fn render_settings_error_alert(
|
||||
ui_font_family,
|
||||
text_color,
|
||||
mouse_states.alert_fix_with_oz_button.clone(),
|
||||
"Fix with Oz",
|
||||
"Fix with Galaxy Agent",
|
||||
Some(Icon::Oz),
|
||||
/*bordered=*/ false,
|
||||
WorkspaceAction::FixSettingsWithOz { error_description },
|
||||
|
||||
Reference in New Issue
Block a user