Currently this is hard-coded into the select drop-down. If this is a JSON file managed in a separate repo, a matching list can be used by MozBadges and updated in a single place.
some requirements are that it be easy for people to ask for and get a new team added. One proposal would be to create a text file on a github-pages branch in github, published using github Pages. Advantage would be that making a change to that file is available to anyone w/ commit privileges to whatever repo we choose (making it easier for PRs to get processed, and processed in the web UI ideally). text vs. JSON: text would require more client side work on parsing/escaping, but hand-writing JSON is easy to screw up, and publishing a syntactically invalid JSON file would break the clients. if people have better ideas, that'd be just fine.
I've started this here: https://github.com/mozilla/team-list/ (it's within the MozBadges team) and will do some more on this next week.
* Removed the hard-coded team list from adhoctribution * Setup a re-usable node module that can be installed via npm https://www.npmjs.org/package/mocofoteamlist * Used this module in adhoctribution * Added basic documentation on how to update the team list https://github.com/mozilla/team-list/
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.