Opened 8 years ago

Closed 5 years ago

#1267231 closed Feature Requests (fixed)

Folder list does not "collapse" heirarchy

Reported by: nobody Owned by: robin
Priority: 2 Milestone: 0.2-beta
Component: User Interface Version: None
Severity: minor Keywords:
Cc:

Description (last modified by thomasb)

When you have a heirarchy of folders, there is no
provision for collapsing them... I have a very long list and
this is pretty important.

Great looking client.

Attachments (3)

#1267231.200808271434.patch (6.2 KB) - added by robin 5 years ago.
#1267231.collapsed.png (205 bytes) - added by robin 5 years ago.
#1267231.expanded.png (184 bytes) - added by robin 5 years ago.

Download all attachments as: .zip

Change History (30)

comment:1 Changed 8 years ago by roundcube

Logged In: YES 
user_id=1262041

That's more a feature request than a bug... but a must-have
feature for any mail client, I know.

comment:2 Changed 8 years ago by markjanssen

Logged In: YES 
user_id=31552

And when this collapsing is inplemented it would be handy to
strip part of the name from the folder, so the named become
shorter. I now have this:

inbox
projects
projects.project1
projects.project2
projects.project3
projects.project3.urgent

etc etc... 

comment:3 Changed 8 years ago by dolittle

Logged In: YES 
user_id=116044

Checkout the solution for bug: 1307935, it might be the
answer you were looking for.

comment:4 Changed 7 years ago by thomasb

  • Milestone 0.1-beta2 deleted
  • Owner changed from roundcube to nobody
  • Status changed from assigned to new

comment:5 Changed 7 years ago by dahamsta

Bumping this as a feature I'd like to see too. I have 300+ mail folders in my local imap store. :)

comment:6 Changed 7 years ago by zyzzyvas

I must say this is VERY high on my wish list. I also have a TON of folders (at least 250), and the list is just freakishly long. Looking forward to some sort of dynamic tree view...

comment:7 Changed 7 years ago by steamshift

I would have thought that this would be relatively easy to implement, using simple CSS / JS; if the folders that had children had an extra class attached to them called 'parent' or something, I could probably knock something up pretty easily.

comment:8 Changed 7 years ago by sts

I don't know how it looks like ATM, since I didn't find the changeset. Just wanted to let you know of a nice example for css folding at max design:

http://www.maxdesign.com.au/presentation/folder-metaphor/#

comment:9 Changed 6 years ago by mkaatman

  • Type changed from Bugs to Feature Requests

comment:10 Changed 6 years ago by jpingle

  • Milestone set to 0.2-beta

comment:11 Changed 6 years ago by thomasb

  • Milestone changed from 0.2-beta to 0.1.5

comment:12 Changed 6 years ago by davo

Just a pointer to a forum topic about this issue ->
http://roundcubeforum.net/forum/index.php?topic=1436.0

I've done 2 versions of expand/collapse:

1 - Session Only
Folders remember their open/closed state for the duration of the session.
http://download.recurser.com/roundcubemail_r507_session_only.tar.gz

2- Database
Folders store their open/closed state in a new DB table ('folders') so they can maintain state between sessions.
http://download.recurser.com/roundcubemail_r507_with_new_table.tar.gz

comment:13 Changed 6 years ago by MartinSGill

Again a feature I'd endorse, and the number 1 feature I'm looking for atm for roundcube.

With the collapsible folders it also become necessary to have new messages in sub-folders displayed on the parent folder, since much of my mail is sorted automatically by the server.

I'd envision something like

Folder 12 <i>(4)</i>

To indicate 12 new messages in the Folder, and 4 new messages in sub (and sub-sub) folders.

comment:14 Changed 6 years ago by markseymour

A loosely related issue (presentation of the folder list) is the width of the folder list sidebar. I would like to see this width be user settable, either with a click/drag-able divider, or with a 'personal setting' option. The depth of hierarchy of my folders makes the titles of many of them unreadable in the present arrangement, and worse, I can't see the numeric indicator of number of new emails in each. Otherwise, very nice UI!

comment:15 Changed 6 years ago by Shane

#1484618 is a dublicate of this.

This feature is also among one of my top features, and I'd like to extend the feature in the following way:

Personally I don't like 'unsubscribed' folders not being displayed in the folder list at all. It would be nice to have them displayed, but possibly in sort of a 'disabled' style.

comment:16 Changed 5 years ago by jody

This feature rates quite high on my wish list, too!

comment:17 Changed 5 years ago by ghuntress@…

Adding my vote!

comment:19 Changed 5 years ago by Seanie

Just spotted this as it seems related to a problem I was having. The code that generates that tree structure can consume an awful lot of resources for big directory trees:

http://roundcubeforum.net/forum/index.php?topic=2847.0

Perhaps ought to have some bail-out code before building the tree if a big list comes in?

comment:20 Changed 5 years ago by anonymous

  • Milestone 0.1.5 deleted

Milestone 0.1.5 deleted

comment:21 Changed 5 years ago by thomasb

  • Component changed from Interface to User Interface
  • Description modified (diff)
  • Milestone set to 0.2-beta
  • Severity changed from critical to minor
  • Summary changed from Folder list does not &#34;collapse&#34; heirarchy to Folder list does not "collapse" heirarchy

comment:22 Changed 5 years ago by padde

I really hope this feature will make it into 0.2-beta - its absence makes RoundCube unusable for users with big folder structures (I'm not talking about 200 or 300 folders, but more like 10000 deeply nested folders here).

comment:23 Changed 5 years ago by bl

I agree -- this is one of only two issues keeping us from moving all our users to RoundCube.

Changed 5 years ago by robin

Changed 5 years ago by robin

Changed 5 years ago by robin

comment:24 Changed 5 years ago by robin

  • Owner changed from nobody to robin

Please test attached patch (and images) against current ([17802fd6]) revision.

comment:25 Changed 5 years ago by robin

  • Status changed from new to assigned

comment:26 Changed 5 years ago by Inferno

Patch installed and looks perfect in Firefox 3.0.1 and konqueror 4

Excellent work

comment:27 Changed 5 years ago by robin

  • Resolution changed from None to fixed
  • Status changed from assigned to closed

Done in [f5aa1654]. Thanks for testing.

Confirmed to work in FF win/lin, konq4, safari mac/win and ie7.

Note: See TracTickets for help on using tickets.