CI / test (push) Failing after 16s
moon-plasma / moonplasma / MoonPlasma / Moon Plasma become chandra / Chandra everywhere: the WIT package (chandra:desktop, chandra:host, chandra:wm), the MoonBit module (chandra/desktop) and generated bindings, the Rust host, identifiers (ChandraCompositor), the session script (chandra-session) and desktop entry (chandra.desktop), config and data paths ($XDG_CONFIG_HOME/chandra, share/chandra/modules), env vars (CHANDRA_*), UI strings, docs and tests. The test fixture components are rebuilt against the renamed WIT. Saved panel.edn and state.edn are still read from the old $XDG_CONFIG_HOME/moon-plasma until the first save writes the new copy. The remote repository keeps its experiments/moon-plasma name for now. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DPL5hi3L9oVBoRd373Qr4n
45 lines
1000 B
Plaintext
45 lines
1000 B
Plaintext
// Generated using `moon info`, DON'T EDIT IT
|
|
package "chandra/desktop/lib/launcher"
|
|
|
|
import {
|
|
"chandra/desktop/interface/chandra/desktop/theme",
|
|
"chandra/desktop/interface/chandra/desktop/types",
|
|
}
|
|
|
|
// Values
|
|
pub fn close(State) -> Unit
|
|
|
|
pub fn filter(Array[@types.AppEntry], String) -> Array[@types.AppEntry]
|
|
|
|
pub fn handle_event(Array[@types.AppEntry], State, Target, @types.InputEvent, (String) -> Result[Unit, String]) -> Bool
|
|
|
|
pub fn popup_size(Array[@types.AppEntry], State) -> @types.Size
|
|
|
|
pub let popup_w : Int32
|
|
|
|
pub fn render_button(@types.Size, @theme.Tokens, State) -> Array[@types.DrawOp]
|
|
|
|
pub fn render_popup(Array[@types.AppEntry], @theme.Tokens, State) -> Array[@types.DrawOp]
|
|
|
|
pub fn row_at(Array[@types.AppEntry], State, @types.Point) -> Int32
|
|
|
|
// Errors
|
|
|
|
// Types and methods
|
|
pub struct State {
|
|
mut open : Bool
|
|
mut query : String
|
|
mut hover : Int32
|
|
mut error : String
|
|
}
|
|
pub fn State::new() -> Self
|
|
|
|
pub(all) enum Target {
|
|
Widget
|
|
Popup
|
|
}
|
|
|
|
// Type aliases
|
|
|
|
// Traits
|