Commit Graph

70 Commits

Author SHA1 Message Date
Devin Binnie
4f104c93c5 [MM-23153] Fixed the issue where back/forward navigation not in the main window causes the app to crash (#1248)
* [MM-23153] Force the back/forward buttons to only work with the main window

* Revert "[MM-23153] Force the back/forward buttons to only work with the main window"

This reverts commit 9db159dbb9c6b08887492f44f5d1a7bd0df55517.

* Just fix the bug
2020-04-01 14:08:00 -04:00
Dean Whillier
e00f803fd3 [MM-22618] Reorder tab menu items to match tab order (#1198)
* reorder tab menu items to match tab order

* now reorder menu items on tray icon
2020-02-18 09:49:21 -05:00
Guillermo Vayá
3c35767df5 [MM-22150] Add default accelerators (#1183) 2020-02-10 12:35:13 -08:00
Devin Binnie
932ddafdb0 [MM-10586] Desktop App Window/Tabs Update (#1056)
* [MM-19054] Added new server tab look and feel, still missing proper hover states and session expired icon

* [MM-19055] Added window controls and removed border for macOS

* [MM-19055] Add dark mode for macOS

* [MM-19054] Added session expired icon

* Test windows titlebar

* Fixed the menu issue and added non-macOS dark mode

* Blank commit

* Fixed a lint issue

* Fixed more lint issues

* Fixed more issues

* New tray icons

* [MM-19603] Drag and drop tabs

* Fixed some assets and fixed build output to include missing assets

* Fixed a couple small issues

* Only show tabs for only 1 server on Mac

* Fixed some more tests

* Fixed another test

* Revert "Fixed another test"

This reverts commit 36040294a71a68663d06996d71eecc5ed23d7014.

* Fixed another test

* Trial and error!

* A bunch of additional fixes

* Fixed a lint issue

* Fixed restore focus on add server tab causing bad UX

* Trial and error on flaky test again

* Fixed some bugs based on PR feedback.

* blank commit to push tests

* Revert "Test windows titlebar"

This reverts commit 9cd46b71b1427b75942434ac49185870d2437b85.

* Remove the rest of the old new titlebar and fixes

* Added three-dot link

* New menu

* Rest of new windows menu and other fixes

* Fixed lint errors

* Added windows 10 style title bar buttons for non mac OS

* Lint fixes and enabled the tab bar regardless of number of servers

* Missed one

* Fixed unicode characters

* Commenting out test that should no longer be applicable

* Removed Windows 10 style titlebar icons and used material design instead

* Fixed a lint issue

* Some small UX fixes

* blank commit

* Fixed an issue where dropping the first tab moves it too far over before snapping into place

* Additional style fixes

* Another small issue fix

* Back to Windows 10 style

* Lint fixes

* Accessible three dot menu

* Lint fixes

* Shrinking tabs when window is too small

* Gradient between tabs and title bar buttons when window is too small

* Add drag to gradient

* Replaced icons, drag and drop cursor sticking fix, slight tab change

* Lint and some mac fixes

* Light theme fix to three dot menu

* Hack for tab sticking to cursor on macOS

* Fixes for the find utility

* Fix for Catalina dark mode

* Revert "Fix for Catalina dark mode"

This reverts commit 45da05dd0f17f46efd1c53fafb92e9c1fd9dd8d9.

* Fixed a couple issues Dean found

* More fixes

* Three dot hover effect to circle

* PR feedback

* Test fixes

* Test and config fixes

* Disable dragging when there are GPO servers

* [MM-20757] Fixed dark mode on debug when running macOS Catalina

* Allow future config versions to use v2 config if launching this version of the app

* Oops

* New titlebar icons, blur for titlebar on inactive

* Lint fix

* Set unfocused opacity to 0.4

* Final FINAL icons

* Fixed closing menu not returning focus to the app

* Lint fix

* Update src/browser/components/TabBar.jsx

Co-Authored-By: Guillermo Vayá <guivaya@gmail.com>

* Update src/main/Validator.js

Co-Authored-By: Guillermo Vayá <guivaya@gmail.com>

* Lint fixes

* Moved react-smooth-dnd fork to MM org and fixed another merge issue

Co-authored-by: mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
2020-01-03 12:00:43 -05:00
Dean Whillier
81c32c2d8c Manually handle misbehaving keyboard shortcuts (#1092)
* manually handle misbehaving keyboard shortcuts

MM-19198
MM-19032

includes zooming, redo/undo & copy/cut/paste for good measure

* manually handle misbehaving menu items

* bump electron minor version

* remove temp log import

* update context menu package version
2019-10-28 11:27:59 -04:00
Dean Whillier
24fdd05860 Change help menu shortcut on Windows (#1048) 2019-10-03 12:19:11 -04:00
Dean Whillier
99fae82514 [MM-18551] Remove (auto)updater from v4.3 (#1035)
* remove (auto)updater from v4.3
2019-09-16 13:08:45 -04:00
steevsachs
e6acdf387c [MM-11896] Do not use minimize shortcut on win32 (#971) 2019-07-02 15:09:39 +02:00
Dean Whillier
4137d0ea23 [MM-14740] Consolidate configuration to support integration of MSI/GPO (#959)
* config logic consolidation

* filter out duplicate servers

* build default teams and GPO teams are not editable

* tweaks

* tweak config architecture to support tests

- config needs to load in each process (main and renderer) and then synchronize with each other
- finished saving ui functionality

* add esdoc comments to new config module

* remove old config-related files

* revert eslint comment

* don’t filter teams, duplicates are allowed

* some code review tweaks

* Remove unecessary deepCopy

* tweak for tests

* Skip test for now

Can’t seem to get this test to work, even though what is being tested works fine in the actual app.

* fix for failing test

click of ‘light’ option wasn’t triggering an update as it is selected by default, so flipped the order to first select ‘dark’ and then ‘light’
2019-04-11 13:58:30 +02:00
Romain Maneschi
1ef2108756 add a menu to open dev tools for current webview 2019-02-07 00:23:25 +01:00
Yuya Ochiai
ccdfbae3b2 Merge remote-tracking branch 'mattermost/master' into auto-updater 2018-10-16 00:28:47 +09:00
Yuya Ochiai
d73f98825e Apply no-var eslint rule 2018-09-03 21:41:04 +09:00
Yuya Ochiai
0bec4ab5a3 Add enableAutoUpdater to buildConfig 2018-08-02 22:09:09 +09:00
Yuya Ochiai
fb47c287d9 Tweak auto-updater flow 2018-08-02 22:09:09 +09:00
Yuya Ochiai
bccb8d26a6 Add "Check for Updates..." menu item 2018-08-02 22:09:09 +09:00
sudheer
e95c8cc3c5 Add CTRL+F shortcut to work as browser search
* Add new finder for each webview contents
2018-07-06 12:21:06 +05:30
Yuya Ochiai
37b71476d2 Fix ESLint header/header error 2018-05-31 00:30:24 +09:00
Yuya Ochiai
60e6058869 Use ES6 import/export for modules 2018-04-10 22:00:30 +09:00
Yuya Ochiai
197b172a59 Fix eslint errors 2018-02-23 00:37:24 +09:00
Jesse Hallam
620c5484e3 invoke yarn fix:js to adopt the updated eslint rules. No other changes are included. 2018-02-21 14:21:16 -05:00
Yuya Ochiai
878b5c1a42 Restrict adding a server even when the number of servers is zero 2017-11-07 22:20:33 +09:00
Yuya Ochiai
4abd72856f Move enableServerManagement key from defaultPreferences to buildConfig 2017-11-07 22:06:47 +09:00
Yuya Ochiai
3613f70a72 Simplify and split config.json into defaultPreferences and buildConfig 2017-11-07 21:42:05 +09:00
Chris Duarte
8c82685d46 add server management and multiteam settings 2017-11-01 12:45:33 -05:00
Yuya Ochiai
55c9104bd0 Merge pull request #612 from wvds/GH-512
Add Ctrl(+Shift)+Tab as alternative to switch between servers
2017-10-12 23:08:20 +09:00
David Meza
4f8af91f4d Hide help link if empty. 2017-10-11 11:53:49 -05:00
Jarred Witt
53014d48d2 Open help link from config 2017-10-11 11:53:49 -05:00
Wesley van der Sanden
eb5b760f70 Add Ctrl(+Shift)+Tab as alternative to switch between servers
Closes #512
2017-10-07 17:12:03 +02:00
Jason Blais
a94566c2c6 Change "team" references to "server" 2017-04-13 11:31:08 -04:00
Yuya Ochiai
1ab0859ac1 Stop using __dirname to avoid confusing 2017-03-06 23:43:27 +09:00
Yuya Ochiai
8c851f0896 Use http:// links when dev mode 2017-03-06 22:00:28 +09:00
Yuya Ochiai
c76797e68e Merge pull request #415 from jnugh/ux-manage-servers
Ux manage servers
2017-02-10 20:19:27 +09:00
Yuya Ochiai
11f79b3f11 Remove Ctrl+S shortcut for searching within a team
Close #416
2017-02-03 23:32:23 +09:00
Jonas Schwabe
d63fdccb00 Add Menu bar option to add a new team 2017-01-30 22:16:16 +01:00
Amine Mouafik
cbe2ca644c Add CTRL+SHIFT+MINUS as a shortcut for zooming out 2016-11-07 22:42:22 -08:00
Yuya Ochiai
16788b5a6f Fix eslint errors 2016-10-28 00:49:52 +09:00
Kolja Lampe
9557ca14bf Use default electron implementation for zoomin, zoomout and resetzoom
See: https://github.com/electron/electron/pull/6777
2016-10-12 21:39:58 +02:00
Yuya Ochiai
f96811e2c4 Merge pull request #295 from yuya-oc/disable-ctrl-shift-s
Disable search in current team `CTRL+SHIFT+S`
2016-09-20 01:43:26 +09:00
Yuya Ochiai
5b79384521 Disable search in current team CTRL+SHIFT+S
Due to #293
Revert when DM search works properly https://mattermost.atlassian.net/browse/PLT-91
2016-09-20 01:20:09 +09:00
Jason Blais
82408e8e29 Updates to menu bar
Proposed updates to menu bar:
 - Change 'Help > Mattermost Docs' to 'Help > Learn More' and link to newly submitted desktop docs on docs.mattermost.com [to be merged within the next 48 hours]
 - Change 'Settings' and 'Learn More' to include '...' as they open a new page. This is standard to other desktop apps
2016-09-19 09:21:56 -04:00
Yuya Ochiai
93e419b488 Add back/forward features for the current tab
Close #245
2016-09-10 00:13:08 +09:00
Yuya Ochiai
d19df3fc29 Merge pull request #273 from Razzeee/search
Move current search in channel function to Shift+CTRL+S

Close #270
2016-09-10 00:04:28 +09:00
Yuya Ochiai
aba5333d58 Merge remote-tracking branch 'yuya-oc/zoom-in-shortcut'
For #234
2016-09-09 20:28:18 +09:00
Kolja Lampe
1f5546a250 Move current search in channel function to Shift+CTRL+S
Add search in team

Closes #270
2016-09-04 23:56:17 +02:00
Yuya Ochiai
1317d27328 Modify CmdOrCtrl + shortcut as a hidden one 2016-09-03 19:06:39 +09:00
Kolja Lampe
b59f501a82 Some minor codestyle improvements due to jshint 2016-08-30 15:28:15 +02:00
Yuya Ochiai
e377d33652 Fill the search box with the current channel name at the shortcut
For #229
2016-08-21 16:07:26 +09:00
Yuya Ochiai
647e396fad Focus the search box on Ctrl/Cmd+F shortcut
For #229
2016-08-14 22:06:27 +09:00
Akash Nimare
e1a0c5adbf Enable zoom-in on CommandOrctrl + 2016-08-10 22:08:41 +05:30
Kolja Lampe
932f756570 Use the default electron roles and their naming/implemenation
See: https://github.com/electron/electron/pull/6190/files
2016-08-08 18:58:12 +02:00