You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kibble.apache.org by hu...@apache.org on 2017/10/21 07:59:23 UTC
[kibble] 01/02: checkbox should be author/committer switch.
This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kibble.git
commit fb745ef8f8a9bc763cff412c9b3270cc7a59f30a
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Sat Oct 21 09:59:08 2017 +0200
checkbox should be author/committer switch.
also clean up bad settings when checked.
---
ui/js/coffee/explorer.coffee | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/ui/js/coffee/explorer.coffee b/ui/js/coffee/explorer.coffee
index 3598b36..fadd362 100644
--- a/ui/js/coffee/explorer.coffee
+++ b/ui/js/coffee/explorer.coffee
@@ -78,26 +78,26 @@ explorer = (json, state) ->
chk.addEventListener("change", () ->
unique = null
if this.checked
- unique = 'true'
- globArgs['unique'] = 'true'
+ author = 'true'
+ globArgs['author'] = 'true'
- updateWidgets('donut', null, { unique: unique })
- updateWidgets('line', null, { unique: unique })
- updateWidgets('contacts', null, { unique: unique })
- updateWidgets('top5', null, { unique: unique })
- updateWidgets('factors', null, { source: source })
- updateWidgets('trends', null, { unique: unique })
- updateWidgets('relationship', null, {unique: unique})
- updateWidgets('mvp', null, {unique: unique})
- updateWidgets('comstat', null, { source: source })
+ updateWidgets('donut', null, { author: author })
+ updateWidgets('line', null, { author: author })
+ updateWidgets('contacts', null, { author: author })
+ updateWidgets('top5', null, { author: author })
+ updateWidgets('factors', null, { author: author })
+ updateWidgets('trends', null, { author: author })
+ updateWidgets('relationship', null, {author: author})
+ updateWidgets('mvp', null, {author: author})
+ updateWidgets('comstat', null, { author: author })
)
state.widget.inject(chk)
label = document.createElement('label')
label.setAttribute("for", id)
- label.setAttribute("title", "Check this box to only view unique commits across the organisation")
- chk.setAttribute("title", "Check this box to only view unique commits across the organisation")
+ label.setAttribute("title", "Check this box to authorships instead of committerships")
+ chk.setAttribute("title", "Check this box to authorships instead of committerships")
label.style.paddingLeft = '5px'
- label.appendChild(document.createTextNode('Unique commits only'))
+ label.appendChild(document.createTextNode('Show authors'))
state.widget.inject(label)
--
To stop receiving notification emails like this one, please contact
"commits@kibble.apache.org" <co...@kibble.apache.org>.