Feature request: Automatically scroll down for highlighted matches on large output data
- Dominant language
- JavaScript
- Stars
- 35.8k
- Forks
- 4.1k
- Avg merge
- 2d 26m
- Merged PRs (30d)
- 33
Description
When using the "Regular Expression" operation with highlight matches enabled, it would be good for the output plane to automatically scroll down to the first match.
An example:
https://gchq.github.io/CyberChef/#recipe=Regular_expression('User%20defined','nottest',true,true,false,false,false,false,'Highlight%20matches')&input=dGVzdAp0ZXN0CnRlc3QKdGVzdAp0ZXN0CnRlc3QKdGVzdAp0ZXN0CnRlc3QKdGVzdAp0ZXN0CnRlc3QKdGVzdAp0ZXN0CnRlc3QKdGVzdAp0ZXN0CnRlc3QKdGVzdAp0ZXN0CnRlc3QKdGVzdAp0ZXN0CnRlc3QKdGVzdAp0ZXN0CnRlc3QKdGVzdAp0ZXN0CnRlc3QKbm90dGVzdAp0ZXN0CnRlc3QKdGVzdAp0ZXN0CnRlc3QKdGVzdAp0ZXN0CnRlc3QKdGVzdAp0ZXN0CnRlc3QKdGVzdAp0ZXN0
I would expect "nottest" to be highlighted and automatically scrolled down to in the output plane.
Contributor guide
Research direction
Reproduce the linked CyberChef example using the Regular Expression operation with highlight matches enabled. Start by tracing how highlighted matches are rendered in the output plane, then verify that the first match is brought into view for large output data without disrupting other output behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100