Ticket #1484664 (new Feature Requests)

Opened 13 months ago

Last modified 2 months ago

after check message sorting is not correct

Reported by: spriebe Owned by:
Priority: 5 Milestone: later
Component: Core functionality Version: 0.1-rc2
Severity: minor Keywords:
Cc:

Description

After check_recent the sorting is not correct anymore. perhaps we should initiate a javascript sorting click or so?

Change History

Changed 13 months ago by thomasb

  • severity changed from normal to minor

New messages are added at top of the list. I think this is OK because the users don't want to search for the new messages when they arrive. Other opinions?

Changed 10 months ago by seansan

  • milestone set to later

Set to later until we have more input on discussion

Changed 8 months ago by houchin

The problem with the current behavior is that messages are sorted older to newer, the message list will likey be scrolled to the bottom, thus new messages are added off screen and the user will have to hunt for them.

If sort by date is currently selected, I believe it would be OK for the messages to be added to the end (sort by receive date, not by send time [although those times should be very, very close together]).

However, if messages are sorted by another field, RC should respect that sorting.

Changed 2 months ago by alec

  • milestone changed from later to 0.2-stable

Changed 2 months ago by thomasb

And what if the new message would be placed on another page than the one which is currently displayed? Then we can only update the unread count and the user needs to "seek" for the new message. If sorted by subject, how should the user know what the subject of the new message is and on which page it can probably be found? That doesn't make sense to me.

Changed 2 months ago by alec

  • type changed from Bugs to Feature Requests
  • component changed from Client Scripts to Core functionality
  • milestone changed from 0.2-stable to later

For me it does make sense, but we must implement filtering by /Seen flag.

Changed 2 months ago by houchin

If the new messages add a page to the message list, then you move to the page with the first new message if the user had already been at the "most recent" page. This appears to be what gmail goes, although I could only see how to put messages in one direction.

I set it to put 25 messages per page, then sent myself 40 new messages. As the messages arrived, it put the new ones in the list and moved me to the most recent page.

This is about doing what the user specified through the preferences/settings you've already implemented.

* If messages are sorted older to newer

  • put new messages at the end of the list
  • If the user had already been at the last page and the old number of messages was a multiple of the page size, go the next page
  • If the user had already been at the last page but the first new message would still be displayed on this page, stay put

* If the messages are sorted newer to older

  • put new messages at the beginning of the list
  • Stay at the first page

This is also mimicing what desktop mail clients do. When I'm scrolled to the middle of a message list in my desktop client and I get a new message, it doesn't just plop the message anywhere in the list, and it doesn't scroll me to that new message. It respects my current settings and puts the message where it belongs. -

Note: See TracTickets for help on using tickets.