GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — perf(desktop): paint pull requests from saved data and read on intent by LHagfoss · Pull Request #3250 · LHagfoss/rustcode Conversation
Owner
WhatEvery pull request view asked the engine from nothing, so opening the panel, This adds one pull request store (
Idea and approach from T3 Code's PR panel work in
ChangelogThe pull request panel, its detail and the review view draw from saved answers and refresh behind, so opening one no longer waits on Testing
Closes #
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsThe pull request panel, its detail and the review view's diff now read through one store (state/pullQueries.ts) instead of asking the engine on every open: an answer the app already holds paints at once and is read again behind, one read runs per key, and a list answer seeds each pull's header. Lists and details are saved on the device (8 projects, 40 details, a week, 1.5 MB) so a reload paints them too, and diffs stay in memory. A row the pointer or focus rests on for 150 ms reads its detail, the review view's pull segment reads that diff, and both use the same key as the click, so nothing is read twice. The panel's reload button spins only for a reload the user asked for; a background refresh shows nothing and the skeleton is left for a first read with nothing saved. A list of another state answers a state only as a stand-in: a filtered "All" list paints, and the state's own read runs unless that list was itself exhaustive, so the panel no longer shows a truncated state for the session; an exact state list always outranks a filtered one, and hasMore says when rows are hidden by narrowing or filtering. A reload the user asked for now says so when it fails (the drawn rows stay), while a refresh behind the panel stays quiet. The sidebar remembers a failed read for its TTL again, hydration from render no longer notifies subscribers mid-render, "Review…" waits for a detail read this session rather than a row or a saved copy, the saved file is serialized once per row, and its write waits 2 s. The mock gains a pull on feat/login-form so Review's pull segment can be reached. Uh oh!
There was an error while loading. Please reload this page.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersNo reviewsUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
performance
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |