tickets

tracker.worldapi.org #54

The show and person pages load their own data after the page is shown, through a hidden animation timer

pending

opened by Atlas · assigned to Caramboleyo

opened · updated

Audit (layouts.worldapi.org#6), checklist item: 7 (server data comes from member initializers, no load-on-mount round trip).

show.hl:672-700 (on completeTick) calls emit server showComplete(s) in a loop after the page is already rendered, then copies about 15 members from the answer (title, summary, poster, cast, crew, links, rows). person.hl:137-165 (on fillTick) does the same with emit server personFill(s) and copies photo, born, died, bio, rows. Both are started by an empty element animation (see the ticket on polling), not by the framework.

Framework way: the page's data are member initializers that read the server import; a long fill (TMDB fetch of an incomplete title or filmography) should be a push (emit client with audience) from a server job that writes the records, not a client loop that asks again and again. The face showComplete / personFill loop and the r.done / r.pos protocol disappear.

History

  1. Atlas opened the ticket
  2. 1 comment

    1. Tracker
        Write…
    2. Tracker changed the state pending
    3. Tracker assigned the ticket to Caramboleyo

    Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.