Closed Bug 786213 Opened 12 years ago Closed 11 years ago

See older articles from the front page of Mozilla Hacks

Categories

(Developer Engagement :: Mozilla Hacks, task, P1)

x86
macOS

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: robert, Assigned: craigcook)

References

Details

(Whiteboard: [specification-like][type:feature])

Below Recent Articles in the Mozilla Hacks front page it would be good to have a pagination/more articles link to older articles (as a complement to scrolling up again, click Articles, see the same articles you just saw in the front page and then paginate).
Component: Website → hacks.mozilla.org
Product: Mozilla Developer Network → Websites
Component: hacks.mozilla.org → Mozilla Hacks
Product: Websites → Mozilla Developer Network
Blocks: 854859
Priority: -- → P1
Hey Robert. We are excited to get started on this ticket. It should not be very hard to implement, but sounds like it will have a big impact on the site.

I want to be sure we design something you are happy with. The following ideas come to mind, but these are just starting points for discussion. What do you think about them? Do you have any other ideas?

* http://jsfiddle.net/pYmtJ/embedded/result/
* http://jsfiddle.net/aa2nk/embedded/result/
Flags: needinfo?(robert)
Whiteboard: [specification-like][type:feature][selected]
One more thing worth noting here. There is also a "More >" link near the "Recent Articles" heading. Would you like this new feature at the bottom of the page to replace that, or would you like them both to appear?
Pagination on the home page is a little more complicated with the way the page is currently set up. It's not impossible, we'll just have to rework the templates a bit.

Making a big, easy-to-find "More articles >" link is super simple though. We already have it at the top, it's just a case of moving it to (or repeating it at) the bottom with a more eye-catching style.
To begin with, I'm just fine with a More articles link at the bottom as well. Pagination would be nice, but not the most important thing to put resources into.

Preferably, though, More articles at the bottom should lead to the second page of Articles (i.e. https://hacks.mozilla.org/articles/page/2/), otherwise people would just see a list of articles they already just saw.
Flags: needinfo?(robert)
It can link directly to page 2, no problem.
Great! So we will move forward with this design. If this is incorrect, just let me know.

http://jsfiddle.net/pYmtJ/2/embedded/result/
I'm including this with a bunch of other theme updates, long overdue. Trying to have it wrapped up this week.
Assignee: nobody → craigcook.bugz
(In reply to John Karahalis [:openjck] from comment #6)
> Great! So we will move forward with this design. If this is incorrect, just
> let me know.
> 
> http://jsfiddle.net/pYmtJ/2/embedded/result/

Yep, looks good!

Craig, thanks!
Hey Craig. David has some bandwidth this morning to take care of the "More" link. Maybe you guys could collaborate together?
(In reply to John Karahalis [:openjck] from comment #9)
> Hey Craig. David has some bandwidth this morning to take care of the "More"
> link. Maybe you guys could collaborate together?

Doh, I'm already done! Just doing a bit of testing now.
I noticed that this wasn't pushed to production yet. Anything we can do to help?
Flags: needinfo?(craigcook.bugz)
Whiteboard: [specification-like][type:feature][selected] → [specification-like][type:feature]
(In reply to John Karahalis [:openjck] from comment #11)
> I noticed that this wasn't pushed to production yet. Anything we can do to
> help?

I'm pretty much done with this batch of updates, just been a bit of back-and-forth about the user roles. I've been meaning to make a tracking bug to collect all the things happening in this batch, and I'll do that today (since this bug isn't really the place to discuss the other items).

Right now hacks still deploys from SVN but I've also been committing code to git, and it would be nice to get deployment switched to git as well. You can start that ball rolling with IT, if you're looking for something to do.

We'll want dev to auto-update from https://github.com/mozilla/mozhacks/tree/master/themes but stage and prod should still require manual pushes. I'd like to be able to push this round of updates this week, and it would be great if we can do it from git, but we can do it from SVN if we have to.
Flags: needinfo?(craigcook.bugz)
Blocks: 859921
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Product: Mozilla Developer Network → Developer Engagement
You need to log in before you can comment on or make changes to this bug.