nushell / nushell/nushell.github.io

Pages won't load after a period of time

Open
#2,194 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
258
Forks
561
Avg merge
3h 20m
Merged PRs (30d)
15

Description

Repro:

  1. open some page of the book
  2. wait a couple of days
  3. get back to that tab
  4. try to open another page (e.g. the next one)
  5. it won't load, showing you a fake-ish progress bar on the top which never completes

It should either work as expected, or at least fail quickly and prompt to reload the tab (or maybe reload the tab by itself, idk if that's a thing).

Firefox 152, both Desktop and Mobile.

My humble opinion on vuepress While your website styling looks nice, the overall site not as clean and "balanced" as a simple mdbook. I've never ran into issues like this one with mdbook and I can also see that it's working much better on mobile when you use landscape orientation: I tested both on iPad and on my Android smartphone and found out that 1. Vuepress sites doen't collapse the header despite it uses a lot of screen estate in such scenario. 2. The sidebar is always shown without the ability to hide it - same behavior as in desktop version. 3. "go up button" is overlapping "next page" button when you're at the end of the page, etc.

I've had a very similar experience with https://sotrh.github.io/learn-wgpu/ which also uses vuepress, except it was even more basic.
I appreciate the effort, just want to indicate that the experience can be made better without spending much resource.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure in Firefox 152: open a book page, leave the tab for a couple of days, then try to open another page. Trace the page-loading flow from the site entry point; done means navigation completes normally or fails quickly with a reload prompt instead of leaving an endless progress bar.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.