Closed Bug 983096 Opened 10 years ago Closed 8 years ago

[translate] Batch operations

Categories

(Webtools Graveyard :: Pontoon, defect, P2)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mathjazz, Assigned: mathjazz)

References

Details

The prospect here is to streamline the triage of incoming contributions. This may need to scale up pretty badly, say 1000s of contributions.

We maintain control over who localized what and when, now we should also implement filters and batch operations, e.g.:

* Filter entity list: all, (un)translated, (un)reviewed.
* Show/approve/delete translations by users and time.
* Show translations with sanity check errors (bug 983095).
"Find All + Replace"
Search all strings in a specific project for a specific word and replace it with another word.
Also: filter unreviewed suggestions, even if they are added to strings with already approved translations.
Depends on: 1178880
Mentor: m
Summary: Filters and batch operations → [translate] Filters and batch operations
Per-project filters are now a separate bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=1209375

And bug is now only about batch operations. One possible UI idea is to add checkboxes to entities in the entity list. When entities are selected, we replace the translation editor with batch operations panel, with options to:

- approve all translations
- unapprove all translations
- delete all translations
- search and replace

We display the editor again if entities are no longer selected or if user clicks "Back to editor".

We should also have an option to select all.

If only one column is displayed (entities only), we should either not have this option or we need to add a new button to open batch operations panel.
Assignee: nobody → m
Mentor: m
Summary: [translate] Filters and batch operations → [translate] Batch operations
Priority: -- → P2
Commits pushed to master at https://github.com/mozilla/pontoon

https://github.com/mozilla/pontoon/commit/6040e89a0b17301d58ce4bd350c3b8a86e0af01d
Fix bug 983096: Batch operations

Details:
* Ability to select entities in entity list and perform actions on
  them in a batch editor (approve all, delete all, find & replace).
  It's only exposed to privileged users (Translators).
* Colored checkboxes as status icons in entitylist (multi select)
* Colored radio buttons as status icons in history tab (single select)
* Ability to select multiple entities by holding Shift
* Ability to select all entities (even if not in entity list due to
  progressive loading)

This patch also brings other bugfixes and improvements:
* Remove unused old parts menu CSS
* No tab stop on hidden download/upload forms
* Unify alignment of search field and editor topbar in translate view
* Prevent notifications from covering the Next button
* No need for entity key in entity list
* Expose /manage to managers, not translators
* Join updateTranslation() and updateEntityUI()

https://github.com/mozilla/pontoon/commit/0c78812c06c4cfd27c130f3b525986b471183d7b
Merge pull request #369 from mathjazz/bug-983096-batch

Bug 983096: Batch operations
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Blocks: 1267548
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.