ui

package
v2.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package ui holds the built admin frontend.

By default it embeds admin-frontend/build, which `npm run build` in admin-frontend produces and which is not committed, so it must exist before this package compiles. A host embedding Studio through pkg/studio from a module download has no build directory: it compiles with the studio_noui build tag, which embeds only a placeholder page, and serves the release's UI assets through studio.Options.UIAssets.

Index

Constants

View Source
const Embedded = embedded

Embedded reports whether FS holds the real frontend rather than the studio_noui placeholder.

Variables

View Source
var FS fs.FS = mustSub(files, root)

FS is the built admin frontend rooted at its build directory: index.html, static/, logos/ and the root-level assets.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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