From f65b517d2cc53e102c5d013a809c3e2abc7363c9 Mon Sep 17 00:00:00 2001 From: Sally Young Date: Fri, 3 Mar 2017 13:25:39 +0000 Subject: [PATCH 1/3] Add Yammer integration --- yammer/icon.png | Bin 0 -> 18799 bytes yammer/icon.svg | 1 + yammer/index.js | 1 + yammer/package.json | 23 +++++++++++++++++++++++ yammer/webview.js | 3 +++ 5 files changed, 28 insertions(+) create mode 100644 yammer/icon.png create mode 100644 yammer/icon.svg create mode 100644 yammer/index.js create mode 100644 yammer/package.json create mode 100644 yammer/webview.js diff --git a/yammer/icon.png b/yammer/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..d3d0ca9421a72806c0edf8b13c866aa75ac466f0 GIT binary patch literal 18799 zcmeIag;!Ny^eui60j0Z3N;(AT_7aM;(jXxSD2;My1c6ISNr$9?lypdgG#8}1q`Uj= z>*x1-@BIyLd>z999`8M|_g;I=HRoI>L_L~}KMvu4 z&cTn{F7l6`-2s2R?z}{Rf8TXf)^~v*91_%DG$=Wh5`q|^$1u5P@YJnoH+bA=lJKsl zN35ddpXiT-x5zvmwvjDXEto7|j?J;8y!rMsMYS~LrCY4(nXu*JOKk|h3J1^!NXsN&NLf?u zB6!0PObE0&!8eLhg+1@)LpwwCKG6qX!X?5zrt^K&A=&4;GSY8Wo4Fp^!9RZ^v-3J& z3F&>;HdiynVkF5ye-L94ZF+VY<&!@d7SJmNuPsFH*R3%1b*c1w62h*9TC#qtOfUJ{ zY}&34*cP`hpNaNbbSv0rF!bwG%;{cyKg)YO$iM!!N36YWIj`HDCts9uYJB5(J$r5I z<)DiZcZrjS=ngNL%YFV+VDjPd@-_0?HhtqmKKl0Pk(uIpOd^G#m`Uj7wGHpJr@M(B z-!-(WesF)WKVd2O=ph0!buJ*=nGuyKpt$*2bkG-ZP{Q6uH8OfHYgd~Wx*WRfJiYec zMAXkDSiPKkrQ*zd?2(gxJB+BvNCHbt?KRAVZ^pc}@AWGSk2)!)A|=@T=Vy>!QoP>_ z?ug5_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G%Sjq^H-QRZ6UEAaOa+|rKw+<& zyw9YSG{^-t4m_(pa!73ijw%!|)*Pm!gdBnVA@R)s6`RK*ZehG32n5S#5L@?AeJi~f z?p105F1LVNj#C0lV-OikvQ>}rX8|V)a-c(-Fa)uB09p{uz?%eS(-HzVTw+0;14}p% z03J^5>3}br>q-hM14V!~k9&9cIqN3_y-Y(K3??Lw3(2t$avICyW)EwrB@X;{IGbg=!K4JHG#7YfsbH%8jO(6QO?>1;M1i-^ z8!0J|#B(Nk5D#exA^y3e7KS^G42>NWe;bp0&zHo+uAw=C+jBU#=kRXN?P2h*9vqmf z!C=kov$sXbO?*+Ex$jMo@gNpe!((D0@chp@{^#8?u>X0r&j0mhq1797;<1;7;{=kL Q5cu<0K@C \ No newline at end of file diff --git a/yammer/index.js b/yammer/index.js new file mode 100644 index 0000000..258da41 --- /dev/null +++ b/yammer/index.js @@ -0,0 +1 @@ +module.exports = Franz => Franz; diff --git a/yammer/package.json b/yammer/package.json new file mode 100644 index 0000000..b7ebc8e --- /dev/null +++ b/yammer/package.json @@ -0,0 +1,23 @@ +{ + "name": "Yammer", + "version": "1.0.0", + "description": "Yammer", + "main": "index.js", + "author": "Sally Young ", + "license": "MIT", + "config": { + "serviceURL": "https://www.yammer.com/login", + "serviceName": "Yammer", + "message": "", + "popup": [], + "hasNotificationSound": false, + "hasIndirectMessages": false, + "hasTeamID": false, + "customURL": false, + "hostedOnly": false, + "webviewOptions": { + "disablewebsecurity": "" + }, + "openDevTools": false + } +} diff --git a/yammer/webview.js b/yammer/webview.js new file mode 100644 index 0000000..8d854de --- /dev/null +++ b/yammer/webview.js @@ -0,0 +1,3 @@ +module.exports = (Franz, options) => { + +} From 35ebec407348c685a8060e11cafad84364f69a76 Mon Sep 17 00:00:00 2001 From: Sally Young Date: Fri, 12 May 2017 16:19:23 +0100 Subject: [PATCH 2/3] Add badge count for Yammer --- yammer/webview.js | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/yammer/webview.js b/yammer/webview.js index 8d854de..0e07c3c 100644 --- a/yammer/webview.js +++ b/yammer/webview.js @@ -1,3 +1,24 @@ module.exports = (Franz, options) => { - + const getMessages = () => { + // get unread messages + const count = $('.yj-thread-list--new-message-text').text(); + const regex = /Click to see (\d+) new/g; + if (count) { + let m; + while ((m = regex.exec(count)) !== null) { + // This is necessary to avoid infinite loops with zero-width matches + if (m.index === regex.lastIndex) { + regex.lastIndex++; + } + + // The result can be accessed through the `m`-variable. + if (typeof m[1] !== undefined) { + Franz.setBadge(m[1]); + } + } + } + }; + + // check for new messages every second and update Franz badge + Franz.loop(getMessages); } From 82bb8f4e150530a0818645d1493af707366a3c34 Mon Sep 17 00:00:00 2001 From: Sally Young Date: Mon, 15 May 2017 17:42:41 +0100 Subject: [PATCH 3/3] Fix badge count once the new message link is clicked --- yammer/webview.js | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/yammer/webview.js b/yammer/webview.js index 0e07c3c..c705daf 100644 --- a/yammer/webview.js +++ b/yammer/webview.js @@ -1,22 +1,21 @@ module.exports = (Franz, options) => { const getMessages = () => { - // get unread messages - const count = $('.yj-thread-list--new-message-text').text(); + const countText = $('.yj-thread-list--new-message-text:visible').text(); const regex = /Click to see (\d+) new/g; - if (count) { + let newMessageCount = 0; + if (countText && countText.length) { let m; - while ((m = regex.exec(count)) !== null) { - // This is necessary to avoid infinite loops with zero-width matches + while ((m = regex.exec(countText)) !== null) { if (m.index === regex.lastIndex) { regex.lastIndex++; } - - // The result can be accessed through the `m`-variable. if (typeof m[1] !== undefined) { - Franz.setBadge(m[1]); + newMessageCount = m[1]; } } } + + Franz.setBadge(newMessageCount); }; // check for new messages every second and update Franz badge