views

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateIssueModal

func CreateIssueModal(settings *config.ManagerSettings) (slack.Blocks, error)

func GreetingView

func GreetingView(user string, isChannelAdmin bool, settings *config.ManagerSettings) ([]slack.Block, error)

func InfoChannelView

func InfoChannelView(templateContent, templatePath, user string) ([]slack.Block, error)

InfoChannelView renders the info-channel greeting blocks. templateContent takes precedence over templatePath when both are non-empty.

templateContent may be a plain Go template string or a standard base64-encoded (RFC 4648, with padding) Go template string. Base64 encoding is detected automatically: if the value decodes successfully to valid UTF-8, the decoded form is used; otherwise the raw string is treated as a plain template.

func IssueDetailsAssets

func IssueDetailsAssets(issue *models.Issue, cfg *config.ManagerConfig) (slack.Blocks, error)

func MoveIssueModal

func MoveIssueModal(settings *config.ManagerSettings) (slack.Blocks, error)

func NotAdminView

func NotAdminView(user string, settings *config.ManagerSettings) ([]slack.Block, error)

func WebhookInputView

func WebhookInputView(webhook *types.Webhook) []slack.Block

Types

This section is empty.

Jump to

Keyboard shortcuts

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