-
Notifications
You must be signed in to change notification settings - Fork 66
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
Vue settings modal #1265
Comments
Hi! I was asked to work on this issue, but am struggling to understand which Vue components are being mounted on the relevant PHP in the templates and how to work with the files in the js-folder. I'd appreciate it greatly if I could get some help with understanding the setup of the codebase better so I can work on this. @Pytal |
The current settings are in activity/templates/stream.app.navigation.php Lines 42 to 64 in e258138
The markup above will have to be replaced with a mount point for the Vue component You can mount your component by creating a new js file like https://github.com/nextcloud/activity/blob/e25813860dcb8f04f5d029d24cdf45bb10973aa9/src/settings-personal.js and adding an entry for it in https://github.com/nextcloud/activity/blob/e25813860dcb8f04f5d029d24cdf45bb10973aa9/webpack.js Then you can install the dependencies compile the code with |
@Pytal are you sure we need a modal for exactly one setting? The settings accordion button only contains the RSS link + a link to the settings app. |
Was the standard for app settings but feel free to move it elsewhere @susnux :) |
Settings are currently in an accordion and should be moved into a modal using https://github.com/nextcloud/nextcloud-vue components
The text was updated successfully, but these errors were encountered: