Chromium Code Reviews| Index: appengine/swarming/elements/res/imp/botlist/DESIGN.md |
| diff --git a/appengine/swarming/elements/res/imp/botlist/DESIGN.md b/appengine/swarming/elements/res/imp/botlist/DESIGN.md |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..f6f6dcedc73e522f5c2fd2386ee9d3bad090b755 |
| --- /dev/null |
| +++ b/appengine/swarming/elements/res/imp/botlist/DESIGN.md |
| @@ -0,0 +1,37 @@ |
| +This is a highlevel overview of the pieces that make up botlist. |
|
jcgregorio
2016/08/24 14:48:27
Move this up from /res/imp/botlist to /res/imp sin
kjlubick
2016/08/24 15:06:32
Done.
|
| + |
| +``` |
| + +----------------+ |
| + | | |
| + +------------->+ CommonBehavior +<-----------------+ |
| + | | | | |
| + | +------+---------+ | |
| + | ^ | |
| + | | | |
| + | | | |
| + | | | |
| ++--------+----------+ +----+------------+ +-------+--------------+ |
| +| | | | | | |
| +| QueryColumnFilter | | BotListBehavior | | DynamicTableBehavior | |
| +| | | | | | |
| ++-------------------+ +-----------------+ +----------------------+ |
| + ^ +-------------^ ^ ^ ^-------------------+ ^ |
| + | | | | | | |
| + | | | +---+ | | |
| + | | | | | | |
| + +----+--+-------+ | +-----+--------------+ +-----+------+ |
| + | | | | | | | |
| + | <bot-filters> | | | <bot-list-summary> | | <bot-list> | |
| + | | | | | | | |
| + +---------------+ | +--------------------+ +------------+ |
| + | +-----------------+ |
| + | | | |
| + +-----+ <bot-list-data> | |
| + | | |
| + +-----------------+ |
| +``` |
| + |
| +Although methods defined in the various behaviors could be overwritten by each |
| +other, this is not done. |
| + |
| +`<bot-list>` is the main element and composes the others. |