Changing Pages Causes Full Page Refresh
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- frontend
Research direction
Start by locating the page selector in /annotator and the tpen-project-header page turnery, then trace their current location.href navigation and page-selected event flow. Review the related components and interfaces needed for dynamic page loading. Done means navigation uses history.pushState(), fetches new page data, and re-renders annotations without a full page reload.
Written by the indexing model from the issue text.
Description
SPA-style Navigation
The page selector component used in /annotator and the tpen-project-header page turnery currently cause a full page reload on navigation via location.href. For a smoother user experience in the future, consider implementing SPA-style navigation:
Listen for a page-selected event and do the following:
- Update the URL via
history.pushState()instead oflocation.href - Fetch new page data dynamically
- Re-render the annotations without a full page reload
This would require architectural changes to support dynamic page loading in related components and interfaces, but would significantly improve the UX for users navigating between pages frequently.
- Dominant language
- JavaScript
- Stars
- 2
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from CenterForDigitalHumanities/TPEN-interfaces
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
License link borkedOpen
Difficulty 1/5 Under an hour Newbie friendliness 68/100
All issues in CenterForDigitalHumanities/TPEN-interfaces
Similar issues
-
bug/1-unconfirmed kind/bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 74/100
521xueweihan/HelloGitHub#4010 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Maintainers usually reply within 1 day
-
BUG
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
[BUG]: filesystem-edit-file converts a CRLF file's line endings to LF on every editPossibly taken @MohammadHijjawi97 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Mintplex-Labs/anything-llm#6755 ·
Maintainers usually reply within 1 day