Commit graph

33 commits

Author SHA1 Message Date
Yuya Ochiai 56e8b4fe9a Show "Hide menubar" option on Linux 2016-01-23 21:33:50 +09:00
Yuya Ochiai 2e4a330b2d Merge pull request #12 from mid0111/topic-active-channel-badge
Count for active channel only when window is not focused.

Manually merged.
2016-01-23 21:12:15 +09:00
Tatsuya Niwa a847a0ad80 fix Badge * mark at tab. 2016-01-22 00:56:17 +09:00
Tatsuya Niwa dc10546596 fix Badge * mark 2016-01-21 22:05:34 +09:00
mid0111 ec9c8ad2cd Fixed bug due to refactoring. 2016-01-19 13:15:24 +09:00
mid0111 9438358817 Changed to count unread count of active channel from the desktop notification event. 2016-01-19 12:43:32 +09:00
mid0111 306d383994 Merge branch 'master' of https://github.com/yuya-oc/electron-mattermost into topic-active-channel-badge 2016-01-19 12:36:33 +09:00
Tatsuya Niwa d4cc42299c delete debug code. 2016-01-19 11:20:06 +09:00
Tatsuya Niwa 611c205d23 Show mention count badge and unread * badge. 2016-01-19 10:53:17 +09:00
mid0111 930bce9a14 Remove unnecessary class name. 2016-01-15 06:50:31 +09:00
Yuya Ochiai ea33fc5c58 Avoid hide-menubar functions when saving config except on Windows 2016-01-15 00:20:17 +09:00
Yuya Ochiai 54f7eb3657 Fix some error cases when the number of teams is zero
* There is no config.json
* config.teams.length === 0
2016-01-14 23:27:37 +09:00
Yuya Ochiai 267d0e3ded Show menubar in default setttings on Windows, and add the option to hide 2016-01-14 22:50:12 +09:00
mid0111 c5f9ca19ce Count for active channel only when window is not focused. 2016-01-14 22:31:03 +09:00
Yuya Ochiai d6afda37f2 Remove 'focus' event listener when leaving from index.html 2016-01-14 21:51:06 +09:00
Yuya Ochiai 1cc68197d2 Hide tabs when the number of teams is 1 2016-01-13 22:34:51 +09:00
Yuya Ochiai f2209aa9dd Keep focus on webview after switching to main window
When switching window focus, webview lost its focus. Please refer to #10
2016-01-12 21:37:34 +09:00
Yuya Ochiai e53a43d17a Use primitive and promise-style test cases
On OS X, tests for multiple elements often failed (#5). So I replaced them with primitive way.
2016-01-10 00:54:32 +09:00
Yuya Ochiai 3e300c78d6 Show badges when active channels have new messages 2016-01-06 22:15:35 +09:00
Yuya Ochiai 777aab9b11 Fix jp_fonts for mattermost 2015-12-27 17:06:14 +09:00
Yuya Ochiai 3d8d39562f Add simple tests for settings.html 2015-12-27 16:12:20 +09:00
Yuya Ochiai f3d668f4a0 Remove old codes 2015-12-24 00:29:42 +09:00
Yuya Ochiai 7fb2dc9cb6 Add tests for tabs 2015-12-23 20:53:54 +09:00
Yuya Ochiai 62b6e4c51b Fix for failed tests 2015-12-23 19:25:14 +09:00
Yuya Ochiai d010d09ef4 Add context menu for cut, copy, paste, select all 2015-12-23 17:55:39 +09:00
Yuya Ochiai f57e2a94ef Just focus mainWindow when notification is clicked on Windows
BrowserWindow.show() breaks Aero Snap state.
2015-12-23 17:42:59 +09:00
Yuya Ochiai 69a1c177a1 Switch to the team when notification is clicked 2015-12-23 17:16:53 +09:00
Yuya Ochiai 762c4dbbac Show unread badge on application icon 2015-12-23 17:06:17 +09:00
Yuya Ochiai 390c67a7fd Show unread count badge for each tabs 2015-12-23 16:21:33 +09:00
Yuya Ochiai c016c03741 Port core features from index.js (Open link, Unread count, Font) 2015-12-23 15:53:34 +09:00
Yuya Ochiai 7f8ba9fd56 Use config file to show multiple teams 2015-12-23 01:37:28 +09:00
Yuya Ochiai e381a89cd5 Adapt to rearranged directories 2015-12-22 23:35:22 +09:00
Yuya Ochiai 1be5077ebe Rearrange directories 2015-12-22 23:29:33 +09:00