Repository navigation
Give immediate feedback on large repos - #163
Merged
Merged
Conversation
✅ Deploy Preview for preview-for-download-directory-github-io ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Agent-Logs-Url: https://github.com/download-directory/download-directory.github.io/sessions/c1e317da-bd62-4921-9431-761295f6be08 Co-authored-by: fregante <1402241+fregante@users.noreply.github.com>
Agent-Logs-Url: https://github.com/download-directory/download-directory.github.io/sessions/c1e317da-bd62-4921-9431-761295f6be08 Co-authored-by: fregante <1402241+fregante@users.noreply.github.com>
Agent-Logs-Url: https://github.com/download-directory/download-directory.github.io/sessions/c1e317da-bd62-4921-9431-761295f6be08 Co-authored-by: fregante <1402241+fregante@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix delayed feedback for large repository requests
Show immediate parsed-path feedback before large repository API calls
May 13, 2026
fregante
marked this pull request as ready for review
May 13, 2026 08:47
fregante
requested changes
May 13, 2026
Agent-Logs-Url: https://github.com/download-directory/download-directory.github.io/sessions/327891a9-2dcf-471d-abf5-6a2011fa09af Co-authored-by: fregante <1402241+fregante@users.noreply.github.com>
Contributor
Author
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Member
BeforeNotice how long it takes for any text to appear after the [Enter] Screen.Recording.2.movAfter"Repo" appears immediately, showing something is happening Screen.Recording.5.mov |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Large repository directory URLs could appear stalled for several seconds because no status was rendered until the first API response returned. This change surfaces parsed repository/directory information immediately, so users get instant feedback before network-bound listing begins.
Early, synchronous URL preview in UI flow
init()to render repo/directory status beforegetRepositoryInfo()and directory-list API calls.Extracted reusable preview parser
getRepositoryPreview(url)inrepository-info.tsto synchronously parse:userrepositoryNOT_A_REPOSITORY,NOT_A_DIRECTORY)Focused parser coverage
getRepositoryPreviewcovering invalid repo URL, non-directory URL shape, and encoded directory segments.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
fonts.googleapis.com/home/REDACTED/.cache/ms-playwright/chromium_headless_shell-1223/chrome-headless-shell-linux64/chrome-headless-shell /home/REDACTED/.cache/ms-playwright/chromium_headless_shell-1223/chrome-headless-shell-linux64/chrome-headless-shell --disable-field-trial-config --disable-REDACTED-networking --disable-REDACTED-timer-throttling --disable-REDACTEDing-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-REDACTED-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-edgeupdater --disable-extensions --disable-features=AvoidUnnecessaryBeforeUnloadCheckSync,BoundaryEventDispatchTracksNodeRemoval,DestroyProfileOnBrowserClose,DialMediaRouteProvider,GlobalMediaControls,HttpsUpgrades,LensOverlay,MediaRouter,PaintHolding,ThirdPartyStoragePartitioning,Transl(dns block)https://api.github.com/repos/refined-github/sandbox/opt/hostedtoolcache/node/24.14.1/x64/bin/node /opt/hostedtoolcache/node/24.14.1/x64/bin/node --conditions development --conditions node /home/REDACTED/work/download-directory.github.io/download-directory.github.io/node_modules/tinypool/dist/entry/process.js(http block)/opt/hostedtoolcache/node/24.14.1/x64/bin/node /opt/hostedtoolcache/node/24.14.1/x64/bin/node --conditions development --conditions node /home/REDACTED/work/download-directory.github.io/download-directory.github.io/node_modules/tinypool/dist/entry/process.js --local tnet/tools/sh credential.helpegit(http block)If you need me to access, download, or install something from one of these locations, you can either: