Page MenuHomePhabricator

spike: implement the impact module with Vue (no Codex)
Closed, DeclinedPublic

Description

The upcoming positive reinforcement features will require to intensively re-work at least the UI of the impact module, see feature summary. Looking at the figma designs it seems that we will be reusing very few or none components from Codex library. We can think of implementing the module with Vue 3 custom components and styles ( pulling Codex design.tokens if needed or convenient ).

Mind that this task is subject to the outcome of T301128: research: Understand how current and new users of Growth features would be affected by switching to Vue

Acceptance criteria

  • The Impact module uses Vue 3
  • The Impact module renders an intial HTML document with significant content before any JS or Vue loads
  • The Impact module works for both desktop and mobile
  • [Nice to have] The Impact module uses a Mustache template similar to the components in Vue
  • ...

Event Timeline

Sgs triaged this task as Lowest priority.Jun 8 2022, 5:36 PM
Sgs created this task.

Change 804007 had a related patch set uploaded (by Sergio Gimeno; author: Sergio Gimeno):

[mediawiki/extensions/GrowthExperiments@master] [WIP] Vue migration: impact module

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

Change 804007 abandoned by Sergio Gimeno:

[mediawiki/extensions/GrowthExperiments@master] [WIP] Impact module: refactor to use mustache templates

Reason:

Not a priority right now.

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

After a conversation with @kostajh we decided that even if Mustache templates could improve the current status-quo for server side rendering it's not in our priorities to invest time on this. We accept that we'll have some empty views where we used to show some HTML until the browser loads the JS scripts.