Closed Bug 1416256 Opened 7 years ago Closed 6 years ago

Add string tiers to Pontoon

Categories

(Webtools Graveyard :: Pontoon, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ryan, Assigned: ryan)

References

Details

(Whiteboard: l10n-docs-added)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
Build ID: 20170928210252

Steps to reproduce:

String tiers are a way of classifying files/strings in pontoon

Picking up from discussions and existing docs:

- Tiers are associated to files
- Associations should be taken from l10n config in repos
- A file/string can only be in one tier at a time
- Tiers should span projects (but not always all projects?)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P2
Commit pushed to master at https://github.com/mozilla/pontoon

https://github.com/mozilla/pontoon/commit/f8951a297cdbc6a76202e3657d45382186037d1d
Touch bug #1416256: Add glob to regex util #809

- Add glob_to_regex util
- Add tests for glob_to_regex
Commit pushed to master at https://github.com/mozilla/pontoon

https://github.com/mozilla/pontoon/commit/f150102d721e512e04cba4455592e8703d504057
Touch bug #1416256: Doctest support #810

- Add .tst to py.test flags for doctests
- Automatically mark doctests as requiring db fixture
- Add doctest fixture to clear test resources
Commit pushed to master at https://github.com/mozilla/pontoon

https://github.com/mozilla/pontoon/commit/3bd605fe2ab9598389c8e4cf2d925a3785f16a9d
Touch bug #1416256: Some test updates #812

- Set default test url to https://nowhere.com/at/all in package.json
- Use travis' nvm to update node environment
- Cache pkg dirs in travis
- Add ignore paths in package.json
- Add js test setup
- Add react-dom to npm dependencies
  this is required to set enzyme testing up
- Explicitly add enzyme to npm dependencies
FYI, there's working code to do both * and ** glob in a regex at https://dxr.mozilla.org/mozilla-central/source/python/mozbuild/mozpack/path.py#121. That's also what we're using for project-config-aware code.
Commit pushed to master at https://github.com/mozilla/pontoon

https://github.com/mozilla/pontoon/commit/d793a413a0f48aa30d86e39f3cae82ed58fc9556
Touch bug #1416256: String tiers - add tag test fixtures #808

Add fixtures for testing the new tags api
Assignee: nobody → ryan
Commit pushed to master at https://github.com/mozilla/pontoon

https://github.com/mozilla/pontoon/commit/7dfeccdbd470e3f4d5da5fd1b888cc3105c2c268
Touch Bug #1416256: React checkbox table widget #869

- Add tests for CheckboxTable widget
- Add js CheckboxTable widget
Commit pushed to master at https://github.com/mozilla/pontoon

https://github.com/mozilla/pontoon/commit/63d801ca0ce5861fb82ba477e68a34eb6aabbdc2
Touch Bug #1416256: String tiers resources util #877

- Add tag exceptions
- Add tests for TagsResourcesTool
- Add TagsResourcesTool
Commit pushed to master at https://github.com/mozilla/pontoon

https://github.com/mozilla/pontoon/commit/59bd53ac7f8a93ce864b456cdece6a9869aea6a2
Touch Bug #1416256: Add tag inlineformset for project tags

- Add tag inlineformset for project
- Add js/CSS for tag admin
Commit pushed to master at https://github.com/mozilla/pontoon

https://github.com/mozilla/pontoon/commit/ca056a03cff81f22b83800cb6c0b58af00e8d029
Touch Bug #1416256: String tiers admin form #901

- Add tags resources admin form
- Add tests for tags resources admin form
Whiteboard: l10n-docs-needed
Commit pushed to master at https://github.com/mozilla/pontoon

https://github.com/mozilla/pontoon/commit/8366905e0e44eabd1f49cf4c57572792d5f2365a
Touch Bug #1416256: String tiers - admin ui #802

- Update webpack to point at static folder
- Remove js placeholder
- Add error css
- Add webpack loaders in admin template
- Add react button to tag inline formset
- Load string tiers js admin widget
Commit pushed to master at https://github.com/mozilla/pontoon

https://github.com/mozilla/pontoon/commit/5c4152d2a33be7a0c28d766b8da922a9d1fd35f6
Touch Bug #1416256: String tiers django-based views #912

- Add tagged chart util
- Add string tiers views
- Add string tiers templates
- Add string tiers views to project dashboards
- Adjust/add tagged util tests
- Add CSS for tags table
- Update heading info templates to include tags
- Add tests for tag views
Commit pushed to master at https://github.com/mozilla/pontoon

https://github.com/mozilla/pontoon/commit/c6d6fa006e73806bc2377f735e36a4637f05143c
Touch Bug #1416256: String tiers translate filter #915

- Add tag param in get_entity XHR
- Add tag to get_entity form
- Add tag param in entities view
- Add filter for tag in Entity.for_project_locale
- Add tag filters in translate dropdown
- Add tests for tag filter in for_project_locale
- Add tag icon for translate tag filters
- Fix links to translate pages in tags dashboard
- Add has_param to teams_list template
- Update teams.html template
The initial development of string tiers is complete and has landed, so closing this bug.

Ill open another to list the discussed features that have not yet been added.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Depends on: 1449854
Whiteboard: l10n-docs-needed → l10n-docs-added
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.