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 19e3a7f6cb0eb0d021a81180632570f66e60f093 Author: Daniel Gruno <humbed...@apache.org> AuthorDate: Mon Sep 17 09:49:25 2018 +0200 this is phonebook now --- ui/js/coffee/datepicker.coffee | 1 + ui/js/coffee/explorer.coffee | 28 ++++++++++++++-------------- ui/js/coffee/pageloader.coffee | 2 +- ui/js/coffee/widget.coffee | 2 +- 4 files changed, 17 insertions(+), 16 deletions(-) diff --git a/ui/js/coffee/datepicker.coffee b/ui/js/coffee/datepicker.coffee index 5250679..3413d26 100644 --- a/ui/js/coffee/datepicker.coffee +++ b/ui/js/coffee/datepicker.coffee @@ -35,6 +35,7 @@ updateTimeseriesWidgets = (range) -> updateWidgets('report', null, { to: to, from: from}) updateWidgets('mvp', null, { to: to, from: from}) updateWidgets('comstat', null, { to: to, from: from}) + updateWidgets('phonebook', null, { to: to, from: from}) updateWidgets('worldmap', null, { to: to, from: from}) updateWidgets('jsondump', null, { to: to, from: from}) diff --git a/ui/js/coffee/explorer.coffee b/ui/js/coffee/explorer.coffee index 7f9e3a1..0bf761f 100644 --- a/ui/js/coffee/explorer.coffee +++ b/ui/js/coffee/explorer.coffee @@ -58,7 +58,7 @@ explorer = (json, state) -> updateWidgets('donut', null, { source: source }) updateWidgets('gauge', null, { source: source }) updateWidgets('line', null, { source: source }) - updateWidgets('contacts', null, { source: source }) + updateWidgets('phonebook', null, { source: source }) updateWidgets('top5', null, { source: source }) updateWidgets('factors', null, { source: source }) updateWidgets('trends', null, { source: source }) @@ -86,7 +86,7 @@ explorer = (json, state) -> updateWidgets('donut', null, { author: author }) updateWidgets('gauge', null, { author: author }) updateWidgets('line', null, { author: author }) - updateWidgets('contacts', null, { author: author }) + updateWidgets('phonebook', null, { author: author }) updateWidgets('top5', null, { author: author }) updateWidgets('factors', null, { author: author }) updateWidgets('trends', null, { author: author }) @@ -161,13 +161,13 @@ sourceexplorer = (json, state) -> updateWidgets('donut', null, { source: source }) updateWidgets('gauge', null, { source: source }) updateWidgets('line', null, { source: source }) - updateWidgets('contacts', null, { source: source }) + updateWidgets('phonebook', null, { source: source }) updateWidgets('top5', null, { source: source }) updateWidgets('factors', null, { source: source }) updateWidgets('trends', null, { source: source }) updateWidgets('mvp', null, { source: source }) updateWidgets('comstat', null, { source: source }) - updateWidgets('jsondump', null, { author: author }) + updateWidgets('jsondump', null, { source: source }) ) @@ -218,7 +218,7 @@ mailexplorer = (json, state) -> updateWidgets('donut', null, { source: source }) updateWidgets('gauge', null, { source: source }) updateWidgets('line', null, { source: source }) - updateWidgets('contacts', null, { source: source }) + updateWidgets('phonebook', null, { source: source }) updateWidgets('top5', null, { source: source }) updateWidgets('factors', null, { source: source }) updateWidgets('trends', null, { source: source }) @@ -327,7 +327,7 @@ issueexplorer = (json, state) -> updateWidgets('donut', null, { source: source }) updateWidgets('gauge', null, { source: source }) updateWidgets('line', null, { source: source }) - updateWidgets('contacts', null, { source: source }) + updateWidgets('phonebook', null, { source: source }) updateWidgets('top5', null, { source: source }) updateWidgets('factors', null, { source: source }) updateWidgets('trends', null, { source: source }) @@ -384,7 +384,7 @@ forumexplorer = (json, state) -> updateWidgets('donut', null, { source: source }) updateWidgets('gauge', null, { source: source }) updateWidgets('line', null, { source: source }) - updateWidgets('contacts', null, { source: source }) + updateWidgets('phonebook', null, { source: source }) updateWidgets('top5', null, { source: source }) updateWidgets('factors', null, { source: source }) updateWidgets('trends', null, { source: source }) @@ -441,7 +441,7 @@ imexplorer = (json, state) -> updateWidgets('donut', null, { source: source }) updateWidgets('gauge', null, { source: source }) updateWidgets('line', null, { source: source }) - updateWidgets('contacts', null, { source: source }) + updateWidgets('phonebook', null, { source: source }) updateWidgets('top5', null, { source: source }) updateWidgets('factors', null, { source: source }) updateWidgets('trends', null, { source: source }) @@ -498,7 +498,7 @@ ciexplorer = (json, state) -> updateWidgets('donut', null, { source: source }) updateWidgets('gauge', null, { source: source }) updateWidgets('line', null, { source: source }) - updateWidgets('contacts', null, { source: source }) + updateWidgets('phonebook', null, { source: source }) updateWidgets('top5', null, { source: source }) updateWidgets('factors', null, { source: source }) updateWidgets('trends', null, { source: source }) @@ -552,7 +552,7 @@ multiviewexplorer = (json, state) -> updateWidgets('donut', null, x) updateWidgets('gauge', null, x) updateWidgets('line', null, x) - updateWidgets('contacts', null, x) + updateWidgets('phonebook', null, x) updateWidgets('top5', null, x) updateWidgets('factors', null, x) updateWidgets('trends', null, x) @@ -577,7 +577,7 @@ subFilter = () -> updateWidgets('donut', null, x) updateWidgets('gauge', null, x) updateWidgets('line', null, x) - updateWidgets('contacts', null, x) + updateWidgets('phonebook', null, x) updateWidgets('top5', null, x) updateWidgets('factors', null, x) updateWidgets('trends', null, x) @@ -615,7 +615,7 @@ pathFilter = () -> updateWidgets('donut', null, x) updateWidgets('gauge', null, x) updateWidgets('line', null, x) - updateWidgets('contacts', null, x) + updateWidgets('phonebook', null, x) updateWidgets('top5', null, x) updateWidgets('factors', null, x) updateWidgets('trends', null, x) @@ -690,7 +690,7 @@ viewexplorer = (json, state) -> updateWidgets('donut', null, x) updateWidgets('gauge', null, x) updateWidgets('line', null, x) - updateWidgets('contacts', null, x) + updateWidgets('phonebook', null, x) updateWidgets('top5', null, x) updateWidgets('factors', null, x) updateWidgets('trends', null, x) @@ -817,7 +817,7 @@ widgetexplorer = (json, state) -> updateWidgets('donut', null, x) updateWidgets('gauge', null, x) updateWidgets('line', null, x) - updateWidgets('contacts', null, x) + updateWidgets('phonebook', null, x) updateWidgets('top5', null, x) updateWidgets('factors', null, x) updateWidgets('trends', null, x) diff --git a/ui/js/coffee/pageloader.coffee b/ui/js/coffee/pageloader.coffee index b42b065..251d2b2 100644 --- a/ui/js/coffee/pageloader.coffee +++ b/ui/js/coffee/pageloader.coffee @@ -100,7 +100,7 @@ setupPage = (json, state) -> when 'messages' then widget.load(messages) when 'sourcelist' then widget.load(sourcelist) when 'sourceadd' then widget.load(sourceadd) - when 'contacts' then setupPhonebook(widget, child) + when 'phonebook' then widget.load(phonebook) when 'preferences' then widget.load(preferences) when 'orgadmin' then widget.load(orgadmin) when 'affiliations' then widget.load(affiliation) diff --git a/ui/js/coffee/widget.coffee b/ui/js/coffee/widget.coffee index 0abd34b..9d5fb5a 100644 --- a/ui/js/coffee/widget.coffee +++ b/ui/js/coffee/widget.coffee @@ -120,7 +120,7 @@ updateWidgets = (type, target, eargs) -> when 'preferences' then widget.load(preferences) when 'messages' then widget.load(messages) when 'widget' then widget.load(publisher) - when 'contacts' then fetchPhonebook({ widget: widget, w: w, letter: 'a', project: target}) + when 'phonebook' then widget.load(phonebook) when 'repopicker' then widget.load(explorer) when 'sourcepicker' then widget.load(sourceexplorer) when 'issuepicker' then widget.load(issueexplorer)