cookieui

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Overview

Package cookieui is the dialog for viewing and editing environment cookie jars.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deps

type Deps struct {
	Store     *cookies.Store
	Envs      func() []*domain.Environment
	ActiveEnv func() *domain.Environment
	Error     func(error)
	Toast     func(string)
}

Deps is what the dialog needs from the app.

type Dialog

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

Dialog lists and edits the cookies of one environment's jar.

func New

func New(deps Deps) *Dialog

func (*Dialog) Layout

func (d *Dialog) Layout(c *ui.Ctx) ui.View

Layout is the dialog body.

func (*Dialog) Show

func (d *Dialog) Show(c *ui.Ctx)

Show opens the dialog on the active environment's jar.

Jump to

Keyboard shortcuts

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