[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>
This commit is contained in:
Devin Binnie
2025-02-18 10:58:28 -05:00
committed by GitHub
parent 34963cbaa8
commit 4d754efdd7
44 changed files with 1854 additions and 927 deletions

View File

@@ -146,6 +146,8 @@
"main.windows.mainWindow.minimizeToTray.dialog.checkboxLabel": "Don't show again",
"main.windows.mainWindow.minimizeToTray.dialog.message": "{appName} will continue to run in the system tray. This can be disabled in Settings.",
"main.windows.mainWindow.minimizeToTray.dialog.title": "Minimize to Tray",
"modal.cancel": "Cancel",
"modal.confirm": "Confirm",
"renderer.components.autoSaveIndicator.saved": "Saved",
"renderer.components.autoSaveIndicator.saving": "Saving...",
"renderer.components.configureServer.cardtitle": "Enter your server details",
@@ -200,8 +202,8 @@
"renderer.components.newServerModal.warning.notMattermost": "The server URL provided does not appear to point to a valid Mattermost server. Please verify the URL and check your connection.",
"renderer.components.newServerModal.warning.urlNotMatched": "The server URL does not match the configured Site URL on your Mattermost server. Server version: {serverVersion}",
"renderer.components.newServerModal.warning.urlUpdated": "The server URL provided has been updated to match the configured Site URL on your Mattermost server. Server version: {serverVersion}",
"renderer.components.removeServerModal.body": "This will remove the server from your Desktop App but will not delete any of its data - you can add the server back to the app at any time.",
"renderer.components.removeServerModal.confirm": "Confirm you wish to remove the {serverName} server?",
"renderer.components.removeServerModal.body": "This will remove the server from your Desktop App but will not delete any of its data - you can add the server back at any time.",
"renderer.components.removeServerModal.confirm": "Are you sure you wish to remove the server?",
"renderer.components.removeServerModal.title": "Remove Server",
"renderer.components.saveButton.save": "Save",
"renderer.components.saveButton.saving": "Saving",
@@ -266,12 +268,12 @@
"renderer.components.showCertificateModal.algorithm": "Algorithm",
"renderer.components.showCertificateModal.commonName": "Common Name",
"renderer.components.showCertificateModal.issuerName": "Issuer Name",
"renderer.components.showCertificateModal.noCertSelected": "No certificate Selected",
"renderer.components.showCertificateModal.notValidAfter": "Not Valid After",
"renderer.components.showCertificateModal.notValidBefore": "Not Valid Before",
"renderer.components.showCertificateModal.publicKeyInfo": "Public Key Info",
"renderer.components.showCertificateModal.serialNumber": "Serial Number",
"renderer.components.showCertificateModal.subjectName": "Subject Name",
"renderer.components.showCertificateModal.title": "Certificate information",
"renderer.components.welcomeScreen.button.getStarted": "Get Started",
"renderer.components.welcomeScreen.slides.calls.subtitle": "When typing isnt fast enough, seamlessly move from chat to audio calls and screenshare without switching tools.",
"renderer.components.welcomeScreen.slides.calls.title": "Start secure calls instantly",