app-generator / free-site-builder

Free Site Builder - Open-Source Tool | Simpllo
https://www.simpllo.com
Other
294 stars 61 forks source link

LEFT Sidebar - Needs to use SERVER components #6

Closed app-generator closed 1 year ago

app-generator commented 1 year ago

The current version uses the sidebar:

Regarding this, the UI needs to pull the components from the backend using bs5 node. Here is the flow:

For instance, the server responds with this:

{
    "name": "BS5",
    "version": "1.0.0",
    "type": "kit",
    "description": "BS5 BASIC",
    "demo": "https://django-pixel-lite.appseed-srv1.com/",
    "content": {
        "layouts": {
            "base.html": "BASE_64"
        },
        "components": {
            "grid": {
                "grid-2rows.html": "BASE_64",
                "grid-3rows.html": "BASE_64",
                "grid-4rows.html": "BASE_64"
            },
            "footers": {
                "footer.html": "BASE_64"
            },
            "general": {
                "div.html": "BASE_64"
            }
        }
    }
}

Based on the information, the generated menu needs to be:

Like this, the sidebar is populated automatically using these rules:

Other aspects:

@MohammadMargub please take a look and proceed with the code. TY!

app-generator commented 1 year ago

@MohammadMargub here is a video that explains the concept:

https://youtu.be/ZsqN1r329rg

TY!

nastassiadanilova commented 1 year ago

@app-generator hey! is the task completed already? seems like there is components are fetching from server already https://github.com/app-generator/rocket-builder/blob/main/builder/src/main.ts#L24

app-generator commented 1 year ago

Hello @nastassiadanilova

thank you for the follow-up. Indeed this is done.

Soon, we will add the new features that need to be developed + the related budget in order to respect the product SPECS:

https://docs.google.com/document/d/1YbmZro0b8ucMGE227xSMzcQGNbWgTaiOKfjgEW9RsWE/edit?usp=sharing

app-generator commented 1 year ago

Validated. Closing.