opensafely-core / airlock

Other
2 stars 0 forks source link

Improve styles for file tree #417

Closed tomodwyer closed 3 months ago

tomodwyer commented 3 months ago

Before

After

rebkwok commented 3 months ago

In a request view, I have one supporting file (report.html) and one output file (bar.txt). When I go to the request, I'm looking at the top level of the request, so the top of the tree is highlighted blue. The supporting file is yellow, with the darker vertical bar on the left, but the output file isn't highlighted, which makes it seem like the supporting file is important in some way (or at least, it took me a few seconds to figure out what the highlighting meant, despite having just read the PR description).

image

tomodwyer commented 3 months ago

@rebkwok hmmm good point! It makes sense when each other file has a status too.

Let me remove that until we have the other colours and icons in place in the next PR.