Replies: 6 comments 1 reply
-
Yes I do and I would say a way of configuring the sites color theme is important to me. I think a option to not change the full css but some base colors would also work. Here is what I use so far:
|
Beta Was this translation helpful? Give feedback.
-
I can’t speak for the general public, but as an application developer, a frontend rewrite in React and with TypeScript would improve development speed and comfort immensely. A „clean“ frontend (maybe in it’s own repo and bundled in like the admin) could benefit from unit and integration tests, shared components and a cleaner structure instead of multiple mega-files with hundreds of lines. I can barely imagine that instance admins would change much of the admin which cannot be changed with CSS or by swapping image assets, since the structure is too complicated already. |
Beta Was this translation helpful? Give feedback.
-
I don't want to discuss too much about the developer experience, since that's not really the concern. There's generally only a couple people who ever work on the frontend of Owncast, and that's far fewer than there are people running it. The tradeoffs are worth it if the users care about the flexibility, so that's why I'm asking if people care. But there are a couple things to clarify:
Keep in mind that would require people to have three projects up and running at any given time. That's a lot of overhead to get a full dev environment running.
There's nothing stopping us from doing any of that right now. Javascript is Javascript and while we can't share between the admin and the frontend right now for the reasons above, we absolutely can build whatever components in Preact and they work great.
If you use the admin as an example to model after, you can't make any changes to the images or CSS of the admin because it's all bundled in. |
Beta Was this translation helpful? Give feedback.
-
As an update, we're running a poll to hear directly from those people running Owncast if they're taking advantage of the frontend source files. Please answer this one question if you run Owncast, we want to hear from you! |
Beta Was this translation helpful? Give feedback.
-
Another option, though I'm not sure if it's a good one, is to have a internally bundled version of the frontend (just like we do with the admin), but allow people to override it by having a local copy on the filesystem. This would require people who want to make a simple HTML or Javascript change to have the entire web build tooling installed, however. While that would probably just be It's still unclear to me what people are editing in their raw source that they can't do via CSS, so if anybody has any examples, please let me know! |
Beta Was this translation helpful? Give feedback.
-
I am taking advantage of it and appreciate it very much. |
Beta Was this translation helpful? Give feedback.
-
Right now we go out of our way to ship raw HTML, CSS and Javascript so people can have full access to the complete frontend source and do whatever they want with it and customize their page. However, to do this we give up a lot.
So the question I want to ask is: Are all the things we're giving up worth it? Are people taking advantage of having the full source shipped with Owncast?
Beta Was this translation helpful? Give feedback.
All reactions