Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make topic lists show last activity more intuitively #193

Merged
merged 1 commit into from Mar 28, 2013

Conversation

tms
Copy link
Contributor

@tms tms commented Feb 18, 2013

Apparently editing the most recent (and only the most recent) post in a topic causes the topic to be bumped, which can be confusing since the displayed date on the topic list is the last post date.

I tweaked things a little so the last activity date will be displayed as the bumped_at age when appropriate, and the tooltip will contain both pieces of information. The last post date is now also shown when the topic is bumped even when there are no replies (i.e. the topic post itself was edited).

I tried to avoid confusion by reducing the opacity when the value for the second column is due to the bump instead of to a new reply being posted by lowering the opacity, like in the following screenshot:

tooltip for new activity

I'm not positive this is the best solution, but unless bumping on edit is dropped completely the current behaviour seems more confusing.

@tms
Copy link
Contributor Author

tms commented Feb 18, 2013

@eviltrout
Copy link
Contributor

What is the status of this? To be honest I don't quite follow the initial topic.

@tms
Copy link
Contributor Author

tms commented Feb 27, 2013

Well, it's still an issue in the sense that the behaviour hasn't changed. Editing the last post in a topic causes the topic to be bumped, so the position of the topic in the topics list might seem wrong based on the values shown for last activity. As an example, the original list of topics in the screenshot would have shown last post values similar to

  • 7m
  • 20h
  • 29m

...where the 20h value appears incorrectly sorted to the user.

This change just makes it so that the "last post time" column doubles as a "last bump time" column, so that the ordering matches the information shown to the user.

@alxndr
Copy link
Contributor

alxndr commented Feb 28, 2013

Right now (and for the next 19 hours, I suppose) the post RSS feeds for categories. appears out of order, perhaps because of this:
Screen Shot 2013-02-27 at 20 02 20

@eviltrout
Copy link
Contributor

Oh I understand now, thanks. Here's a question: why can't we just display bumped_at there? I see you have logic to take the max of the post date and bumped_at -- is there a situation where bumped_at is not present?

I'd rather fix it there and simplify client logic by always displaying bumped_at.

Thoughts?

@tms
Copy link
Contributor Author

tms commented Feb 28, 2013

I'm not sure, I realised after the fact that taking the max there may not have been necessary, but I forgot to go back and check.

I'll take a look when I get home today and tidy things up as appropriate. As far as the client logic goes, I'm not sure what the best approach is – I think there's some benefit in differentiating between an edit bump and a new response bump, which is what most of the conditionals in the template are doing.

@eviltrout
Copy link
Contributor

Any updates on this one?

@tms
Copy link
Contributor Author

tms commented Mar 11, 2013

Whoops, kind of dropped the ball on this one. I believe I got distracted when looking at this the other day, so I'll finish up and give you an update once I get back from the office later today.

@SamSaffron
Copy link
Member

we needs to decide this one ... don't want it to hang in the PR list forever :)

@coding-horror
Copy link
Contributor

Yes let us just display bumped at date here, I don't like the two date solution.

@tms
Copy link
Contributor Author

tms commented Mar 23, 2013

Hmm, the problem is that if we don't differentiate between them, the value in that column becomes ambiguous @coding-horror . Should we keep a single date and still visually differentiate between them, or just swap last post for last bump?

Admittedly I'm not 100% on why editing the last post is considered bump worthy, but I assumed there was a specific reason when I did this.

@coding-horror
Copy link
Contributor

I would just swap the dates rather than adding a bunch of extra stuff or words to the page.

It's not that hard to figure out, look at the post, see the pencil icon next to it, note that the date is the same...

@tms
Copy link
Contributor Author

tms commented Mar 26, 2013

You're the boss! Commit amended and rebased.

@SamSaffron
Copy link
Member

personally I am ok with this, I tire of this PR sitting in the queue, @eviltrout @coding-horror ?

@eviltrout
Copy link
Contributor

I'm cool with it. If @coding-horror says so let's merge.

@coding-horror
Copy link
Contributor

Sure lets do it

On Wednesday, March 27, 2013 at 8:59 AM, Robin Ward wrote:

I'm cool with it. If @coding-horror (https://github.com/coding-horror) says so let's merge.


Reply to this email directly or view it on GitHub (#193 (comment)).

SamSaffron added a commit that referenced this pull request Mar 28, 2013
Make topic lists show last activity more intuitively
@SamSaffron SamSaffron merged commit 0bcd142 into discourse:master Mar 28, 2013
CvX pushed a commit that referenced this pull request May 19, 2021
Add wistia.com to whitelist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants