Git Product home page Git Product logo

supportpal-resources's People

Contributors

jshah4517 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

supportpal-resources's Issues

Restructure into several repositories

Let's say you want to start a new theme. You would have to:

  • Copy templates/frontend/default into templates/frontend/your-theme
  • Select the theme in SupportPal

Although this works there is a critical flaw. You can't keep track of changes in new releases with the help of git. You would have to go over the Supportpal commits, check what changed and copy it manually into your own theme. You're not taking full advantage of what git has to offer.

The only way to get git to do its magic today is to:

  • Clone this repository
  • Create a new branch
  • Make your changes in the default theme
  • Merge the changes from Supportpal back in when there's a new release

The reason for this is because the assets folder includes static files for the frontend and backend. I don't understand why yet but it makes sense to include them in the actual template.

I would propose to change it to something like this:

|-- assets
|   |-- general
|   `-- installer
|-- lang (own repo)
|   `-- en
`-- templates
    |-- errors
    |-- frontend (own repo)
    |   `-- theme
    |       `-- assets
    `-- operator (own repo)
        `-- theme
            `-- assets

That way you can work on your theme in a similar way as this:
https://github.com/WHMCS/templates-six/#command-line-usage

Which makes Supportpal upgrade friendly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.