vladimiry / ElectronMail

Unofficial ProtonMail Desktop App
GNU General Public License v3.0
1.48k stars 96 forks source link

What does the yellow dot mean ? #655

Closed iTrooz closed 7 months ago

iTrooz commented 7 months ago

Hey ! I'm currently constantly seeing a yellow dot in the ElectronMail tray icon: image

I have no idea what it means or how to remove it, and I don't see anything in the ProtonMail UI that requires my attention (no popups, no new messages..)

I've tried to delete ~/.config/electron-mail, and this removed it for a little while, but just now it reappeared again

What does the yellow dot mean, and how to remove it ? Thanks !

vladimiry commented 7 months ago

The yellow dot hints to at least one locked mail account. The one you didn't logged in. The feature can be turned off in the settings.

111

iTrooz commented 7 months ago

Oh, thanks !

That said, I only have one account, and I'm logged in. I'll try to investigate

iTrooz commented 7 months ago

I tried to compile the project using the instructions in the README, but every time I run pnpm run app:dist or pnpm run electron-builder:dist:linux:pacman, the command takes ~2mins to execute, making it very hard for me to test changes.

Is there a way to compile the project more quickly to be able to iterate changes more easily ?

vladimiry commented 7 months ago

2 mins is not a lot compared to my current hardware. Currently, there is no other way to speed up the process than getting more performant hardware. Web part of the project supported hot reloading before, but I didn't get it back yet.

vladimiry commented 7 months ago

Actually, to run it, you don't need to every time pack it using electron-builder:dist:linux:pacman. When you're done with building, use pnpm start:electron command to start it, which is an alias for electron ./app/electron-main/index.cjs.

vladimiry commented 7 months ago

Also, the built files in ./app folder are not minimized nor packed. So, to test small changes, you could directly edit those files.