owncloud / owncloud/ocis

Expose link to Versions web UI via AppProvider for clients

Open
#2,792 2 comments 0 reactions 0 assignees View on GitHub
Category:Technical Platform:Desktop Platform:oCIS Platform:Web Topic:API Type:Technical-Debt
Dominant language
Go
Stars
2.1k
Forks
274
Avg merge
2d 1h
Merged PRs (30d)
103

Description

## Is your feature request related to a problem? Please describe.

Desktop client doesn't have native Versions feature, but with oC10.2+ and client version 2.6+, it can open the Versions web UI for every file, with a click in the context menu.

- Desktop 2.6+ client checks capabilities if `"versioning" : true,` and `"privateLinksDetailsParam" : true`
- opens hardcoded `http://host/owncloud/f/$fileId?details=$tabId`

![Bildschirmfoto 2021-11-18 um 11 33 54](https://user-images.githubusercontent.com/214010/142399486-eadc2b73-41f5-4fb4-b7f6-a0d00465d73c.png)

![Bildschirmfoto 2021-11-18 um 11 40 44](https://user-images.githubusercontent.com/214010/142400346-1cc33bbf-3bee-4f25-aaa3-5a489006ea6c.png)

## Describe the solution you'd like

A cleaner approach would be, to expose the Versions feature in the new web UI via the AppProvider, then clients display it as an additional entry in their file action menu, and the AppProvider also dynamically returns the link that opens the web UI in the defined state.

## Describe alternatives you've considered

Otherwise new web UI would also need support for `http://host/owncloud/f/$fileId?details=$tabId`

## Additional context

Related:
- https://github.com/owncloud/client/issues/7196
- https://github.com/owncloud/core/pull/32152
- https://github.com/owncloud/docs/issues/265
- https://github.com/owncloud/ocis/issues/59
- https://github.com/owncloud/ocis/issues/2250

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.