briefercloud / briefercloud/briefer
use in sql/python should scroll to block
- Dominant language
- TypeScript
- Stars
- 4.3k
- Forks
- 290
- PR merge metrics
- No merged PRs in 30d
Description
Right now, when adding a SQL or Python block from the "Files" panel, the editor does not scroll to the newly added block.
How to reproduce:
1. Create a document and start editing, add blocks until they cover the whole screen and scroll up
2. Click on "files" in the bottom bar
3. Upload a file and click the "Use in SQL" or "Use in Python" buttons
4. Notice that it doesn't scroll to the new block, you have to scroll manually
Desired behavior:
The editor should scroll towards the newly added block, making it immediately visible.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the issue with the Files panel's “Use in SQL” and “Use in Python” buttons, then locate the handlers that add blocks to the editor and its scrolling behavior. Done means the editor automatically scrolls far enough for the newly added block to be immediately visible in both cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, sql, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100