mediawiki-extensions-Visual.../modules/ve-mw/tests/ui
Thiemo Kreuz 06cf00f4c6 Rename and document select/focus events in template dialog
I tried hard to come up with the best possible names. Some of the
criteria I used:
* Longer and more unique is better. This makes it much easier to
  e.g. search for the event name.
* The term "part" should only be used for top-level parts. While
  template parameters have a unique id, they are not a subclass
  of …TransclusionPartModel and therefor not "parts".
* BookletLayout manages "pages" via "page names".
  * The page names of top-level parts are identical with the part
    id, see ve.ui.MWTemplateDialog.getPageFromPart.
  * The page names of parameters are identical with the parameter
    model id, see ve.ui.MWTemplateDialog.onAddParameter.

Some code knows parameter ids, but not what pages are. Other code
knows page names, but not what parameters are. The transition
currently happens in the …OutlineContainerWidget. We might want
to move this point up to the …TemplateDialog. But I would argue
this is good enough for now and can be changed later, if needed.

Bug: T285323
Change-Id: Iab2805b3203988db400b67c8d00e48905fdc53dc
2021-09-01 16:23:59 +00:00
..
actions Update more test code to use ES6 syntax 2021-04-30 10:08:45 +00:00
datatransferhandlers Update more test code to use ES6 syntax 2021-04-30 10:08:45 +00:00
inspectors Update more test code to use ES6 syntax 2021-04-30 10:08:45 +00:00
pages Add tests for new ve.ui.MWAddParameterPage 2021-08-30 13:02:52 +00:00
widgets Rename and document select/focus events in template dialog 2021-09-01 16:23:59 +00:00
ve.ui.DiffElement.test.js Update more test code to use ES6 syntax 2021-04-30 10:08:45 +00:00