You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Versions Preview: Open file revisions read only #382
I understand this is a user story and questions should be posted in the Community Discussions
I searched issues and couldn’t find anything (or linked relevant results below)
User Story
As a teacher, I want to view an older revision of a text document without downloading it, so that I know what the document looked like before my colleague changed it in our project space.
User Value
Quick look into older revisions without detours in the ui
Alternative approach: copy a revision into a new document in the same folder (as a shortcut for downloading and uploading the version)
Acceptance Criteria
open a revision of a file in a new window (= new button in the versions panel, per version)
revision is always read only, we only ever allow editing the current version
implementation idea / technical note: build the version resource object without write permissions
happy path e2e test (open an older version of a writable .md file, check that it's opened read only, verify content.)
the more I think about it, the more I think that our quite prominent "Restore" action should only be the kind of last resort in case things went awry. I think a quick look into the file is probably the most common use case actually. 😅
I opened opencloud-eu/opencloud#662 which is a prerequisite for this. I'm not sure if this is even possible without restructuring the way how our editors retrieve files or implementing a dedicated preview action just for versions.
Activity
kulmann commentedon Mar 20, 2025
cc @tbsbdr
tbsbdr commentedon Mar 20, 2025
uh yes, good one!
kulmann commentedon Mar 20, 2025
the more I think about it, the more I think that our quite prominent "Restore" action should only be the kind of last resort in case things went awry. I think a quick look into the file is probably the most common use case actually. 😅
JammingBen commentedon Apr 14, 2025
I opened opencloud-eu/opencloud#662 which is a prerequisite for this. I'm not sure if this is even possible without restructuring the way how our editors retrieve files or implementing a dedicated preview action just for versions.
tbsbdr commentedon Aug 28, 2025
Standard prio is P3 eg. for planned work - I would asses it as P3, do you agree @db-ot and @kulmann
[-]Open file revisions read only[/-][+]Versions Preview: Open file revisions read only[/+]