Files
chandra/lib/panel/pkg.generated.mbti
Claude 6253371cb3
CI / test (push) Failing after 30s
Dock and task manager are one module: titled window pills, pins, Super+1..9
The panel had a task list and, beside it, a dock showing the same running
apps again. They are now one module, the dock, in the task list's place:

- Pinned apps, then running ones; an app with windows is a pill with its
  window's title (or name and window count) while there is room, an icon
  when the panel is crowded ("Show window titles" in Dock settings).
- Its right-click menu has the task list's window commands (Minimize /
  Restore, Maximize) for a single window, or the app's windows by title.
- It stretches like the task list did; new panels get it instead of
  tasks. A saved panel's "tasks" becomes the dock (one dock, where the
  task list was); pins are the dock's own setting, so they carry over.
- An empty dock shows a "+ Add apps" tile that opens the Applications
  menu, where right-clicking an app offers Open and Pin to dock (adding a
  dock to the panel if there is none).
- Super+1 .. Super+9 open the dock's first nine apps like a click
  (shortcut "dock-apps", rebindable in Settings > Shortcuts).
- "New window" / "Open" only for apps the catalog can start.

The tasks component, lib/panel's pill geometry and the taskbar-widget
world are gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hiPCFHRxaJQvwex6ry
2026-11-26 00:08:05 +00:00

40 lines
659 B
Plaintext

// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/lib/panel"
// Values
pub fn layout(Int32, Int32, Int32, Int32, Int32, Array[SlotIn]) -> Result[PanelLayout, String]
pub fn popup_position(Int32, Int32, Int32, Int32, Int32, Int32) -> (Int32, Int32)
// Errors
// Types and methods
pub(all) struct PanelLayout {
x : Int32
y : Int32
w : Int32
h : Int32
placements : Array[Placed]
}
pub(all) struct Placed {
id : String
x : Int32
y : Int32
w : Int32
h : Int32
}
pub(all) struct SlotIn {
id : String
pref_w : Int32
pref_h : Int32
min_w : Int32
stretch : Bool
end_align : Bool
}
// Type aliases
// Traits