Issue Layout
Issues Section Layout
Section titled “Issues Section Layout”You can define how an Issue section displays items in its table by setting options for the available columns. You can define a column’s width, whether it grows to fill available space, and whether the column should be visible at all.
Note that if the length of a column’s text exceeds the defined column width
, the view
truncates the column’s text to two characters shorter than the column’s width. For example, if
the width is 6
, gh-dash
displays as gh-d
.
Column headings have their color defined by the theme.colors.text.primary
setting.
By default, Issue views display the following columns in the order they’re listed:
updatedAt
with a width of 7 columns.state
with a width of 3 columns.repo
with a width of 15 columns.title
, set to grow to fill available space.creator
with a width of 10 columns.comments
with a width of 3 columns.reactions
with a width of 3 columns.
title: grow: trueassignees: hidden: true width: 20creator: width: 10repo: width: 15updatedAt: width: 7
Issue Updated At Column
Section titled “Issue Updated At Column”Property | Type | Default |
---|---|---|
updatedAt | yaml |
|
This column displays how recently the Issue was updated. The entry shows the time elapsed
since the last update, like 1h
or 3d
.
The heading for this column is
Issue State Column
Section titled “Issue State Column”Property | Type | Default |
---|---|---|
state | yaml |
|
This column displays the issue’s state. When an issue is open, the column displays the icon
with the color set to #42a0fa
. When an issue is closed, the
column displays the icon
with the color set to
theme.colors.text.faint
.
The heading for this column is
.
Issue Repo Column
Section titled “Issue Repo Column”Property | Type | Default |
---|---|---|
repo | yaml |
|
This column displays the name of the repository the Issue is filed in. The entry shows the
name of the repository without the owner, like gh-dash
for the
https://github.com/dlvhdr/gh-dash
repository.
The heading for this column is
Issue Title Column
Section titled “Issue Title Column”Property | Type | Default |
---|---|---|
title | yaml |
|
This column displays the Issue’s number followed by its title. This column is always displayed
unless you set hidden
to false
. By default, it grows to fill the available space
in the terminal after accounting for other column widths.
The heading for this column is Title
.
The theme.colors.text.primary
setting defines the issue number’s color.
Issue Creator Column
Section titled “Issue Creator Column”Property | Type | Default |
---|---|---|
creator | yaml |
|
This column displays the username for the person who created the Issue.
The heading for this column is Creator
.
Issue Author Role Icon
Section titled “Issue Author Role Icon”Property | Type | Default |
---|---|---|
creatorIcon | yaml |
|
This setting affects display of the role icon for the person who created the Issue.
Issue Assignees Column
Section titled “Issue Assignees Column”Property | Type | Default |
---|---|---|
assignees | yaml |
|
This column displays the usernames for the people assigned to the Issue.
The heading for this column is Assignees
.
Issue Comments Column
Section titled “Issue Comments Column”Property | Type | Default |
---|---|---|
comments | yaml |
|
This column displays the count of comments on the issue as an integer.
The heading for this column is
Issue Reactions Column
Section titled “Issue Reactions Column”Property | Type | Default |
---|---|---|
reactions | yaml |
|
This column displays the count of all reactions on the issue as an integer.
The heading for this column is