subspace-dashboard 0.10.1

Subspace Framework board kit: the Dashboard trait, shared widgets and design tokens. Internal crate; apps depend on `subspace-framework`.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! The current product's immutable configuration context, shared with boards.

use std::sync::Arc;

use gpui_kit::Global;
use subspace_product::ProductContext;

/// Set by the product shell before constructing dashboard entities. Boards use
/// the same context for their additional configuration directories.
#[derive(Clone)]
pub struct CurrentProduct(pub Arc<ProductContext>);

impl Global for CurrentProduct {}