Page MenuHomePhabricator

Inject shared lexeme store into the vue components that need to access it
Closed, ResolvedPublic

Description

  • shared lexeme vuex store should be created in ControllerViewFactory
    • injected into formsview ControllerViewFactory.js#138
    • injected into LexemeHeader
  • investigate the difficulty of storing lexeme objects in the vuex store

Related Objects

Event Timeline

Jakob_WMDE created this task.

Change 441878 had a related patch set uploaded (by Pablo Grass (WMDE); owner: Pablo Grass (WMDE)):
[mediawiki/extensions/WikibaseLexeme@master] WIP RepresentationWidget: vuex as data store

https://gerrit.wikimedia.org/r/441878

Vvjjkkii renamed this task from Inject shared lexeme store into the vue components that need to access it to m4aaaaaaaa.Jul 1 2018, 1:04 AM
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: gerritbot.

Change 441878 merged by jenkins-bot:
[mediawiki/extensions/WikibaseLexeme@master] RepresentationWidget: vuex as data store

https://gerrit.wikimedia.org/r/441878

Change 443637 had a related patch set uploaded (by Pablo Grass (WMDE); owner: Pablo Grass (WMDE)):
[mediawiki/extensions/WikibaseLexeme@master] lexemeformview: enforce properly injected value

https://gerrit.wikimedia.org/r/443637

Change 443637 merged by jenkins-bot:
[mediawiki/extensions/WikibaseLexeme@master] lexemeformview: enforce properly injected value

https://gerrit.wikimedia.org/r/443637

If we had such a process I'd mention in this situation that the change as we did it warrants a full regression test. /cc @Lydia_Pintscher @RazShuty

@Greta_Doci_WMDE: I just talked to Pablo about this. This has the potential to have broken some other things on the Lexeme UI. Could you take some time to do some edits on a Lexeme page and see if you come across anything weird? The code is deployed on https://wikidata.beta.wmflabs.org.

The only problem that I could notice till now is when you mouseover anywhere in the page but properties, this pop up is shown. If you click "go to this page" it will only reload the page.

mouse_hover.jpg (383×908 px, 23 KB)

Thanks! That is the page preview feature and isn't live on Wikidata. We have another ticket to fix that.