Some time ago I created an unpublished app that allows a user to use a simple form to write a specific file to a folder by using the sidebar. Simplified here’s what it does:
- Registers a new tab view in the sidebar if selected item is a directory
- Shows a form to enter some information in the tab view
- Sends the information to a Nextcloud REST endpoint
- Backend saves a specific file to the folder with the user input properly formatted for an external script
However, I’ve been adapting a lot of code from the versions app back then.
Now I’d like to update the app, because some JS APIs broke over time. But I’d like to do so in a future-proof way. Actually, I’d like to mount a Vue component into a tab view. Is that even possible? Is there any app that does that already?
registerTabView is now deprecated. But no-where it says how to register your tab view instead. Core apps still seem to be using it on
master. How’s the way forward? Where do I find references to the future of interacting with the filelist?
Also, @skjnldsv, you’ve been editing the sidebar class recently and added the warning or moved it over to a new version (https://github.com/nextcloud/server/blame/cb2695df8d47f9d5b08a7d6f1a9dbc55f63b6e59/apps/files/js/filelist.js#L3700). Hope I’m allowe to ping you. Can you help?