Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[full-ci] url stability. open file through Collabora #10420

Merged
merged 1 commit into from
Jan 30, 2024

Conversation

ScharfViktor
Copy link
Contributor

part of #9897

check that file can be open in Collabora via url. client feature:

Screenshot 2024-01-29 at 21 36 03

Copy link

update-docs bot commented Jan 29, 2024

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.

@@ -29,9 +30,12 @@ export const navigateToDetailsPanelOfResource = async (
}

export const openResourceViaUrl = async (args: openResourceViaUrlArgs) => {
const { page, resource, user, space } = args
const { page, resource, user, space, collabora } = args
Copy link
Contributor

Choose a reason for hiding this comment

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

Wouldn't it make sense to pass the editor name as variable instead of a boolean? When want to test the same for OnlyOffice, don't we? 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I just didn't find way how to open file in the OnlyOffice using url (wanted to ask about it tomorrow.)
Even if I set the app=OnlyOffice parameter, the file still opens in collabora

https://ocis.owncloud.test/external/open-with-web?app=OnlyOffice&fileId=fileuuId

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I spoke with @JammingBen. Looks like it's a bug

Wouldn't it make sense to pass the editor name as variable instead of a boolean? When want to test the same for OnlyOffice, don't we?

sure, I'll change it

Copy link
Contributor

Choose a reason for hiding this comment

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

That would be another regression, right? Super important to have the test for both Collabora and OnlyOffice then 😁

Copy link
Contributor Author

Choose a reason for hiding this comment

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

created bug for that: #10422

@ScharfViktor ScharfViktor force-pushed the openFilethroughCollabora branch from 10aa645 to c9e307a Compare January 30, 2024 09:28
@ScharfViktor ScharfViktor force-pushed the openFilethroughCollabora branch from c9e307a to fbe7927 Compare January 30, 2024 10:56
Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@ScharfViktor
Copy link
Contributor Author

while the tests are like this
.odt I open via Collabora
.docx I open via OnlyOffice

after fixing #10422 I'll add tests where I can open one file format in the different editor

Copy link
Member

@saw-jan saw-jan left a comment

Choose a reason for hiding this comment

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

LGTM

@ScharfViktor ScharfViktor merged commit 159ffb8 into master Jan 30, 2024
3 checks passed
@delete-merged-branch delete-merged-branch bot deleted the openFilethroughCollabora branch January 30, 2024 12:37
S-Panta added a commit that referenced this pull request Feb 22, 2024
url stability. open file through Collabora (#10420)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants