You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Done statically in the theme json, no server is involved
Why did you go with the theme.json instead of returning the iconnames from the server? Please document the reasoning here.
Solution seems to be suboptimal to me. We have customers with a custom theme. They will need to adapt thir theme with the next release, which doesn't feel right.
since the icon is something visually we’ve decided to ship that via the theme.json.
Currently a manual change is needed, we also discussed if the server should take care of injecting the icons there, for the moment we’ve decided to not do that. But I’m absolutely fine implementing such a thing (theme pre processing).
Let me know what you think, even if we decide to have something else, in my opinion it’s great to give the user the ability to have it in the theme since it’s for me the single source of truth for everything that’s visually
As long as we don't support exchanging the entire icon set (I don't see that coming!) it's fine for the server to return the icon names. That's by far the simplest solution I can think of. Having a path in the theme even contradicts the way web currently loads its icons (which is.... by name, not by path).
I don't have a current status on the cross client compatibility (i.e. are the remixicons available in all clients). IMO that should be the case but I doubt that we followed through with it.
What you describe sounds like a cool thing to have in the future (theme preprocessing makes a lot of sense) but theming is not our current product focus so for what we currently have it sounds overengineered. 🙈
Activity
fschade commentedon Apr 19, 2024
Done statically in the theme json, no server is involved
kulmann commentedon Apr 20, 2024
Why did you go with the theme.json instead of returning the iconnames from the server? Please document the reasoning here.
Solution seems to be suboptimal to me. We have customers with a custom theme. They will need to adapt thir theme with the next release, which doesn't feel right.
fschade commentedon Apr 20, 2024
since the icon is something visually we’ve decided to ship that via the theme.json.
Currently a manual change is needed, we also discussed if the server should take care of injecting the icons there, for the moment we’ve decided to not do that. But I’m absolutely fine implementing such a thing (theme pre processing).
Let me know what you think, even if we decide to have something else, in my opinion it’s great to give the user the ability to have it in the theme since it’s for me the single source of truth for everything that’s visually
kulmann commentedon Apr 21, 2024
As long as we don't support exchanging the entire icon set (I don't see that coming!) it's fine for the server to return the icon names. That's by far the simplest solution I can think of. Having a path in the theme even contradicts the way web currently loads its icons (which is.... by name, not by path).
I don't have a current status on the cross client compatibility (i.e. are the remixicons available in all clients). IMO that should be the case but I doubt that we followed through with it.
What you describe sounds like a cool thing to have in the future (theme preprocessing makes a lot of sense) but theming is not our current product focus so for what we currently have it sounds overengineered. 🙈
fschade commentedon Apr 21, 2024
Let’s revisit that topic tomorrow after the standup, I’m sure we find a way to make it wow 🤩
kulmann commentedon Apr 22, 2024
Please note: owncloud/web#10801 (comment)
fschade commentedon Apr 24, 2024
we decided to add a follow up issue which adds a theme processor and ensures defaults.
closed