Daniel Werner has uploaded a new change for review.

Change subject: (bug 43304) Selecting a Snak type will show UI changes
......................................................................

(bug 43304) Selecting a Snak type will show UI changes

* When choosing a certain Snak type in the selector, the change will be 
reflected in the UI. This
  change set includes some refactoring to the jQuery.snakview which is now 
using a plain object
  structure rather than wb.Snak internally. This allows for better handling of 
states where not
  all aspects of the Snak are defined yet. Also, strict separation between 
changes on the data
  and representation by drawing the view has been achieved.
* Includes refactoring of the snakview's variation strategies which do no have 
a value() function
  for setting/getting value and a draw() function without additional 
parameters. For information
  propagation to the variations, the new snakview.ViewState object has been 
introduced.
* Removed some code and TODOs not valid anymore or from before we had 
variations (different Snak
  types).

Change-Id: Ia479b2d56bcd45a2198f39616f444e6e8c3f49d7
---
M lib/resources/Resources.php
M lib/resources/jquery.wikibase/jquery.wikibase.claimview.js
A lib/resources/jquery.wikibase/jquery.wikibase.snakview.ViewState.js
M lib/resources/jquery.wikibase/jquery.wikibase.snakview.js
M 
lib/resources/jquery.wikibase/snakview.variations/snakview.variations.NoValue.js
M 
lib/resources/jquery.wikibase/snakview.variations/snakview.variations.SomeValue.js
M lib/resources/jquery.wikibase/snakview.variations/snakview.variations.Value.js
M 
lib/resources/jquery.wikibase/snakview.variations/snakview.variations.Variation.js
M lib/resources/wikibase.datamodel/wikibase.Snak.js
M repo/Wikibase.i18n.php
10 files changed, 379 insertions(+), 198 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/81/43781/1
--
To view, visit https://gerrit.wikimedia.org/r/43781
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia479b2d56bcd45a2198f39616f444e6e8c3f49d7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Daniel Werner <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to