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

Bug 1133004. Fx family landing page. #2827

Merged
merged 3 commits into from Mar 31, 2015
Merged

Conversation

jpetto
Copy link
Contributor

@jpetto jpetto commented Mar 10, 2015

No description provided.

@flodolo flodolo added the L10N label Mar 10, 2015
@jpetto jpetto force-pushed the bug-1133004-fx-family-portal-page branch from 861f497 to d6f0513 Compare March 12, 2015 13:24
@craigcook craigcook force-pushed the bug-1133004-fx-family-portal-page branch 5 times, most recently from 34332bf to 79b9a5c Compare March 30, 2015 22:49
@craigcook
Copy link
Member

Still to do:

  • Testing/hacking for IE (I expect IE8 will be troublesome)
  • Redirect for bug 1148127
  • Tabzilla updates for bug 1148127
  • RTL styling

The RTL work could be punted to post-launch since it doesn't look like it's yet localized in ar, fa, or he.

'firefox_family': {
'source_filenames': (
'css/sandstone/sandstone-resp.less',
'css/firefox/family-nav.less',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this needed?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope!

@craigcook craigcook force-pushed the bug-1133004-fx-family-portal-page branch 2 times, most recently from 3381785 to 270d12f Compare March 31, 2015 07:55
var latestFirefoxVersionFull = $html.attr('data-latest-firefox');

// get latest full version (no point release info) for initial check
var latestFirefoxVersion = parseInt(latestFirefoxVersionFull.split('.')[0], 10);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is needed? Looks like isFirefoxUpToDate() already handles much of the logic

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably not needed. I swiped this from firefox/new.js which has a lot of extra conditional bits of logic, but I think this is redundant for this page.

@alexgibson
Copy link
Member

Let's not forget to show Tabzilla the door on this page also 👍

@craigcook craigcook force-pushed the bug-1133004-fx-family-portal-page branch from 270d12f to c066003 Compare March 31, 2015 17:04
@craigcook craigcook changed the title WIP Bug 1133004. Fx family landing page. Bug 1133004. Fx family landing page. Mar 31, 2015
@craigcook craigcook force-pushed the bug-1133004-fx-family-portal-page branch 3 times, most recently from 6c16f2c to 1b9b0af Compare March 31, 2015 21:35
@craigcook craigcook force-pushed the bug-1133004-fx-family-portal-page branch from 1b9b0af to e26b51f Compare March 31, 2015 22:04
$('.product-list').on('click', 'a', function(e) {
var newTab = ($(this).target === '_blank' || e.metaKey || e.ctrlKey);
var href = $(this).attr('href');
var product = $(this).data('product');
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this var isn't used?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, should be passing the product name in place of the href. Fixed!

@jpetto
Copy link
Contributor Author

jpetto commented Mar 31, 2015

Aside from small JS nits above and 1400px wide intro/heading styles, things are looking good.

IE9 crashes when calc() is used for background position
Also reworked media queries to 1000px is the base width
@craigcook craigcook force-pushed the bug-1133004-fx-family-portal-page branch from e26b51f to edb9107 Compare March 31, 2015 22:56
@jpetto
Copy link
Contributor Author

jpetto commented Mar 31, 2015

Looking good! r+ 🍝

jpetto added a commit that referenced this pull request Mar 31, 2015
@jpetto jpetto merged commit 7a85e99 into master Mar 31, 2015
@flodolo flodolo removed the L10N label Apr 1, 2015
@craigcook craigcook deleted the bug-1133004-fx-family-portal-page branch April 5, 2015 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants