* 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>
* [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>
* 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
* 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>
* [MM-60605] Fix missing downloads/developer mode icon hidden on Linux and Windows
* Disable for mac
* Fix lint
* Fix misalignment on Windows
* "fix" linux
* Return to inline version, ignore Linux
* Add developer mode manager, implement browser-only mode
* Add indicator when developer mode is enabled
* Add switch to disable notification storage
* Add setting to disable the user activity monitor
* Add switchOff method for easily creating switches to disable/enable functionality, added setting to disable context menu
* Add setting to force legacy API
* Add force new API to remove any support for legacy mode, fix i18n
* Fix lint
* Use one call to `push`
* [MM-54863] Add permissions manager UI in Edit Server modal, improve permission checks to be less missable
* Removing this for E2E (which was having issues anyways)
* PR feedback
* Disable permissions dialog for current E2E tests
* Fixed the dark mode CSS
* Update icon
* Some ESLint fixes
* Add login/logout signal to API, clear mentions on logout and flush cookies on login/logout
* Fix issue where local and HTTP-only servers would not validate correctly
* Reduce noise of renderer logging, adjust a few local renderer logs to be louder when needed
* Fallback to beginning of hostname for servers that don't change the site name
* Fix Save Image crash
* Update the name for insecure servers too
* Fix test
* Fix lint
* Reduce repetition
* Rename MattermostTeam -> UniqueServer, MattermostTab -> UniqueView
* Rename 'team' to 'server'
* Some further cleanup
* Rename weirdly named function
* Rename 'tab' to 'view' in most instances
* Fix i18n
* PR feedback
* Migrate app to ServerManager, remove view names and replace with IDs
* Fixed a test
* Fixed a bug when adding the initial server
* Merge'd
* Bug fixes and PR feedback
* Implement ServerManager, introduce id concept for identifying servers/views
* REVERT ME (eventually): Move back to old logging
* PR feedback
* PR feedback
* Revert "REVERT ME (eventually): Move back to old logging"
This reverts commit 46954a5bbed4dd29e89ca9d5217bb75af2837bb3.
* Merge'd
* Use the correct method for Logger in ServerManager
* Migrate intl_provider to contextBridge
* Migrate modalPreload to contextBridge
* Migrate loadingScreenPreload to contextBridge
* Migrate downloadDropdown preloads to contextBridge
* Migrate server dropdown preload to contextBridge
* Migrate urlView preload to contextBridge
* Merge all desktop API scripts into one
* Remove unused communication channel constants