ui

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2026 License: AGPL-3.0 Imports: 2 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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