owen2345 / camaleon-cms

Camaleon CMS is a dynamic and advanced content management system based on Ruby on Rails
https://camaleon.website
MIT License
1.22k stars 287 forks source link

CMS v3 #1027

Open owen2345 opened 1 year ago

owen2345 commented 1 year ago

Hey guys @texpert @brian-kephart I was thinking to work on the version 3 of the CMS with the following things:

As always, open to hear other features to be added or removed

Would you like to be part of it?

texpert commented 1 year ago

Hi, @owen2345!

I'm in, as long as I will have spare time to dedicate.

brian-kephart commented 1 year ago

@owen2345 Great to hear from you!

Overall, I'm in favor of any change that reduces dependencies, or at least uses dependencies that are Rails defaults.

I would like to be a part of this, but I'm not sure how much I'll actually be able to get done based on my current work. Once the work is more defined and broken up into parts I'll have more of an idea.

brian-kephart commented 1 year ago

Also, we should use ES6 modules for the assets as discussed in #1025. It seems like this approach would have the best support for use with both import maps and bundlers.

owen2345 commented 1 year ago

@brian-kephart I thought nobody was using multi-site feature hehe. Then probably is better @texpert suggestion: refactor the cms step by step. Some main goals IMO:

@texpert @brian-kephart What other goals would you like to add or exclude?

As it could be a step by step refactoring, it does not require a fulltime dedication.

owen2345 commented 1 year ago

Also, we should use ES6 modules for the assets as discussed in #1025. It seems like this approach would have the best support for use with both import maps and bundlers.

I agree. Since IMO, the es6 will be the standard in the near future.

brian-kephart commented 1 year ago

@owen2345 I think your list is pretty good. Most of what I can think of is for making onboarding easier.

We have rails generate camaleon_cms:install for installing in an existing Rails app. I would like to make a shell command for installing a brand new app.

So instead of this...

rails new my_cool_app
cd my_cool_app
bundle add camaleon_cms
rails generate camaleon_cms:install
rails db:migrate

... you could just do this ...

camaleon_cms new my_even_cooler_app

... and it would create a whole new Rails/Camaleon app, ready to run.

Additionally, I think it would be nice if the sample site generated included basic getting-started documentation, or a tutorial. So, when you start the app, it gives you some tips instead of listing features. Basically, helping people learn the basics by clicking around the sample pages instead of switching back and forth to separate documentation.

We should also decide how to publish the new docs. Right now @texpert and I don't have access, so it's hard to help. We could do a GitHub wiki, but it seems wrong not to make a docs site with Camaleon :)

owen2345 commented 1 year ago

I like your idea @brian-kephart

About the access, I thought I provided you the credentials, so sorry my bad. Please send me your email address to add you as administrator in Camalaone CMS @brian-kephart @texpert. Another small topic could be to improve authentication to use email instead of username

texpert commented 1 year ago

Hi, @owen2345!

I have just sent you a message by email, so you'll have my email address.