mediawiki-extensions-Visual.../.docs
Trevor Parscal bf254f44da UI "Views" refactor
Objective:

Make it possible for inspectors to inspect nodes or annotations, rather
than only annotations. Meanwhile, also make it possible for dialogs to
edit an annotation.

Strategy:

Switch from using type patterns to associate inspectors with annotations
to using arrays of classes, similar to how dialogs already work.
Introduce a view registry which provides lookups for relationships
between models and views. This is more centralized and less repetitive
than implement matching functions for both annotations and nodes in both
the dialog and inspector factories.

Changes:

*.php
* Added links to new file

ve.AnnotationAction.js
* Removed unused parameter to filter annotations using a string or regexp

ve.dm.AnnotationSet.js
* Switched from property/value arguments to callbacks

ve.ui.*(Dialog|Inspector).js
* Replaced type patterns with class lists
* Added class to view registry

ve.ui.*Tool.js, ve.ui.Context.js
* Updated model/view relationship lookup

ve.ui.*Factory.js
* Removed overly-specific lookup functions

ve.ui.Inspector.js
* Removed typePattern property
* Updated model/view relationship lookup

ve.ui.ViewRegistry.js
* New class!
* Migrated node and annotation lookup functions from factories

Change-Id: Ic2bbcf072fdd87e5ce8a03fe1ae3e6d8d50e2593
2013-04-18 15:53:50 -07:00
..
categories.json UI "Views" refactor 2013-04-18 15:53:50 -07:00
config.json UnicodeJS library to implement Unicode standards 2013-03-27 17:44:22 +00:00
eg-iframe.tpl Implement inline documentation examples. 2013-02-08 17:47:10 -08:00
external.js Docs: Add more @source links to external.js 2013-03-20 20:27:57 +01:00
generate.sh docgen: Disable parallel processing, suspected cause of Ruby segfaults 2013-04-15 22:32:26 +00:00
MetaTags.rb JSDuck: Generated code documentation! 2013-01-05 01:16:32 +01:00