-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Apps files from theme are being ignored #5554
Comments
I've seen a number of other bugs on OwnCloud's github about this problem. Hopefully NextCloud can address this where OwnCloud has failed. owncloud/core#8626 |
In general I don't like to allow overwriting of our code. This is basically patching our code which could cause severe problems. cc @LukasReschke @nickvergessen @rullzer @nextcloud/theming I would vote for not allow such behaviour. If you want to mess with that code: apply patches - yes it is bad, but randomly replacing files from within a theme is not better at all. |
👍 |
Makes sense to remove support for that. But it should then also be removed from the documentation. |
Understood as to why this is on principal a bad idea. That being said, I would suggest to please limit the amount of times that inline CSS styles and image paths are created from JS files within apps. It makes it very hard to make a thorough visual theme since these paths are un-overridable without changing the JS file or creating some messy JS on my side to constantly check for and replace these assets |
Example being the breadcrumbs SVG home icon asset. Custom CSS does not affect this asset since it is an |
This is then a really specific problem and we need to work on this. Could you open an ticket, that describes this and then we can look into how to make theming this icon easier. |
There are other areas of the app that do this. For example, the colors of the values under the |
Steps to reproduce
Expected behaviour
Tell us what should happen
breadcrumb.js file in my theme should override the root file
Actual behaviour
Tell us what happens instead
NextCloud ignores my theme file
Server configuration
Operating system:
Web server:
Database:
PHP version:
Nextcloud version: (see Nextcloud admin page)
Updated from an older Nextcloud/ownCloud or fresh install:
Where did you install Nextcloud from:
Signing status:
Signing status
List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: local/smb/sftp/...
Are you using encryption: yes/no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
LDAP configuration (delete this part if not used)
LDAP config
Client configuration
Browser:
Operating system:
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
Browser log
Browser log
The text was updated successfully, but these errors were encountered: