A.L.E.C wrote:
Yeah, something like that. I like to see a popup with coulmns, sorting and grouping selection:
Columns (checkboxes): [x] Subject [x] Date [x] From/To [x] Size [ ] Attachment [ ] Flag ... other columns here Sorting (radio buttons): (o) None (current index_sort) ( ) Date ( ) Arrival date (not implemented yet) ( ) Subject ( ) From/To ( ) Size Order (radio buttons): (o) Ascending ( ) Descending Grouping (radio buttons): (o) None ( ) Thread ( ) Group (or sth in future)
This could be inspired by a contextmenu plugin implementation. One more thought: There should be a 'Reset to default' option. And, this sorting and grouping state should be a per-folder one... So, may be one more option - 'Reset all to default' may be useful.
In general I like your idea even more then mine ;) It even adds missing control over what columns are displayed and adds overall consistency to a whole UI.
This could be a simple form or two-level menu. Any volunteers to implement this?
I prefer one-level. It is quicker to work with. And size of menu is almost constant, so I see no need for a second level. That second level is cool for a contextmenu, which has a (variable sized) list of folders to move message to, but not for a sorting control I think. Only 'Reset' commands could be moved to a second level, as they are not of a frequent use.
Something like this: Reset view -> This folder All folders
And one more note about possible implementation: clicks on columns checkboxes shouldn't hide menu, while click on sorting and grouping radios should.
Hmmm.... I think all other sorting options should be disabled when either threading or index_sort are enabled, shouldn't they?
I think not. We can sort threads (root messages) by any field.
Yep, you are right about threading. But what about index_sort? Should click on any header disable it and switch to a 'sorted' mode? Ah, yes, it should.
Best, Vladislav _______________________________________________ List info: http://lists.roundcube.net/dev/