issueTable

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 27 Imported by: 0 modules, 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetI18nKeyAlias

func GetI18nKeyAlias(is pb.IssueSeverityEnum_Severity) string

Types

type Assignee

type Assignee struct {
	Value       string                 `json:"value"`
	RenderType  string                 `json:"renderType"`
	Scope       string                 `json:"scope"`
	Operations  map[string]interface{} `json:"operations"`
	Disabled    bool                   `json:"disabled"`
	DisabledTip string                 `json:"disabledTip"`
}

type AssigneeOperationData

type AssigneeOperationData struct {
	Meta struct {
		Assignee string `json:"assignee"`
		ID       string `json:"id"`
	} `json:"meta"`
}

type BatchState

type BatchState struct {
	Visible         bool     `json:"visible"`
	SelectedRowKeys []string `json:"selectedRowKeys"`
}

type Column

type Column struct {
	Title     string `json:"title,omitempty"`
	DataIndex string `json:"dataIndex,omitempty"`
	Hidden    bool   `json:"hidden"`
}

type ColumnWithFixedWidth

type ColumnWithFixedWidth struct {
	Column
	Width int `json:"width,omitempty"`
}

type Complexity

type Complexity struct {
	RenderType string `json:"renderType"`
	PrefixIcon string `json:"prefixIcon"`
	Value      string `json:"value"`
}

type ComponentAction

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

func (*ComponentAction) CheckUserPermission

func (ca *ComponentAction) CheckUserPermission(ctx context.Context) (bool, error)

GetUserPermission check Guest permission

func (*ComponentAction) Render

type Deadline

type Deadline struct {
	RenderType     string                 `json:"renderType"`
	Value          string                 `json:"value"`
	NoBorder       bool                   `json:"noBorder"`
	DisabledBefore string                 `json:"disabledBefore"`
	DisabledAfter  string                 `json:"disabledAfter"`
	Operations     map[string]interface{} `json:"operations"`
}

type DeadlineOperationData

type DeadlineOperationData struct {
	Meta struct {
		DeadlineValue string `json:"deadlineValue"`
		ID            string `json:"id"`
	} `json:"meta"`
}

type ExtraContent

type ExtraContent struct {
	RenderType string  `json:"renderType"`
	Value      []Label `json:"value"`
	ShowCount  int     `json:"showCount,omitempty"`
}

type Label

type Label struct {
	Color string `json:"color"`
	Label string `json:"label"`
}

type Meta

type Meta struct {
	Type cptype.OperationKey `json:"type"`
}

type Name

type Name struct {
	RenderType   string       `json:"renderType"`
	PrefixIcon   string       `json:"prefixIcon"`
	Value        string       `json:"value"`
	ExtraContent ExtraContent `json:"extraContent"`
}

type Operation

type Operation struct {
	Key        string `json:"key"`
	Reload     bool   `json:"reload"`
	Meta       Meta   `json:"meta"`
	SuccessMsg string `json:"successMsg"`
}

type Priority

type Priority struct {
	Operations  map[string]interface{} `json:"operations"`
	PrefixIcon  string                 `json:"prefixIcon"`
	Value       string                 `json:"value"`
	RenderType  string                 `json:"renderType"`
	Disabled    bool                   `json:"disabled"`
	DisabledTip string                 `json:"disabledTip"`
}

type PriorityOperationData

type PriorityOperationData struct {
	Meta struct {
		Priority string `json:"priority"`
		ID       string `json:"id"`
	} `json:"meta"`
}

type Progress

type Progress TableColumnMultiple

type ProgressBlock

type ProgressBlock struct {
	Value      string `json:"value"`
	RenderType string `json:"renderType"`
	HiddenText bool   `json:"hiddenText"`
}

type Props

type Props struct {
	Status  string `json:"status"`
	Content string `json:"content"`
	Title   string `json:"title"`
}

type Severity

type Severity struct {
	Value       string                 `json:"value"`
	RenderType  string                 `json:"renderType"`
	PrefixIcon  string                 `json:"prefixIcon"`
	Operations  map[string]interface{} `json:"operations"`
	Disabled    bool                   `json:"disabled"`
	DisabledTip string                 `json:"disabledTip"`
}

type SeverityOperationData

type SeverityOperationData struct {
	Meta struct {
		Severity string `json:"severity"`
		ID       string `json:"id"`
	} `json:"meta"`
}

type State

type State struct {
	Menus []map[string]interface{} `json:"menus"`
	// Operations  map[string]interface{} `json:"operations"`
	// PrefixIcon  string                 `json:"prefixIcon"`
	Value           string   `json:"value"`
	RenderType      string   `json:"renderType"`
	Disabled        bool     `json:"disabled"`
	DisabledTip     string   `json:"disabledTip"`
	SelectedRowKeys []string `json:"selectedRowKeys"`
	ProjectID       uint64   `json:"projectId"`
}

type StateOperationData

type StateOperationData struct {
	Meta struct {
		State string `json:"state"`
		ID    string `json:"id"`
	} `json:"meta"`
}

type TableColumnMultiple

type TableColumnMultiple struct {
	RenderType string        `json:"renderType,omitempty"`
	Direction  string        `json:"direction,omitempty"`
	Renders    []interface{} `json:"renders,omitempty"`
}

type TableColumnTagsRow

type TableColumnTagsRow struct {
	RenderType string                  `json:"renderType,omitempty"`
	Value      []TableColumnTagsRowTag `json:"value,omitempty"`
	ShowCount  int                     `json:"showCount,omitempty"`
}

type TableColumnTagsRowTag

type TableColumnTagsRowTag struct {
	Color string `json:"color,omitempty"`
	Label string `json:"label,omitempty"`
}

type TableColumnTextWithIcon

type TableColumnTextWithIcon struct {
	RenderType string `json:"renderType,omitempty"`
	Value      string `json:"value,omitempty"`
	PrefixIcon string `json:"prefixIcon,omitempty"`
}

type TableItem

type TableItem struct {
	//Assignee    map[string]string `json:"assignee"`
	Id          string     `json:"id"`
	IterationID int64      `json:"iterationID"`
	Priority    Priority   `json:"priority"`
	Progress    Progress   `json:"progress,omitempty"`
	Severity    Severity   `json:"severity,omitempty"`
	Complexity  Complexity `json:"complexity,omitempty"`
	State       State      `json:"state"`
	// Title       Title      `json:"title"`
	Type            string    `json:"type"`
	Deadline        Deadline  `json:"deadline"`
	Assignee        Assignee  `json:"assignee"`
	ClosedAt        Time      `json:"closedAt"`
	Name            Name      `json:"name"`
	ReopenCount     TextBlock `json:"reopenCount,omitempty"`
	CreatedAt       Time      `json:"createdAt"`
	Owner           Assignee  `json:"owner"`
	Creator         Assignee  `json:"creator"`
	PlanStartedAt   Time      `json:"planStartedAt"`
	Iteration       TextBlock `json:"iteration"`
	BatchOperations []string  `json:"batchOperations"`

	Properties []*pb.IssuePropertyExtraProperty `json:"properties"`
}

type TableItemForShow

type TableItemForShow map[string]interface{}

type TextBlock

type TextBlock struct {
	Value      string `json:"value"`
	RenderType string `json:"renderType"`
}

type Time

type Time struct {
	RenderType string `json:"renderType"`
	Value      string `json:"value"`
	NoBorder   bool   `json:"noBorder"`
}

Jump to

Keyboard shortcuts

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