Page MenuHomePhabricator

Modeling new code architecture for SiteLink UI
Closed, ResolvedPublic

Description

Find out how to organize JS code for the new sitelink UI.


Version: unspecified
Severity: normal
Whiteboard: u=dev c=frontend p=5 s=2014-07-29

Details

Reference
bz68904

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:39 AM
bzimport set Reference to bz68904.
bzimport added a subscriber: Unknown Object (MLST).

Short reference: The stucture will be similiar to the existing ones (e.g. claimlistview - claimview):
New widgets will be:

  • $.wikibase.sitelinklistview
  • $.wikibase.sitelinkview

$.wikibase.sitelinklistview will make use of the existing $.wikibase.listview to manage $.wikibase.sitelinkview widgets.
In the future, there probably should be an additional layer to manage $.sitelinklistview widgets of different site link groups (compare to $.wikibase.claimgrouplistview).