gchq / gchq/CyberChef

Feature request: Automatically scroll down for highlighted matches on large output data

Open
#1,386 2 comments 0 reactions 0 assignees View on GitHub
feature help wanted
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.