Page MenuHomePhabricator

[MEX] Spike - Reduce load for low data users
Open, Needs TriagePublic

Description

Target user for MEX is for wikidata editors who would like to edit on their mobile devices. Many mobile devices do not have a strong/reliable internet connection or large data packages.

Our current implementation involves loading templates twice and its unclear what we're asking devices to load at what point

Goal of this spike is to review how we're doing things and if we can improve the situation for low data users

  • If there are quick wins then they could be fixed as part of the spike
  • If there is a larger change needed, then this should be pulled into a new ticket

Risk: Premature optimization. Lets focus on keeping prototyping fast.
Are there two convos here? reduce load and double loading of templates. Maybe reduce load is better suited for M3- Editing Functionality

Acceptance Criteria

  • Spike results are reported in this ticket
  • The double load situation is confirmed as necessary or unnecessary

Timebox: 16 hours

Event Timeline

Not sure exactly how relevant this is for the ticket, but something I occasionally come across is discussions of the Islands Architecture - https://jasonformat.com/islands-architecture/ . It seems to speak to some of what our concerns here are, and there are some more recent resources for it: https://is-land.11ty.dev/ , including demos using Vue: https://is-land.11ty.dev/demo-vue .

Our current implementation involves loading templates twice

I’m not sure what this is referring to…

Arian_Bozorg subscribed.

There is double work happening:

  • the server renders the html templates
  • they are rerendered again with the front end code

Story writing notes:
This may be best to look at once we start working on once we begin on the editing functionality

This needs some more story writing