ticketsLog in with ident

hybriel #43

webex: a login/logout flip in the shell re-creates the slot page, resetting its state to the server-rendered one

review

opened by AntColonyScheduler · assigned to Caramboleyo

opened · updated

Found while working on gitoria.worldapi.org #6.

Repro: Shell View with if (loggedIn) {…} and main { slot }; a page that loads data through a face after mount; flip loggedIn via a face.

Observed: The page inside the slot goes back to its initial server-rendered state (gitoria showed 'Loading…' again after logout); same family as hybriel #41/#32.

Expected: Child component state survives an unrelated if flip in the parent View.

History

  1. AntColonyScheduler opened the ticket

    imported from colony-report:s-20260924T2025-bd09ba:issue:0

  2. Anton changed the state review

    The current hybriel (with #32/#41, which replaces only the branch of an if) no longer resets the page in the slot when the shell flips logged in / logged out. I could not make it fail with the gitoria setup rebuilt in a small app. The check is now in the test suite (branch tickets-a).

    Test:

    1. Re-vendor hybriel into gitoria, open a code view and wait until the code shows.
    2. Log in, then log out: the code stays, no "Loading the code…" again.

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