design

package
v1.5.4 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package design is the Design Studio area of the native desktop: the artifact and template galleries at /design and one artifact's Studio at /design/{id} (web-ui components/design + designStore).

Native chrome (galleries, inspector, issues, timeline, export) is MyGo widgets. The preview canvas stays HTML served by the preview server and is shown in MyGo's embedded web view (kit.WebPane); the selection bridge talks to it through Page.Eval (canvas.go). Design events (/design/events) keep the store fresh for the whole life of the app, and a design the agent creates opens in this area.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type View

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

View is the area's view.

func (*View) Build

func (v *View) Build(c *ui.Context, r *ui.Route)

Build routes between the gallery, the Studio and the disabled notice. The route is the source of truth for the open artifact.

func (*View) Close

func (v *View) Close()

Close stops the canvas poller.

func (*View) Title

func (v *View) Title() string

Title shows the open artifact's title in the header.

Jump to

Keyboard shortcuts

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