Closed Bug 1567402 Opened 5 years ago Closed 5 years ago

[3rd party] Make Bugs tab disabled by default

Categories

(Webtools Graveyard :: Pontoon, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mathjazz, Assigned: abowler, Mentored)

Details

(Whiteboard: outreachyround19)

Attachments

(1 file)

The Bugs tab on the Team page (e.g. https://pontoon.mozilla.org/fr/bugs/) lists opens bugs from Bugzilla component bound to that localization team at Mozilla.

It's hard to imagine this feature would be used outside Mozilla, so we should only enable it through a switch (environment variable).

Mentor: adrian

Hi, I'm an Outreachy applicant and would like to work on this issue (if I can ;))

Flags: needinfo?(adrian)

Hi Debora, thanks for offering to contribute.

Before anything else, if you haven't done so yet, please install Pontoon and make sure it works locally. Instructions are here: https://github.com/mozilla/pontoon#contributing

Then the code you want to change will be in this folder: https://github.com/mozilla/pontoon/tree/master/pontoon/teams (I assume most of the changes will be made in the template here: https://github.com/mozilla/pontoon/blob/master/pontoon/teams/templates/teams/team.html )

You will want to add a new setting in https://github.com/mozilla/pontoon/blob/master/pontoon/settings/base.py that loads its value from the environment (to make it easy to override it), give it a sane, non-Mozilla specific default, and use that setting to drive the behavior of the Bugs tab in the team page.

Assignee: nobody → dgaleanoservian
Flags: needinfo?(adrian)
Status: NEW → ASSIGNED

Thanks Adrian, will do :)

Hi Adrian,

I just noticed that the file is written in Django and unfortunately I’m not familiar with it (my Python skills are very basic to non-existent). I’ve only been learning JS so far.

In that case, I believe I should leave this issue to another applicant. Thanks so much anyway!

No problem Debora, I've assigned you bug 1586227.

Assignee: dgaleanoservian → nobody
Status: ASSIGNED → NEW

Hi Matjaz and Adrian,

I would like to work on this bug. I already have Pontoon set up locally, and can begin from the information given in previous comments.

Assignee: nobody → abowler2
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Whiteboard: outreachyround19
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: