Page MenuHomePhabricator

Create Vuex Store
Closed, ResolvedPublic

Description

  • Create store structure and instantiate a single store at page ready time
    • what should store look like?
    • statement guid -> (statement tainted: true/false)

-> business logic is outside of vue. Might be easier to do statistics without making changes visible to the user

  • statement guid -> (statement data at page ready time) + ( current statement data)

-> business logic is in vue might be easier to get the right data available in the popper etc..

Decision on which option to chose is left to the implementer. Please leave details in the task why you picked which one.

Event Timeline

Decision was made to just store a boolean "taintedness" of statements for now. This was doing to avoid "You ain't gonna need it" for having a store full of complete statement data.

Change 541427 had a related patch set uploaded (by Tarrow; owner: Tarrow):
[mediawiki/extensions/Wikibase@master] Create Vuex store

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

Change 541427 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Create Vuex store

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

hoo subscribed.

I think we're done here (the scope of this seems to be limited to just creating the store… and we did just that).