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

Import Tabzilla into Bedrock #507

Merged
merged 1 commit into from Dec 11, 2012
Merged

Conversation

rik
Copy link
Contributor

@rik rik commented Nov 30, 2012

I'm submitting this to get the code approved. Do not merge yet ;)

Things left to do:

import l10n_utils


def tabzilla_js(request):
Copy link

Choose a reason for hiding this comment

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

You should probably add a cache decorator to get zeus to cache this for some amount of time to avoid extra load.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

All our HTTP requests are cached 10 minutes by default.

@Osmose
Copy link

Osmose commented Dec 3, 2012

r+ for what's here. The LESS variable is a nice-to-have and we could live with an added step to the docs if you're strapped for time.

Let me know when you add the other stuff so I can finish the review. :D

@sgarrity
Copy link
Contributor

sgarrity commented Dec 3, 2012

r+

@rik
Copy link
Contributor Author

rik commented Dec 10, 2012

Pull request updated with documentation imported.


*tabzilla* is the universal tab displayed on Mozilla websites.

Adding the universal tab requires to a site requires:
Copy link
Contributor

Choose a reason for hiding this comment

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

Extra "requires".

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

@Osmose
Copy link

Osmose commented Dec 10, 2012

r+ looks good to me

- Make it localisable
- Add redirects for backwards compatibility
- Adds a js_escape filter

bug 744271
@rik rik merged commit 641ead0 into mozilla:master Dec 11, 2012
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