Commit Graph

1457 Commits

Author SHA1 Message Date
Devin Binnie
ecf47e25b7 [MM-64617] Add enter key press handler to each of the modals (#3463) 2025-07-21 09:23:03 -04:00
Devin Binnie
af7009535d [MM-56389] Switch to registry-js native module for Windows registry reading (#3460) 2025-07-18 10:42:44 -04:00
Devin Binnie
7f91463c58 [MM-64867] Upgrade to Electron v37.2.2, some other package changes (#3462) 2025-07-18 10:41:16 -04:00
thatguy
7c9f6ff32c In-App Links in Channel's Bookmarks (#3454)
* Enhance mattermost:// protocol handling for in-app links

- Add isMattermostProtocol() helper function to identify mattermost:// URLs
- Update webContentEvents to handle mattermost:// links through internal deep linking
- Ensure mattermost:// links in bookmarks open within the app instead of external dialog
- Maintain existing custom protocol dialog for other non-http/https protocols

This improves the user experience by allowing mattermost:// bookmarks to navigate
directly within the desktop app without prompting external application dialogs.

* Fix trailing spaces linting error

---------

Co-authored-by: Dmitry Spasskiy <dmitry.spassky@raiffeisen.ru>
2025-07-08 15:23:59 -04:00
Harrison Healey
9d26b01ef5 MM-62005 Change UrlView to always stay mounted (#3453)
* MM-62005 Change UrlView to always stay mounted

* Rename message for URL view and corresponding methods

* Change log level
2025-07-04 09:37:13 -04:00
Devin Binnie
896e020583 Fix zoom-in shortcut to work with numpad + (#3444) 2025-06-03 09:07:00 -04:00
Devin Binnie
742862e9a2 [MM-62005] Use ready-to-show event for focus workaround for URL view (#3429)
* [MM-62005] Use `ready-to-show` event for focus workaround for URL view

* Fix checks
2025-05-22 15:27:38 -04:00
Devin Binnie
2879ada39a [MM-64355] Disable server management in the Settings Modal when disabled via group policy (#3430)
* [MM-64355] Disable server management in the Settings Modal when disabled via group policy

* Fix to disallow deleting predefined servers

* Fix lint
2025-05-22 08:14:48 -04:00
Devin Binnie
f9b13e39fa Fix tasbar/dock translations (#3410) 2025-05-12 09:10:27 -04:00
Devin Binnie
4848b9768c [MM-63899] Stop blocking of server loading on contact with each configured server (#3409) 2025-04-29 12:35:36 -04:00
Devin Binnie
54874ecaca [MM-63842] Upgrade to Electron v35.2.0 (#3398) 2025-04-22 13:15:54 +00:00
j0794
4ec27f3e7c Fix issue with media permissions on Linux (#3355) 2025-03-13 12:58:14 -04:00
Devin Binnie
eeddb8f897 [MM-63399] Add a changelog link for when the app auto updates (#3371)
* [MM-63399] Add a changelog link for when the app auto updates

* PR feedback

* PR feedback
2025-03-12 16:54:37 +00:00
Devin Binnie
ffd1804b0d Fix an issue where the incompatible server check defaults to show the screen when the server info is not present (#3365) 2025-03-05 09:40:55 -06:00
Devin Binnie
d33e6d9ecb [MM-63265] Use constants for modal keys (#3360) 2025-03-04 10:01:30 -06:00
Devin Binnie
1f4e1e0015 [MM-62448] Remove react-bootstrap, bootstrap and dependencies (#3358) 2025-02-27 18:27:03 -05:00
Devin Binnie
5d7374971c [MM-61717] Refresh Settings Modal without Bootstrap (#3337)
* [MM-61717] Refresh Settings Modal without Bootstrap

* Fix i18n

* Couple small bug fixes

* E2E test updates

* Fix linux tests

* PR feedback

* PR feedback

* PR feedback

* Fix the border opacity and height

* PR feedback

* PR feedback 2
2025-02-27 20:51:49 +00:00
Devin Binnie
a4019ddd72 Reload server info on retry (#3356)
* Reload server info on retry

* test
2025-02-27 14:55:57 +00:00
Devin Binnie
6fa5508588 [MM-63224] Add incompatible server screen (#3348)
* [MM-63224] Add incompatible server screen

* Fixed issue where init isn't called on no server case

* Amend check
2025-02-21 10:17:49 -05:00
Devin Binnie
097dcfab75 Fix missed props destructure (#3344) 2025-02-18 11:21:14 -05:00
Devin Binnie
4d754efdd7 [MM-61716][MM-62643] Introduce Modal component, remove bootstrap and react-bootstrap from most modals, update styles (#3317)
* Introduce Modal, add some styles from the webapp

* Remove bootstrap from LoadingScreen/WelcomeScreen

* Migrate add/edit server modal to Modal, remove bootstrap

* Migrate remove server modal to Modal, remove bootstrap

* Migrate certificate modal to Modal, remove bootstrap

* Migrate login and permission modals to Modal, remove Bootstrap

* Misc fixes

* E2E tests for current modals

* Update src/renderer/components/Modal.tsx

Co-authored-by: Daniel Espino García <larkox@gmail.com>

* Update src/renderer/components/Modal.tsx

Co-authored-by: Daniel Espino García <larkox@gmail.com>

* PR feedback

---------

Co-authored-by: Daniel Espino García <larkox@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-02-18 15:58:28 +00:00
yasser khan
d9967f30b0 Fix(e2e): E2E report should be available in the community channel. (#3305) 2025-02-14 15:30:03 +05:30
Devin Binnie
face4096f1 [MM-62781] Wait for nonce before requesting info that will update the server dropdown component (#3320) 2025-02-12 09:27:44 -05:00
Devin Binnie
1d912caa4e [MM-62094] E2E: Don't including loading screen or other windows in server map, remove check for loading screen finish (#3252) 2025-02-04 11:15:22 +05:30
Devin Binnie
6c17001e76 [MM-62581] Prevent URL view from ever taking focus by always returning focus to the current server view (#3303) 2025-01-31 10:31:47 -05:00
Devin Binnie
17300dfd4a [MM-62724] Refresh error page screen to match branding, remove react-bootstrap (#3300)
* [MM-62724] Refresh error page screen to match branding, remove react-bootstrap

* Fix links on error page to open externally

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-31 10:26:24 -05:00
Devin Binnie
d7d851a480 [MM-62787] Fix warning state color on welcome screen URL input (#3306) 2025-01-31 09:32:02 -05:00
Devin Binnie
f070b7068e [MM-62650][MM-62651] Remove bootstrap/react-bootstrap from TabBar, MainPage (#3292) 2025-01-30 15:37:05 -05:00
Devin Binnie
47cea9a217 [MM-62709] Patched electron-context-menu to use WebContentsView, avoid using electron-dl (#3291)
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-30 15:36:11 -05:00
Devin Binnie
c3657c6318 [MM-62652] Replace Button from react-bootstrap with button (#3295) 2025-01-28 08:45:35 -05:00
Devin Binnie
8f151562b5 [MM-62741] Fix loading screen flash between transitions (#3296) 2025-01-28 08:09:53 -05:00
Devin Binnie
9ecd139abf [MM-62649] Switch DeveloperModeIndicator over to floating-ui (#3294)
* [MM-62649] Switch DeveloperModeIndicator over to floating-ui

* Fix test
2025-01-28 08:04:48 -05:00
Devin Binnie
0bbf4ef595 [MM-62670] Update cert issue error message (#3286) 2025-01-23 09:01:43 -05:00
Claudio Costa
34932dfa06 Expose Desktop API in Calls popout window (#3258) 2025-01-20 12:26:02 -05:00
Devin Binnie
34b5f52f0c [MM-62232] Update loading and welcome screens, theming fixes (#3279)
* Replace images with new SVG components, replace backgrounds

* Add Denim and Onyx themes, fix associated themeing issues

* Add back elevation variables

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-13 14:42:27 +00:00
Devin Binnie
f64e9ab048 [MM-62395] Don't attempt to set boundaries for a window that is no longer attached (#3278)
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-08 14:56:05 +00:00
Claudio Costa
f418475272 [MM-62205] Dynamically toggle widget window visibility when popout opens/closes (#3253)
* Dynamically toggle widget window visibility when popout opens/closes

* Improve method naming
2024-12-17 15:57:58 -06:00
Claudio Costa
c2bfeade4d Calls: switch tab on actions requiring focus (#3235) 2024-12-13 15:11:08 -06:00
Devin Binnie
1894d8a6c6 [MM-61821] Automatically allow permission checks for supported permission types through for GPO configured servers (#3231)
* [MM-61821] Automatically allow permission checks for supported permission types through for GPO configured servers

* Fix lint

* Fix tsc
2024-12-03 16:55:13 -05:00
Devin Binnie
723fda8abb [MM-37379] Add "Clear Data" options in the menu to allow users to force Electron to blow away session data. (#3185)
* [MM-37379] Add "Clear Data" options in the menu to allow users to force Electron to blow away session data.

* Fix i18n

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-11-26 15:03:25 +00:00
Devin Binnie
057572e847 [MM-61919] Wrap potential crash in try/catch for thumbnails, fall back to createFromPath (#3224)
* [MM-61919] Wrap potential crash in try/catch for thumbnails, fall back to `createFromPath`

* Fix lint
2024-11-26 08:11:57 -05:00
Devin Binnie
513a7e0a86 [MM-56795] Improve help options in the Help menu (#3216)
* [MM-56795] Improve help options in the Help menu

* Fix i18n

* Remove extra separator
2024-11-22 10:18:38 -05:00
Devin Binnie
fad05fd774 [MM-61864] Fix issue where the app will not restore when opened again from cold, fix issue where deep linking from cold didn't work on Linux (#3214)
* [MM-61864] Fix issue where the app will not restore when opened again from cold, fix issue where deep linking from cold didn't work on Linux

* Update src/main/app/initialize.ts

Co-authored-by: Maria A Nunez <maria.nunez@mattermost.com>

---------

Co-authored-by: Maria A Nunez <maria.nunez@mattermost.com>
2024-11-19 16:38:13 -05:00
Devin Binnie
8aa0b86c7a [MM-22555] Auto-fill server URLs when deep linking into the Desktop App and the server isn't configured (#3200)
* Allow deep linking to non-configured servers by auto filling the modal

* Fall back to base URL if URL with path name does not work

* Allow deep linking directly into a new server with a permalink

* Support welcome screen/no server case

* Some cleanup
2024-11-18 14:08:00 -05:00
Devin Binnie
453965c964 [MM-53799] Stop autocompleting while the user is typing https:// (#3202)
* [MM-53799] Stop autocompleting while the user is typing `https://`

* PR feedback

* Fix casing issue
2024-11-13 17:05:24 +00:00
Devin Binnie
1fe94eb167 Fixed issues with loading the app from cold when deep linking (#3201)
* Fixed issues with loading the app from cold when deep linking

* Don't call show() before the window is created on Windows
2024-11-13 10:46:32 -05:00
Andrey Sokolov
cd2d5e817f Directory can have spaces in its name (#3198) 2024-11-12 08:04:34 -05:00
Devin Binnie
03dcd86a5a [MM-60080] Fixed the MAS migration from the DMG build, fixed a potential crash case (#3186)
* [MM-60080] Fixed the MAS migration from the DMG build, fixed a potential crash case

* Merge'd
2024-11-04 10:54:46 -05:00
Tsarkov Maksim
ebbee6da5d Fix: Adjust dropdown menu item layout for better text fitting (#3159)
- Updated the styling of `.DownloadsDropdownMenu__MenuItem` to improve text fitting and prevent text overlap.
2024-11-04 09:12:30 -05:00
Devin Binnie
5fccd0f837 [MM-59823] Migrate BrowserView to WebContentsView (#3177)
* Migrate to WebContentsView from BrowserView

* A bit of cleanup, stop holding reference to the loading screen

* Fix tests

* Fix i18n

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-10-30 09:05:51 -04:00