mediawiki-extensions-Visual.../modules/ve-mw/ui
Thiemo Kreuz 434c11f6de Fix incomplete template dialog event handling in new sidebar
Notably:
* Don't require the model in the new sidebar via dependency
  injection, but connect the event handlers later. This is
  relevant because we currently create the new sidebar in the
  wrong spot. Removing the hard dependency allows us to split
  the code and utilize initialize() and getSetupProcess()
  correctly. This will be done in a following patch.
* The change event now includes the new position. This makes
  it very easy to add this missing feature to the new sidebar.

Also:
* Stop triggering change events when nothing changed. These
  events are expensive. They bubble all the way up to the
  TransclusionModel, and to all linked
  onTransclusionModelChange() handlers.
* Update event documentation to make this more visible.

Bug: T274544
Change-Id: Iafe29f18a6fed14d9c3124c9756aa840886afbbc
2021-07-16 11:29:26 +00:00
..
actions MWLinkAction: update call to window.open 2020-10-08 18:37:47 +00:00
commands doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
contextitems Remove @param/@return docs that literally repeat the code 2021-06-14 15:44:51 +02:00
datatransferhandlers MWWikitextStringTransferHandler: Factor out Parsoid->DOM conversion 2021-01-20 19:49:27 +00:00
dialogs Fix incomplete template dialog event handling in new sidebar 2021-07-16 11:29:26 +00:00
elements Add icons to the show/hide button in the ExpandableContentElement 2021-06-29 08:33:22 +00:00
inspectors Remove @param/@return docs that literally repeat the code 2021-06-14 15:44:51 +02:00
pages Remove trash icons from the content view 2021-07-15 12:20:45 +02:00
styles Merge "Add parameter search to sidebar of VE TemplateDialog" 2021-07-16 10:06:15 +00:00
tools Document and use mw.Api parameter defaults 2021-07-12 09:13:59 +02:00
widgets Fix incomplete template dialog event handling in new sidebar 2021-07-16 11:29:26 +00:00
ve.ui.MWCommandRegistry.js Add command to insert non-breaking space 2021-04-08 00:09:35 +02:00
ve.ui.MWExtensionWindow.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ui.MWSequenceRegistry.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ui.MWSurface.js eslint: Enable the mediawiki/class-doc rule and make pass 2020-04-17 22:59:11 +01:00
ve.ui.MWTransclusionsBooklet.js Method for getting the currently selected element 2021-06-10 15:32:07 +02:00
ve.ui.MWWikitextCommandRegistry.js Add command to insert non-breaking space 2021-04-08 00:09:35 +02:00
ve.ui.MWWikitextDataTransferHandlerFactory.js build: Update eslint-config-wikimedia to 0.17.0 2020-08-18 13:16:49 +01:00
ve.ui.MWWikitextSequenceRegistry.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ui.MWWikitextSurface.js eslint: Enable the mediawiki/class-doc rule and make pass 2020-04-17 22:59:11 +01:00
ve.ui.MWWikitextTransferRegistry.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00