1 min read

Replace multiple team selector with multiple item selector

Table of Contents

[template]

Working notes on mozilla/pontoon#3368, generalizing the multiple team selector into a reusable multiple item selector.

Summary

The team selector had grown into a component that only knew about teams, even though the same multi-select behavior was useful elsewhere. The refactor pulls the team-specific parts out and turns it into a generic item selector, so the control can be reused for other kinds of options without duplicating the logic.

The full working notes are in the embedded PDF below.

Your browser can't display this PDF inline. Download the PDF.