--- title: "GitLab" date: 2018-06-08T13:14:11-07:00 draft: false weight: 100 --- gitlab screenshot Added in `v0.0.8`. Displays information about your projects hosted on GitLab: #### Open Approval Requests All open merge requests that are requesting your approval. #### Open Merge Requests All open merge requests created by you. ## Source Code ```bash wtf/gitlab/ ``` ## Keyboard Commands Key: `/`
Action: Open/close the widget's help window. Key: `h`
Action: Show the previous project. Key: `l`
Action: Show the next project. Key: `←`
Action: Show the previous project. Key: `→`
Action: Show the next project. ## Configuration ```yaml gitlab: apiKey: "3276d7155dd9ee27b8b14f8743a408a9" enabled: true position: top: 2 left: 3 height: 2 width: 2 refreshInterval: 300 projects: tasks: "gitlab-org/release" gitlab-ce: "gitlab-org" username: "senorprogrammer" ``` ### Attributes `apiKey`
Value: A GitLab personal access token. Requires at least `api` access. `enabled`
Determines whether or not this module is executed and if its data displayed onscreen.
Values: `true`, `false`. `position`
Defines where in the grid this module's widget will be displayed.
`refreshInterval`
How often, in seconds, this module will update its data.
Values: A positive integer, `0..n`. `domain`
_Optional_. Your GitLab corporate domain.
Values: A valid URI. `projects`
A list of key/value pairs each describing a GitLab project to fetch data for.
Key: The name of the project.
Value: The namespace of the project. `username`
Your GitLab username. Used to figure out which requests require your approval