Skip to content

web.components.kanban #

fn mock #

fn mock() Project

struct Assignee #

struct Assignee {
pub:
	name       string
	url        string
	avatar_url string
}

struct Board #

struct Board {
pub:
	title    string
	move_url string
	columns  []Column
}

struct Column #

struct Column {
pub:
	id            int
	title         string
	name          string
	color         string
	issues        []Issue
	is_default    bool
	sorting       string
	url           string
	issue_count   int
	delete_url    string
	delete_text   string
	delete_modal  string
	default_url   string
	default_text  string
	edit_text     string
	edit_modal    string
	default_modal string
}

struct Issue #

struct Issue {
pub:
	id          int
	title       string
	description string
	assignees   []Assignee
	status      string
	meta        string
	url         string
}

struct Project #

struct Project {
pub:
	id         string
	title      string
	board      Board
	edit_url   string
	close_url  string
	delete_url string
}

fn (Project) html #

fn (project Project) html() string