-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Protonmail 4.0 support #210
Comments
The clarification point is that there is no goal of getting back the https://beta.protonmail.com / live / online entry point but having v4 webclient code prepackaged with the app. |
How soon are we looking at seeing a 4 beta usage release? I'm very much looking forward to their apparent commitment to a native dark theme. |
I'd like them to add something new to functionality, like calendar thing. Right now it seems to be only the theming stuff. Besides supporting https://beta.protonmail.com/ involves maintenance burden increasing as I prefer not to support live/https://beta.protonmail.com web client but only prepackaged/embedded in the app. So I hope at the time they add new functionality to v4 they will have moved it to the primary domain. This would allow me to focus on supporting only the primary domains/version. The next app release will be 4.0.0, possibly today. The major version since Tutanota support gets dropped. |
The calendar went live today in beta mode but the respective client-side code is not available yet, see ProtonMail/WebClients#166 (comment). So I can't start experimenting yet. |
I'm considering to enable |
If someone wants to try the first version with prepackaged ProtonMail v4 web interface, you can take here the |
That's great this was fast, I'm happy to give it a try and I'm looking forward to using the new calendar. |
Just tested the link, seems to be downloadable. When downloaded check the sha1sum, should be:
https://ci.appveyor.com/project/vladimiry/electronmail/build/job/15ryvpx78ala5ek0#L1529 (line 1529) |
I think I've noticed the issue with calendar if running the above-provided app package. When you create/edit the event it requires the page reload to see the update (changing the page to mail/settings/contacts and getting back to calendar then) but the change should be displayed on the page without the page refresh like I can see it running https://beta.protonmail.com in a browser (it should process the events reduced from https://domain/api/events/*). I've debugged the stuff a little and noticed that protonmail api doesn't put the calendar-related events to https://domain/api/events/* response if calendar is used from inside the app, so the calendar, if used from the app, doesn't see the on-the-fly update which is a bad thing. So far it's unclear what causes those events being missed. I better enable https://beta.protonmail.com/ domain in the app which I didn't do yet and then I should try the calendar on beta API entry point since protonmail, for now, supports the calendar on beta domain only (though it works on primary domains too, at least partially). |
BTW, you might want to link users up to some nice full dark themes that have been made for version 4 (found on reddit): |
Thanks for the link, theming is a low priority at the moment. |
I understand - just saying a link on github itself might be useful or such. It appears that PM themselves are working on a dark theme: https://www.reddit.com/r/ProtonMail/comments/edes53/protonmail_themes_fixes_to_dark_mode_and_full/fbqhqws/ Just a tweak on the left side accounts white bars to bring it into the neutral zone could help this release markedly. I don't think there's a reason to have them at such high contrast levels. |
I just tried using https://beta.protonmail.com in the app and the issue with the calendar is still there. So it's either I missed something building the calendar package and putting it in the app as a static resource or we build it from different code sources. |
Yep they currently run 4.0.0-beta7 / 01557780595cd492e42ade9a388059c59b13fc42 on https://beta.protonmail.com/ which they didn't publish yet https://github.com/ProtonMail/WebClient/commits/v4 So we use 4.0.0-beta6 / ProtonMail/WebClients@45cd0e4 in the app: ElectronMail/src/shared/constants.ts Lines 65 to 66 in d1c6c2b
So I will need to test the 4.0.0-beta7 in the app when they publish the update in the repository. Although it's a mail client version but the calendar is a different app. |
I just tried to run a regular webserver (like |
Ok, I figured what was causing the |
Just opened a respective issue #229. |
Updated build with the calendar issue fixed has been uploaded here. I think we got closer to v4.1.0 release with this build. @ylluminate, you will notice that the account handle buttons became less contrasted with that build, hope you like it more this time. Regarding theming change, I missed to handle the following minor items but it's now in my internal TODO list so won't be missed when release is ready:
Besides that, I moved assembling the macOS package from Travis CI to Appveyor. Using Appveyor is more convenient for me and the ultimate goal is to completely get rid of Travis CI use. But anyway this should not affect the end-users. If someone needs checksums and build logs for the above-referenced work-in-progress packages
|
If someone has not noticed yet ProtonMail Web Interface/Client v4 consists of 4 individual single-page applications (SPA), read it like 4 HTML pages instead of one. Settings/Contacts/Calendar are React-based SPAs but Mail one is still based on AngularJS. It's clear though that they have been working on React-based Mail SPA, see some progress here. So when they replace the currently used Mail app with a new one even just to keep the current ElectronMail functionality some work will be required like rewriting the integration layer from interacting with AngularJS to React. So it's 4 HTML pages now. In my opinion, it badly affects the UX but I understand splitting functionality to the individual projects was a simpler way to move forward with rewriting the old stuff to a somewhat new/better-scalable stack and also I guess to a model of maintaining the projects in parallel by different teams. Besides they probably aim to ship some of these projects as individual offers, so you get a Calendar app for the instance but not the Mail one. The thing is when you leave the Mail page you literally switch to another application with its own functionality, ie you lose the "mail" context. This is how they designed it. But I think since we are not limited by browser capabilities on the desktop I could load a second/hidden page and use it as a bridge for communication with the app (maybe the Calendar page itself for a start or minimal compiled proton-APIs-aware-like page designed for integration purposes only). So then even when for the instance you leave the Mail page, the app still would be able to sync the message events, sync the calendar events (not there yet), provide in-time/live notifications and do other needed stuff in the background regardless of which page of 4/Settings/Contacts/Calendar/Mail you have open at the current moment. That would enable a more consistent UX on the desktop than you get using v4 interface in the browser. But it also means complicating the implementation. Maybe this kind of work will be started as a part of #229, even before they switch the currently deployed AngularJS-based Mail app to a new one. |
ProtonMail Version 4.0-beta Web UI support released in https://github.com/vladimiry/ElectronMail/releases/tag/v4.2.0. |
v4 is currently in early beta and as far as I understant there are no new features enabled yet but only the partial visual redesign and complete code rewrite have been conducted. So I'm going to wait for a while until v4 gets stabilized. The plan is to keep both v3 and v4 webclients available here in the app until v3 gets deprecated by the service provider.
The text was updated successfully, but these errors were encountered: