intersystems / intersystems/git-source-control

Git Web UI: Merge output quickly becomes unreadable

Open
#763 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
ObjectScript
Stars
22
Forks
14
Avg merge
1d 9h
Merged PRs (30d)
5

Description

I used the Git Web UI to pull down changes to a branch (checked out `main`, synced remote branches, merged `origin/main` into `main`). The resulting merge commit contained 7 new and 1 changed files (git output was 18 lines total), plus the corresponding "Input" actions logging which had 24 lines (for a total of 42 lines of output). There were new-lines within the text, but all of these were mashed together into a single line in the HTML view (because HTML does not recognize line breaks on their own)

This makes the output log extremely difficult for a human to visually skim. (My browser was maximized and the alert message box took up about 30%-40% of the vertical screen height.) In my experience, pulling down commit histories containing 3+ files is the norm.

A quick solution would be to place all this text inside a `

` element and give it a reasonable `max-height` (say 200-ish px) so large pulls/merges do not cause the alert notification region to completely overtake the view screen.  A better solution is probably to actually parse lines into an HTML equivalent (`
`, `
`, or `

`) so you get text wrapping too.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.