Feature request: collapsible folders with total counter #163

Closed
opened 2022-01-30 14:10:20 +02:00 by oblitum · 15 comments

I have a mail folder structure that's "Tagged/some-tag" and I have lots of tags, so this "Tagged" folder contains lots of "tag" folders. It would be nice to be able to have it collapsed, not always expanded. Is it possible to close/open folders and set a default state? It would be useful for top folders to have a counter which is a sum of the counters of the child ones.

I have a mail folder structure that's "Tagged/some-tag" and I have lots of tags, so this "Tagged" folder contains lots of "tag" folders. It would be nice to be able to have it collapsed, not always expanded. Is it possible to close/open folders and set a default state? It would be useful for top folders to have a counter which is a sum of the counters of the child ones.

That would be very useful! It'd require some custom logic for the sidebar widget, but it's doable.

That would be very useful! It'd require some custom logic for the sidebar widget, but it's doable.
Manos Pitsidianakis added the
enhancement
label 2022-03-20 17:54:13 +02:00
Buggy implementation here: https://git.meli.delivery/meli/meli/src/branch/collapse-mailbox-menu

I have this so far, no collapse indicator like it's usually done in accordeon menus yet.

Other stuff that's missing:

  • The menu re-rendering after collapsing has some garbage cells that need to be cleared
  • There's no configuration for setting mailboxes collapsed on startup
  • Refreshing the menu loses previous collapse settings

These are simple to implement/fix, and when they are the feature will be merged to master.

I have this so far, no collapse indicator like it's usually done in accordeon menus yet. Other stuff that's missing: - The menu re-rendering after collapsing has some garbage cells that need to be cleared - There's no configuration for setting mailboxes collapsed on startup - Refreshing the menu loses previous collapse settings These are simple to implement/fix, and when they are the feature will be merged to master.

This is cool! I have noticed the new branch on my last pull. I'm eager for the merge :)

Meli is still the best terminal email option IMO, but oh boy, the inconsistency with the counters hits me hard everyday. I tried to dig the codebase a bit on that, but I need some time getting familiar with it to start thinking how this synchronization issues comes up.

This is cool! I have noticed the new branch on my last pull. I'm eager for the merge :) Meli is still the best terminal email option IMO, but oh boy, the inconsistency with the counters hits me hard everyday. I tried to dig the codebase a bit on that, but I need some time getting familiar with it to start thinking how this synchronization issues comes up.

The counter thing is going to get a complete overhaul when I'm done with these smaller features/bug fixes. It annoys me as well!

The counter thing is going to get a complete overhaul when I'm done with these smaller features/bug fixes. It annoys me as well!

Merged in b716e4383e, let me know if anything is misbehaving by reopening this issue or posting a new one, either way is fine.

Merged in b716e4383e, let me know if anything is misbehaving by reopening this issue or posting a new one, either way is fine.

Documentation:

b716e4383e/docs/meli.conf.5

Ctrl+f "collapse"

Documentation: https://git.meli.delivery/meli/meli/src/commit/b716e4383ea3163cabe760cd5512b7d70b218915/docs/meli.conf.5 Ctrl+f "collapse"

Nice. I just built it and tried, it came collapsed, but the "Ctrl+f" hotkey isn't doing anything by default. I have no idea how to expand.

I'd like to inform that your system isn't deliverying notification emails on issues I'm subscribed.

Nice. I just built it and tried, it came collapsed, but the "Ctrl+f" hotkey isn't doing anything by default. I have no idea how to expand. I'd like to inform that your system isn't deliverying notification emails on issues I'm subscribed.

"toggle_mailbox_collapse" on "meli.conf" states "Space" as default binding, but this also isn't doing anything, nor "Enter" for opening it.

"toggle_mailbox_collapse" on "meli.conf" states "Space" as default binding, but this also isn't doing anything, nor "Enter" for opening it.

Nice. I just built it and tried, it came collapsed, but the "Ctrl+f" hotkey isn't doing anything by default. I have no idea how to expand.

Oh sorry, by ctrl+F I mean look up the string "collapse" in the manpage document.

"toggle_mailbox_collapse" on "meli.conf" states "Space" as default binding, but this also isn't doing anything, nor "Enter" for opening it.

You have to be focused on the menu first (press left?) It's kinda non-intuitive. I'm open to actually good alternatives for interacting with the sidebar: How do you switch focus seamlessly from the mailbox list to the sidebar?

I'd like to inform that your system isn't deliverying notification emails on issues I'm subscribed.

Thanks, will check it out. As stated elsewhere I moved servers/installations recently.

> Nice. I just built it and tried, it came collapsed, but the "Ctrl+f" hotkey isn't doing anything by default. I have no idea how to expand. Oh sorry, by ctrl+F I mean look up the string "collapse" in the manpage document. > "toggle_mailbox_collapse" on "meli.conf" states "Space" as default binding, but this also isn't doing anything, nor "Enter" for opening it. You have to be focused on the menu first (press left?) It's kinda non-intuitive. I'm open to actually good alternatives for interacting with the sidebar: How do you switch focus seamlessly from the mailbox list to the sidebar? > I'd like to inform that your system isn't deliverying notification emails on issues I'm subscribed. Thanks, will check it out. As stated elsewhere I moved servers/installations recently.

I'd like to inform that your system isn't deliverying notification emails on issues I'm subscribed.

I just successfully sent my self a test email, I hope it's fixed now.

> I'd like to inform that your system isn't deliverying notification emails on issues I'm subscribed. I just successfully sent my self a test email, I hope it's fixed now.

I'd like to inform that your system isn't deliverying notification emails on issues I'm subscribed.

I just successfully sent my self a test email, I hope it's fixed now.

Seems OK now, thx.

> > I'd like to inform that your system isn't deliverying notification emails on issues I'm subscribed. > > I just successfully sent my self a test email, I hope it's fixed now. Seems OK now, thx.

You have to be focused on the menu first (press left?) It's kinda non-intuitive. I'm open to actually good alternatives for interacting with the sidebar: How do you switch focus seamlessly from the mailbox list to the sidebar?

Oh, I didn't realize I could do that, it's fine then, it's working.

> You have to be focused on the menu first (press left?) It's kinda non-intuitive. I'm open to actually good alternatives for interacting with the sidebar: How do you switch focus seamlessly from the mailbox list to the sidebar? Oh, I didn't realize I could do that, it's fine then, it's working.

@oblitum I'm planning on adding a help/documentation feature like vim, so that you can bring it up at any view and see what you can do with it. Kinda like the current shortcuts view ? but with text.

@oblitum I'm planning on adding a help/documentation feature like `vim`, so that you can bring it up at any view and see what you can do with it. Kinda like the current shortcuts view `?` but with text.

It's all in the configuration manual page, but it has become quite large so one cannot be expected to sit and read all of it to figure out how to do simple stuff.

It's all in the configuration manual page, but it has become quite large so one cannot be expected to sit and read all of it to figure out how to do simple stuff.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: meli/meli#163
There is no content yet.