process = {}
process.queue = {}
process.timeout = 300
+process.fadeTimeout = 100
_.extend process,
spinner.prop 'id', id
spinner.text t 'process.still_working'
spinner.appendTo $('body')
- setTimeout (-> spinner.addClass 'shown'), 100
+ setTimeout (-> spinner.addClass 'shown'), @fadeTimeout
removeSpinner: (uid) ->
if facet.has('values') || FACETS_FROM_SERVER.indexOf(id) == -1
facet.set enabled: true
else
- @requestFacet(id).done => facet.set enabled: true
+ p = window.process.addBackgroundProcess()
+ @requestFacet(id).done =>
+ facet.set enabled: true
+ window.process.finishBackgroundProcess p
disableFacet: (id) ->
{{#each values}}
{{#eq val ''}}
{{! unassigned }}
- <a class="facet issues-facet js-issues-facet" data-unassigned>
- <span class="facet-name">Unassigned</span>
+ <a class="facet issues-facet js-issues-facet" data-unassigned title="{{t 'unassigned'}}">
+ <span class="facet-name">{{t 'unassigned'}}</span>
<span class="facet-stat">{{count}}</span>
</a>
{{else}}
- <a class="facet issues-facet js-issues-facet" data-value="{{val}}">
+ <a class="facet issues-facet js-issues-facet" data-value="{{val}}" title="{{label}}">
<span class="facet-name">{{label}}</span>
<span class="facet-stat">{{count}}</span>
</a>
<div class="issues-facet-list">
{{#each values}}
- <a class="facet issues-facet js-issues-facet" data-value="{{val}}">
+ <a class="facet issues-facet js-issues-facet" data-value="{{val}}" title="{{default label val}}">
<span class="facet-name">{{default label val}}</span>
<span class="facet-stat">{{count}}</span>
</a>
</div>
{{#each values}}
- <a class="facet issues-facet js-issues-facet" data-value="{{val}}">
+ <a class="facet issues-facet js-issues-facet" data-value="{{val}}" title="{{default label val}}">
<span class="facet-name">{{default label val}}</span>
<span class="facet-stat">{{count}}</span>
</a>
</div>
{{#each values}}
- <a class="facet issues-facet js-issues-facet" data-value="{{val}}">
+ <a class="facet issues-facet js-issues-facet" data-value="{{val}}" title="{{default label val}}">
<span class="facet-name">{{default label val}}</span>
<span class="facet-stat">{{count}}</span>
</a>
{{#each values}}
{{#eq val ''}}
{{! unresolved }}
- <a class="facet issues-facet issues-facet-half js-issues-facet" data-unresolved>
- <span class="facet-name">Unresolved</span>
+ <a class="facet issues-facet issues-facet-half js-issues-facet" data-unresolved title="{{t 'unresolved'}}">
+ <span class="facet-name">{{t 'unresolved'}}</span>
<span class="facet-stat">{{count}}</span>
</a>
{{else}}
- <a class="facet issues-facet issues-facet-half js-issues-facet" data-value="{{val}}">
+ <a class="facet issues-facet issues-facet-half js-issues-facet" data-value="{{val}}" title="{{t 'issue.resolution' val}}">
<span class="facet-name">{{t 'issue.resolution' val}}</span>
<span class="facet-stat">{{count}}</span>
</a>
</div>
{{#each values}}
- <a class="facet issues-facet js-issues-facet" data-value="{{val}}">
+ <a class="facet issues-facet js-issues-facet" data-value="{{val}}" title="{{default label val}}">
<span class="facet-name">{{default label val}}</span>
<span class="facet-stat">{{count}}</span>
</a>
<div class="issues-facet-list">
{{#each values}}
- <a class="facet issues-facet issues-facet-half js-issues-facet" data-value="{{val}}">
+ <a class="facet issues-facet issues-facet-half js-issues-facet" data-value="{{val}}" title="{{t 'severity' val}}">
<span class="facet-name">{{severityIcon val}} {{t 'severity' val}}</span>
<span class="facet-stat">{{count}}</span>
</a>
<div class="issues-facet-list">
{{#each values}}
- <a class="facet issues-facet issues-facet-half js-issues-facet" data-value="{{val}}">
+ <a class="facet issues-facet issues-facet-half js-issues-facet" data-value="{{val}}" title="{{t 'issue.status' val}}">
<span class="facet-name">{{statusIcon val}} {{t 'issue.status' val}}</span>
<span class="facet-stat">{{count}}</span>
</a>
.issues-facet {
position: relative;
- width: @sideWidth - 22px;
- margin: 0 22px 1px 0;
+ width: 100%;
+ margin: 0 0 1px 0;
border-color: transparent;
.box-sizing(border-box);
background-color: @barBackgroundColor;
}
.issues-facet-half {
- width: @sideWidth / 2 - 22px;
+ width: 45%;
+
+ &:nth-child(odd) {
+ margin-right: 10%;
+ }
}
.issues-facet-header {
}
.issues-facet-list {
- margin: 0 -22px 0 0;
+ margin: 0 0 0 0;
padding: 0 10px 10px;
font-size: 0;
}
}
.issues-facet-custom-value {
- margin-right: 22px;
padding: 0 0 5px;
font-size: @baseFontSize;
}
issues.facet.statuses=Status
issues.facet.actionPlans=Action Plan
issues.facet.assignees=Assignee
-issues.facet.componentUuids=Component
+issues.facet.componentUuids=File
issues.facet.rules=Rule
issues.facet.resolutions=Resolution
issues.facet.languages=Language