-
Notifications
You must be signed in to change notification settings - Fork 54
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
feat(f2v): Move to new file actions api #1878
Conversation
5a9c43b
to
fa7d39d
Compare
@@ -270,7 +271,7 @@ export default { | |||
isSidebarShown: false, | |||
isFullscreenMode: false, | |||
canSwipe: true, | |||
isStandalone: !(OCA && OCA.Files && 'fileActions' in OCA.Files), | |||
isStandalone: !(OCA && OCA.Files && 'fileActions' in OCA.Files), // FIXME this probably needs some adjustment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left this comment intentionally, as i think we'll need to adjust this as soon as the old code bits are dropped and public share links are switched as well. We'll need a different approach then
Let's see what CI thinks about this, seems to do the trick so far |
fa7d39d
to
aca0c3a
Compare
@skjnldsv Is there a tracking task for migrating the public share file list and is that on the plan for 28? Otherwise we'd still keep both approaches in here |
nextcloud/server#39914, added it on top |
3866a5d
to
239450b
Compare
f197ff7
to
a8a0555
Compare
Things that are still failing:
There's probably more but i think these account for 90% of the failures. |
Mainly because there it still uses the old file actions api #1878 (comment) |
09d7be1
to
a9291f2
Compare
Signed-off-by: Julius Härtl <[email protected]>
Signed-off-by: Julius Härtl <[email protected]>
Signed-off-by: Max <[email protected]>
Add aliases to supported `_mimetypes` in `registerHandler`. Otherwise files of the aliase mimetypes can not be opened in Viewer. Signed-off-by: Max <[email protected]>
Public shares still use the old mechanism. Lets keep it available until shares have also been migrated. Signed-off-by: Max <[email protected]>
There is no direct link to the share tab right now. Signed-off-by: Max <[email protected]>
81e515a
to
3aa3bfc
Compare
Snapshots should be automatically updated after https://github.com/nextcloud/viewer/blob/master/.github/workflows/cypress-snapshot-update.yml |
Didn't see your comment |
Can you explain why do we still need the |
I've seen this before. iirc it's when we logout too fast. There is an error thrown somewhere in the Files app. I need to catch it 🤔 |
Only temporarily until the public pages are migrated to vue as well. Otherwise we would loose a lot of test coverage in text, collabora so having this intermediate step would save us from lots of effort on checking test failures or skipping those tests and not having those covered for now |
Alright! |
This comment was marked as resolved.
This comment was marked as resolved.
Signed-off-by: John Molakvoæ <[email protected]>
First draft for making viewer working again after nextcloud/server#39808 was merged