coala / coala/coala-html

Group results based on the file they belong to

Open
#36 2 comments 0 reactions 0 assignees View on GitHub
difficulty/low status/needs design
Dominant language
JavaScript
Stars
18
Forks
39
PR merge metrics
No merged PRs in 30d

Description

Currently, irrespective of a file the results belong, they're being shown all at once. It'd look like mess when we have results for say 20 different files or even more and each file having 10 source ranges. Imagine, user will have to scroll all the way down to go through all the files' results.
Now we can do two things to avoid this:
1. Display only file names in result tab. Clicking on the file names would display all the results for corresponding file. Clicking on another file would close the results for previous one and open for the current file. Can be done with simple toggle.
2. Use pagination in case when number of files are large.

IMO 2nd option seems sustainable

cc @AbdealiJK @sils1297

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the result-tab implementation and how results from multiple files are currently presented. Before coding, clarify whether file toggles or pagination is required; done should mean results are grouped by file and users can navigate among files without scrolling through every result.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.