Documentation ¶
Index ¶
- func GetI18nKeyAlias(is pb.IssueSeverityEnum_Severity) string
- type Assignee
- type AssigneeOperationData
- type BatchState
- type Column
- type ColumnWithFixedWidth
- type Complexity
- type ComponentAction
- type Deadline
- type DeadlineOperationData
- type ExtraContent
- type Label
- type Meta
- type Name
- type Operation
- type Priority
- type PriorityOperationData
- type Progress
- type ProgressBlock
- type Props
- type Severity
- type SeverityOperationData
- type State
- type StateOperationData
- type TableColumnMultiple
- type TableColumnTagsRow
- type TableColumnTagsRowTag
- type TableColumnTextWithIcon
- type TableItem
- type TableItemForShow
- type TextBlock
- type Time
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetI18nKeyAlias ¶
func GetI18nKeyAlias(is pb.IssueSeverityEnum_Severity) string
Types ¶
type AssigneeOperationData ¶
type BatchState ¶
type ColumnWithFixedWidth ¶
type Complexity ¶
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 ¶
func (ca *ComponentAction) Render(ctx context.Context, c *cptype.Component, scenario cptype.Scenario, event cptype.ComponentEvent, gs *cptype.GlobalStateData) error
type DeadlineOperationData ¶
type ExtraContent ¶
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 PriorityOperationData ¶
type Progress ¶
type Progress TableColumnMultiple
type ProgressBlock ¶
type SeverityOperationData ¶
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 TableColumnMultiple ¶
type TableColumnTagsRow ¶
type TableColumnTagsRow struct { RenderType string `json:"renderType,omitempty"` Value []TableColumnTagsRowTag `json:"value,omitempty"` ShowCount int `json:"showCount,omitempty"` }
type TableColumnTagsRowTag ¶
type TableColumnTextWithIcon ¶
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{}
Click to show internal directories.
Click to hide internal directories.