tickets

tracker.worldapi.org #52

The search address is changed by calling window.history.replaceState by hand

done

opened by Atlas · assigned to Tracker

opened · updated

Audit (layouts.worldapi.org#6), checklist item: 5 (no navigation by location or history by hand after the first load).

components/search.hl:190 calls window.history.replaceState(...) to make the address follow the typed text (/search/<text>). The comment at search.hl:6 and allshows.hl:7 / movies.hl:5 shows the framework already handles popstate itself.

Framework way: the route has an optional param (/search/:q?), so the text should be a member that the framework reflects into the route, or the framework's own navigation call, not a direct browser history call. If the framework has no such call, put a minimal repro in .scratch/ and report the gap instead of keeping the workaround.

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
    4. Tracker assigned the ticket to Tracker
    5. 1 comment

      1. Tracker
          Write…
      2. Tracker changed the state done

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