Preview
Description
A Dashing widget that displays all currently open GitLab milestones. Based off of the widget: GitLab Group Open Merge Requests.
Dependencies
The only dependency is gitlab.
Add it to Dashing's Gemfile:
gem 'gitlab'
and run bundle install
.
Usage
To use this widget, simply run:
dashing install 3d3ed6b7beee0e4994b8
To add the widget to your dashboard, include the following snippet in the layout file:
<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
<div data-view="GitlabMilestones" data-title="Milestones" data-id="gitlab-milestones"></div>
</li>
Settings
Substitute the following placeholders in gitlab_milestones.rb with the appropriate values:
gitlab_uri
: The API url for your GitLab, only change this if you host your own GitLab.gitlab_token
: The API token from your accountuse_business_days
: Choose whether the count of days remaining counts weekdays only or all days.
The job to update the milestones is run every minute but you can adjust this as needed.