layouts

package
v0.9.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LayoutRoot      = "root"
	LayoutDashboard = "dashboard"
	LayoutSettings  = "settings"
	LayoutBase      = "base"
	LayoutFull      = "full"
)

Layout name constants used for registration and route assignment.

Variables

This section is empty.

Functions

This section is empty.

Types

type LayoutConfig

type LayoutConfig struct {
	Title          string
	CustomCSS      string
	BridgeEndpoint string
	EnableBridge   bool
	EnableSearch   bool
	EnableRealtime bool
}

LayoutConfig holds configuration for all dashboard layouts.

type LayoutManager

type LayoutManager struct {
	// contains filtered or unexported fields
}

LayoutManager registers and manages all dashboard layouts with forgeui.

func NewLayoutManager

func NewLayoutManager(fuiApp *forgeui.App, basePath string, registry *contributor.ContributorRegistry, config LayoutConfig) *LayoutManager

NewLayoutManager creates a LayoutManager and registers all five layouts with the forgeui application. The "dashboard" layout is set as the default.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL