[3rd party] Make Bugs tab disabled by default
Categories
(Webtools Graveyard :: Pontoon, enhancement, P3)
Tracking
(Not tracked)
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).
Updated•5 years ago
|
Comment 1•5 years ago
|
||
Hi, I'm an Outreachy applicant and would like to work on this issue (if I can ;))
Comment 2•5 years ago
|
||
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.
Updated•5 years ago
|
Comment 3•5 years ago
|
||
Thanks Adrian, will do :)
Comment 4•5 years ago
|
||
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!
Reporter | ||
Comment 5•5 years ago
|
||
No problem Debora, I've assigned you bug 1586227.
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.
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Comment 7•5 years ago
|
||
Reporter | ||
Comment 8•5 years ago
|
||
Updated•3 years ago
|
Description
•