I find myself having to click on the recent posts for everyone before returning to mine, and it more or less means that 2 demanding queries have to be run.

Multiply this by the number of people who do the same and that is a lot of unnecessary load hitting the Drupal.org server.

I think this fix is quite simple and can be implemented very quickly.

CommentFileSizeAuthor
#27 tracker.png45.65 KBGoose4all
#18 drupalorg.module.patch.txt1.39 KBdww

Comments

Chill35’s picture

It would be interesting to know the percentage of people who come here on Drupal.org just to look at their "recent posts".

I concur.

rszrama’s picture

I check my recent posts many times during the day as I'm sitting at work to see if there are any updates or new discussion... So, I can be a statistic for you - but I actually bookmark my recent posts page so I don't have to click through the links. You can also get there by going to My account >> Track, which I do when I'm not on a computer w/ my bookmarks.

jacauc’s picture

I concur. Subscribing.
Directed here from: http://drupal.org/node/109054

voipfc’s picture

Another thing is that the bookmarks are usually on the left side of the page with the menu on the right and one always has to move the mouse across to click.

Given how densely populated small the bookmark icons are, it will be much easier to have the link present on th e main block.

sun’s picture

+1

jacauc’s picture

What happened to this? Is this still under consideration?
Seems like most of us requesting this has been around on drupal.org for a relatively long time, so it's not such an outrageous request.

Think this can be done easily with something like:

drupal_goto('user/'.$GLOBALS['user']->uid.'/track');

By the way... the "Drupal.org server administrators" menu item is skewed. Showing up as:

Drupal.org server administrato
rs

Guess I'll post a separate issue for that some time.

voipfc’s picture

Is there any progress, being made here - do Drupal.org webmasters have any comment on it?

It is such a simple thing to implement.

jonnyz’s picture

I would love this too!

jdsaward’s picture

+1

tomski777’s picture

-1
But then people would avoid looking at new posts and answering them.
I like to glance at the recent stuff before I see my own, not only does it give me the opportunity to help (which I should do more) but I can keep an eye on the hot issues.

voipfc’s picture

The problem is not so much the desire to your review responses to your own posts quickly. It is the lack of speed and the burden it places on the servers. It takes quite some time for the recent posts page to come up. Multiply that by the amount of people having to go back and forth needlessly and you realise the reason why.

If the servers responded quickly enough it wouldn't be an issue.

The first time you come to Drupal you can logon and see the current issues that you can help with. After that you should be able to focus on yours.

jacauc’s picture

Well, what makes "my issues" a cheaper query than "my recent posts"?
Also, we could consider making the "my recent posts" page to show only the last 5 or 10 posts, not 25 like currently.

If we use the last 5 posts, it would make the query 5 times faster. And if I really need to go back into my old stuff, I could go to account/track page using the current method.

shunting’s picture

+1

I post on issues. So 100% of my time, I have to open the Issues triangle before I even get to "My issues." That's frustrating.

So, if "Recent Posts" can be under the menu root, why not "My issues"?

Chill35’s picture

Sooo... is there anything done about this? It would not even require 1 minute do add this menu item.

sun’s picture

@shunting: You may enable the block 'contributor links' in your user profile to access 'my issues' faster. This issue is about 'my recent posts'.

shunting’s picture

@sun So that's what "Contributor Links" means. Sorry, I read this thread as "too many clicks to get to want and why can't I configure which triangles are open in settings." I over-generalized.

jacauc’s picture

as per: http://drupal.org/node/105639
This is now a much cheaper query.

Can this be considered again please?

dww’s picture

Assigned: Unassigned » dww
Status: Active » Needs review
StatusFileSize
new1.39 KB

does anyone actually object to this?

the one minor bummer is that there's no way to "click this together". using admin/build/menu, we could define a new menu item in the navigation menu called "My recent posts", but there's no fixed URL we can point that to, since the tracker needs a uid argument to work for this.

so, this is reason #1273 why we need a drupalorg.module for little tweaks and customizations. ;) then, we just have a "tracker/user" menu item that checks global $user, and does a drupal_goto() to send you to the right tracker page. this approach has the added benefit of not screwing up any of the tabs (though the "My recent posts" menu item is never set to active, but who really cares?).

attached patch is the start of the drupalorg.module for these sorts of customizations. after you apply it, you just need to add a menu item to navigation and it all works nicely.

any objections before i add this module to the contrib repo, install it on d.o (i've been meaning to add it for months, to help with some project* stuff, anyway), and add this menu item to navigation?

jacauc’s picture

This is how I did it on my site, but there's VERY likely a MUCH better solution, as I'm not a PHP coder.
I created a static PHP page under /myactivity where the menu item points to.

The page contains the following code:

<?php
drupal_goto('user/'.$GLOBALS['user']->name.'/track');
?>
dww’s picture

hehe, good one. a php page node on d.o didn't occur to me, but that's probably better than what i proposed above. ;) i was blinded by the fact i wanted a drupalorg.module for other things, and therefore over-engineered this particular problem. i'd probably make it go to /tracker/$user->uid instead, so that you land on the page with tabs for my and all recent posts, instead of the tabs on the user's account page, but i guess that's a matter of taste.

the only trick is that it'd be nice if the menu item doesn't show up at all for anonymous users, since anonymous only sees the all recent posts page, and there's no tabs for my vs. all.

jacauc’s picture

At http://www.dieinter.net/ I did the anonymous/authenticated check by creating a seperate block with menu items for anon users and another block with slight changes for auth'd users.

Then just change the block visibility per-role.

dww’s picture

yeah, that'd probably be good... we just don't do that on d.o yet, so it'd be a somewhat bigger change (for the better)...

webchick’s picture

I can't believe that this many people are griping about the fact that this isn't done yet and not one of them took 30 seconds to roll like a 10-line patch for core to make this easier for everyone. For shame: http://drupal.org/node/146282

dww’s picture

Status: Needs review » Fixed

webchick and i came up with a winning solution for D6 over at http://drupal.org/node/146282. it's a tiny patch, so i just applied the D5 backport to drupal.org, and added a "My recent posts" item to the navigation menu. enjoy.

voipfc’s picture

Hi guys, I am glad that this UI enhancement has been realized, I didn't even notice it until I clicked 'All recent posts', came to the end of the issue and realized that it had been fixed. Lo and behold, yes it is actually there!!! Hooray !!!

I had seen a previous post about changes being made to the SQL queries used in the tracker http://drupal.org/node/105639 but couldn't remember the exact URL and had also noticed the tracker performance was much improved. Today I even thought it was because I was logged out when I realized that I was logged in.

It is apparent that all the time we were griping a lot of work was going on behind the scenes to improve Drupal.org and overall Drupal performance as I can see from http://drupal.org/node/144228

Thanks to all the guys (and dolls!!) who have been working to make this site even faster and better.

Big Up to David Strauss for the tracker improvements.

P.S. Just before I sign off can I put in a teensy-weensy squeak for http://drupal.org/node/108095?
With Drupal working so much better now, I am glad to hold off for a year.

jacauc’s picture

Thank you, Thank you, Thank you!!! :D:D:D

Goose4all’s picture

Title: Make (my) recent posts a one click affair, instead of clicking (all) recent posts before. » patch dont work on my install (?)
StatusFileSize
new45.65 KB

hi, i applied the patch, but it dont work on my installation...

i've even tried to modify the if($target == 'user') statement to $uid= 0; - it just says "newest posts for" and then no user at all nor any posts...

what could be the problem?

any help is highly appreciated!

thank you!
andreas

webchick’s picture

Title: patch dont work on my install (?) » Make (my) recent posts a one click affair, instead of clicking (all) recent posts before.
Status: Fixed » Closed (fixed)
Goose4all’s picture

well, i add an issue and you set it fixed?

jacauc’s picture

I suppose this issue is fixed and closed, and you'll likely have to post a new issue against this feature.