opensafely-core / airlock

A tool to review & release outputs from an OpenSAFELY backend
Other
2 stars 0 forks source link

Workspace index improvements #146

Closed bloodearnest closed 7 months ago

bloodearnest commented 8 months ago

On TPP, there are a lot of workspaces.

On the workspace index, the user is presented with a seemingly unordered list. If they are output checker it is all workspaces.

We should add a sort order, probably alphabetical is simplest, athough sorting by "most recently had updated files" might be nice.

For output-checkers, they should probably just see their explicit workspaces here, rather than all workspaces. When performing a review, they can navigate to that release request's workspace using the link in the release-request page - they'll still have permission to access it.

LFISHER7 commented 8 months ago

I agree that as an output checker, the best way to navigate to a workspace is via a link the the release request. Not having to navigate through the long flat list of workspaces is a big selling point.

As a researcher, I'd like workspaces to be organised within projects, as they are on the jobs site. Ideally this wouldn't include the workspaces I have access to only for output checking.

bloodearnest commented 8 months ago

I'd like workspaces to be organised within projects

Airlock currently has no concept or understanding of projects, we'd need to re-jig the information we get from login to include these. Doable, but not trivial.