-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
[Question/Request] Custom Page On Admin Panel #180
Comments
Hey @kjellherzke, thanks for checking out Sveltia CMS! It’s a good idea to have handy custom pages on the CMS. But I think I can work on it soonish, as Static CMS compatibility is planned after the 1.0 release, hopefully early next year. Technically speaking, I need to figure out how to integrate React with Svelte-based Sveltia CMS, which is also required for custom widgets. Alternatively, I could just add support for pages inside iframes. Anyway, I’ll put this on my todo list! |
Hey @kyoshino, I do understand that. Nevertheless I am questioning why you wouldn't want to primarily focus on Svelte-based extensions (mainly due to a more uniform code, and as this might be easier to implement), though I looked at this static cms documentation, showcasing the React component extension of static-cms. This ability to extend the cms would be essential and crucial for my current projects. I would be pleased to see progress on this in the feature and I would like to participate in its development, if you would acknowledge. Personally, the final idea for me is that the cms shall actually rather be part of an admin dashboard, then all of its content, if you understand me correctly. Although the cms is of course the actual provider of the admin ui, it should be extendible. Another question (regarding the local development of sveltia-cms, not the deployment/production): Could you provide information on how to contribute/setting up a clone? Because when I clone, install dependencies and run the development build, I receive an error during the "Site configuration is loading" process:
I suppose I have to create a Cheers! |
Integrating Svelte is rather hard, because the code has to be compiled. Compiling Svelte code on the fly is possible, but it’s a heavy process. I’m instead thinking about supporting Preact+HTM as I said somewhere else, which is easier to develop and run without a build process. And for backward compatibility with Netlify/Decap CMS, I need to implement React integration anyway. I’ll prepare developer docs after 1.0, because Sveltia CMS currently does not accept pull requests and I haven’t implemented the Test backend yet. That said, here’s what I’m doing to develop Sveltia CMS:
If you’re using a framework other than SvelteKit, you need to specify the site URL with the |
And I forgot to say: at this time, it’s possible to embed Sveltia CMS within your project using a custom mount element instead of embedding a custom page in the CMS. |
Great to hear, thank you very much for your replies. Personally, I guess I am going to try out and develop an extendable version of sveltia-cms, that fits my 'vision'. And if it works and looks good, I may inform you, if you insist. |
By the way, Sveltia CMS is currently migrating to Svelte 5. It’s a massive rewrite with over 2,500 lines of changes. If you want to extend the CMS, you might want to wait until it’s done next month. |
Static CMS is dead as of today 😢 The documentation is archived at https://staticjscms.netlify.app/docs/additional-links |
yeah, I saw in the discord the message. I didn't use it personally, but it's sad that there are one less git-based cms. |
I’ve also never used it for my projects, but they did great job IMO. I like their documentation. BTW do you want me to create a Discord server? Here we go: https://discord.gg/6zC5eTCw 🦀 |
yeah, it's sad... now you can steal their documentation 🫣 new discord. noice! |
Is the discord limited to those invited only? |
It has expired by mistake. A new invitation link is https://discord.gg/5hwCGqup5b |
Thanks, joined now |
Hi! I recently came across sveltia-cms when searching for a better alternative to decap cms and I am very satisfied with this decision.
Nevertheless, one main reason for me to switch was the difficulty of developing an extension, mainly to the cms's ui. More specifically, my objective is to be able to add custom pages to the sveltia-cms's admin dashboard/ui, but I am wondering about which way of implementation.
I could fork this repository and modify the source code directly, but I would like to know if there is any other way of doing so that you would suggest me instead? Furthermore, I would be interested in knowing whether or not you are (natively) supporting custom pages?
For instance, I noticed that static-cms does offer that by default: Demo.
The text was updated successfully, but these errors were encountered: