parse-community / parse-community/parse-dashboard
Add JS API console auto-scrolling to bottom
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 3.8k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Description
New Issue Checklist
- I am not disclosing a vulnerability.
- I am not just asking a question.
- I have searched through existing issues.
- I can reproduce the issue with the latest versions of Parse Server and Parse Dashboard.
Issue Description
The JS console does not auto-scroll to the newest log entry at the bottom of the window. This makes it difficult to follow log output.
Steps to reproduce
Run
for (let i = 0; i<100; i++) {
console.log("x");
}
Actual Outcome
Newer log entries are not visible when the log window is full.
Expected Outcome
Scroll to newest entry at the bottom, if scroll position is at the bottom to begin with. The auto-scrolling to bottom should not occur when the window is not currently scrolled to the bottom.
Environment
Dashboard
- Parse Dashboard version:
5.2.0-alpha.11
Contributor guide
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.
Research direction
Start by locating the Parse Dashboard JS console component and the code that renders log entries, then reproduce the issue with the provided loop. Done means new entries remain visible when the view is already at the bottom, while adding entries does not change the scroll position when the user has scrolled up.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100