haskell / haskell/play-haskell

Allow specifying a set of lines in the URL to be highlighted in the UI

Open
#48 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Haskell
Stars
160
Forks
14
PR merge metrics
No merged PRs in 30d

Description

### Feature request

It's useful for emphasizing some parts of the code especially when people are asking for help. Similarly to how you can highlight a set of line in a URL via GitHub, like https://github.com/haskell/play-haskell/blob/master/hie.yaml#L9-L15

The UI for highlighting a URL could be similar to GitHub's, where it's different from text selection, and to highlight a single line you press on the line number on the left, and to highlight multiple lines you click on a line first then shift+click on a line to highlight the range of lines.

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by locating the URL handling and code-view UI, then compare the existing behavior with GitHub's line highlighting; done means line ranges can be encoded in URLs and selected through line-number clicks and shift-clicks.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
frontend, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.