Skip to content
This repository was archived by the owner on Nov 23, 2026. It is now read-only.

[full-ci] Internalize app provider - #5805

Merged
kulmann merged 4 commits into
masterfrom
09092021_app-provider
Oct 1, 2021
Merged

kulmann merged 4 commits into
masterfrom
09092021_app-provider

Conversation

@pascalwengerter

@pascalwengerter pascalwengerter commented Sep 14, 2021 •

Copy link
Copy Markdown
Contributor

Description

Supersedes #5712

Related Issue

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist:

@update-docs

update-docs Bot commented Sep 14, 2021

Copy link
Copy Markdown

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@pascalwengerter
pascalwengerter force-pushed the 09092021_app-provider branch 4 times, most recently from d835fa5 to 091904e Compare September 20, 2021 12:17
@ownclouders

Copy link
Copy Markdown
Contributor

Results for oC10SharingInternalGroupsSharingIndicator https://drone.owncloud.com/owncloud/web/19115/24/1
The following scenarios passed on retry:

  • webUISharingInternalGroupsToRootSharingIndicator/shareWithGroups.feature:104
    💥 The acceptance tests pipeline failed. The build has been cancelled.

@pascalwengerter pascalwengerter mentioned this pull request Sep 21, 2021
7 tasks
Comment thread packages/web-app-external/src/App.vue Resolved
Comment thread packages/web-app-external/src/App.vue Resolved
Comment thread packages/web-app-external/src/App.vue Resolved
@pascalwengerter
pascalwengerter force-pushed the 09092021_app-provider branch 2 times, most recently from 68239a2 to 091d53d Compare September 29, 2021 13:44
@pascalwengerter
pascalwengerter marked this pull request as ready for review September 29, 2021 13:46
@pascalwengerter

Copy link
Copy Markdown
Contributor Author

To test this, please use the dockerized setup from https://github.com/owncloud/ocis/tree/master/deployments/examples/ocis_wopi, add the "external" app to the web config and link the web from this PR

@ownclouders

Copy link
Copy Markdown
Contributor

Results for oCISSharingInternalGroups https://drone.owncloud.com/owncloud/web/19280/54/1
💥 The acceptance tests pipeline failed. The build has been cancelled.

@ownclouders

Copy link
Copy Markdown
Contributor

Results for oCISBasic https://drone.owncloud.com/owncloud/web/19282/47/1
💥 The acceptance tests pipeline failed. The build has been cancelled.

@ownclouders

Copy link
Copy Markdown
Contributor

Results for oCISBasic https://drone.owncloud.com/owncloud/web/19283/47/1
💥 The acceptance tests pipeline failed. The build has been cancelled.

@pascalwengerter pascalwengerter changed the title Internalize app provider [full-ci] Internalize app provider Sep 29, 2021
@ownclouders

Copy link
Copy Markdown
Contributor

Results for oC10SharingInternalUsersSharingIndicator https://drone.owncloud.com/owncloud/web/19290/28/1
The following scenarios passed on retry:

  • webUISharingInternalUsersSharingIndicator/shareWithUsers.feature:154

@ownclouders

Copy link
Copy Markdown
Contributor

Results for oC10SharingAccept https://drone.owncloud.com/owncloud/web/19290/11/1
The following scenarios passed on retry:

  • webUISharingAcceptSharesToRoot/acceptShares.feature:108

const availableExternalAppActions = this.$_fileActions_loadApps(resource)

for (const action of availableExternalAppActions) {
action.handler = () => this.$_fileActions_openLink(action.name, resource.fileId)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we move the app name from the route (`ocis.owncloud.test/#/external/Collabora/MTI4....) in a query parameter (ocis.owncloud.test/#/external/MTI4...?app=Collabora), we could skip it.

Calling /app/open without a app_name query parameter already opens it in the default application.
Additionally we also could add information on the /app/list endpoint, which application is the default.

@wkloucek

Copy link
Copy Markdown
Contributor

Great work, works like a charm for me! I like it especially with the right-click-menu 😍

Having a meaning full title bar would be great though. The current text is not really helpfull:
image

Comment thread packages/web-app-external/src/App.vue Resolved
}
}

const providerSuccessResponseGet = {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Responses with a method GET may also provide headers.

{
    "app-url": "jupyterlabs.owncloud.com/src=...",
    "method": "GET",
    "headers": {
        "user-language": "en",
        "user-session-id": 1234
    }
}

Source: cs3org/reva#1923 (comment), https://github.com/cs3org/go-cs3apis/blob/cb9e3c99f8dea052b9395ea84d468c0c3cfa93e7/cs3/app/provider/v1beta1/resources.pb.go#L38

@wkloucek

Copy link
Copy Markdown
Contributor

One more idea: I would find it helpful to have an ownCloud logo in the top bar, so that I clearly notice that I am within ownCloud.

For eg. CodiMD this is currently a bit hard in my opinion.

image

Collabora on oC10 looks like that, an you clearly notice that you're within ownCloud
image

@wkloucek

Copy link
Copy Markdown
Contributor

During testing I also had some hidden right click menus, but this should be an separate ticket?

Peek.2021-09-30.09-06.mp4

@pascalwengerter

Copy link
Copy Markdown
Contributor Author

During testing I also had some hidden right click menus, but this should be an separate ticket?
Peek.2021-09-30.09-06.mp4

Thanks, already tracked in #5845

@pascalwengerter

Copy link
Copy Markdown
Contributor Author

One more idea: I would find it helpful to have an ownCloud logo in the top bar, so that I clearly notice that I am within ownCloud.

For eg. CodiMD this is currently a bit hard in my opinion.

image

Collabora on oC10 looks like that, an you clearly notice that you're within ownCloud image

Agreed, I've always kinda been waiting for the great redesign to finally get around doing this. Feel free to open a dedicated ticket (in the ODS) since this is independent of the app provider ;)

@wkloucek

Copy link
Copy Markdown
Contributor

I just saw that there are always scrollbars on the right and that you don't see the full iframe. Looks like the iframe is too high.

Peek.2021-09-30.12-55.mp4

Comment thread config/config.json.sample-ocis Resolved
Comment thread dev/docker/ocis.web.config.json Resolved
Comment thread packages/web-app-external/package.json Resolved
Comment thread packages/web-app-external/src/index.js Resolved
@sonarqubecloud

sonarqubecloud Bot commented Oct 1, 2021

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 5 Code Smells

58.6% 58.6% Coverage
0.0% 0.0% Duplication

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

<hr> inside <ul> in ContextMenu is an a11y-offense

4 participants