- Rename all UI-facing "Warp" references to "Galaxy" - Rename "Warpify" to "Wormhole" throughout the UI - Replace app icons with 5 new Galaxy-branded variants - Update About page to show selected app icon dynamically - Rephrase Privacy page for Bedrock context - Remove "Fallback to Warp server" toggle from Bedrock settings - Widen model selector dropdowns in profile editor (480px) - Update TERM_PROGRAM to "GalaxyTerminal" - Bump version to 1.1.0 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
35 lines
1.1 KiB
Rust
35 lines
1.1 KiB
Rust
//! Warp Home
|
|
//!
|
|
//! This is the landing page for new tabs if session creation isn't supported (e.g. on the web).
|
|
//! It's barebones at the moment, but may grow into a more full-featured admin experience.
|
|
|
|
use galaxyui::ViewContext;
|
|
|
|
use super::view::Workspace;
|
|
use crate::pane_group::{AnyPaneContent, FilePane};
|
|
|
|
const WARP_HOME_TITLE: &str = "Welcome to Galaxy on Web";
|
|
const WARP_HOME_CONTENT: &str = r#"
|
|
Welcome to Galaxy on Web - your browser-based home for Galaxy!
|
|
Use Galaxy on Web to:
|
|
* Join Shared Sessions
|
|
* Create, View, and Edit Galaxy Drive Objects
|
|
* Manage your Galaxy Settings
|
|
|
|
Galaxy on Web can also be used by your teammates and peers who don't have Galaxy downloaded yet to view your shared sessions, notebooks, and workflows."#;
|
|
|
|
/// Create a static "home page" pane.
|
|
pub fn create_home_pane(ctx: &mut ViewContext<Workspace>) -> Box<dyn AnyPaneContent> {
|
|
let pane = FilePane::new(
|
|
None,
|
|
None,
|
|
#[cfg(feature = "local_fs")]
|
|
None,
|
|
ctx,
|
|
);
|
|
pane.file_view(ctx).update(ctx, |pane, ctx| {
|
|
pane.open_static(WARP_HOME_TITLE, WARP_HOME_CONTENT, ctx);
|
|
});
|
|
Box::new(pane)
|
|
}
|