whiteout-io / mail

[ABANDONED] Mail App with integrated OpenPGP encryption
https://whiteout.io
MIT License
545 stars 96 forks source link

[Feature Request] Support Subfolders #371

Open Mosrite opened 9 years ago

Mosrite commented 9 years ago

Hey, I think it would be great if Whiteout could handle IMAP subfolders. Right now every folder is treated as is was on the same level. Thanks for considering my suggestion!

felixhammerl commented 9 years ago

do you have a suggestions how to make this happen for both touch and pointer input?

Mosrite commented 9 years ago

I'm not a programmer so unfortunately I cannot contribute anything on coding level. But every modern email web interface and every andvanced Android email app can handle subfolders. You maybe wanna check out R2Mail2, an Android email app, which can handle PGP encryption, but also most regular email features, i.e. subfolders as well. I guess the easier approach (actually more like a workaround) would be to name subfolders "main folder/subfolder1/subfolder1.1", instead of just "subfolder1.1". The more sophisticated approach would be to just showing collapsed folders and expanding them when the user is clicking/tapping on them. I don't see why there should be a difference in the UI between touching and pointing.

Or did I get you completely wrong?

felixhammerl commented 9 years ago

my 2 cents:

expand collapse subfolders needs a ui element for interaction, which might be really tiny for pointer, but comparatively large for touch. touch also has very limited screen real estate, so that's not an option.

what we could do is visual demarcation of subfolders.

also order them by path, not by name. that is entirely possible, though. i wonder why i didn't do that in the first place :+1:

felixhammerl commented 9 years ago

alright, with https://github.com/whiteout-io/mail-html5/commit/39d19df187f2cf96ed363758bbfd9d198a640a7a folders will now be ordered according to their path, not their name. that orders subfolders below their parent folders.

Mosrite commented 9 years ago

R2Mail2 handles collapsing/expanding with a little + or - symbol. I only have a touch device and I find it neither too big or too small. I don't think there would be any issues with a pointer device. Thanks for implementing a solution so quickly! Maybe a possible approach would be to expand everything (kind of like it is right now) but indent subfolders a bit to the right?