parse-community / parse-community/parse-dashboard

Add JS API console auto-scrolling to bottom

Open
#2,452 8 comments 0 reactions 0 assignees View on GitHub

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
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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.