Git Product home page Git Product logo

Comments (3)

github-actions avatar github-actions commented on June 21, 2024

Hey there, looks like this is your first time submitting a bug or enhancement to HACC! Thanks for helping make HACC a better app! 🎉

from hadotnet.commandcenter.

qJake avatar qJake commented on June 21, 2024

Would you be able to provide a sample (JSON markup or similar) of what this would look like?

from hadotnet.commandcenter.

siege9929 avatar siege9929 commented on June 21, 2024

Sure! Something like this.
In the main config.json, add a section to "pages" listing files or directories of files to include:

"pages": [
    {
        "files": [
            "./page1.json",
            "./data/page2.json"
        ],
        "directories": [
            "./page1/",
            "./data/page2/"
        ]
    },
    ... other pages below
]

Each of the files directly included or included in the directories would contain one or more sections that would normally be inside the "pages" section, so a file would look like this:

{
    "name": "default",
    "description": "Default Page",
    "isDefaultPage": true,
    "autoReturnSeconds": 0,
    "tiles": [
        {
            "name": "Tile",
            "sizeX": 2,
            "sizeY": 2,
            "type": "state"
        }
    ]
}

Spanning multiple pages is less important to me, but I suppose you could define a page section with a "span" key where you could list page names that it appears on.

from hadotnet.commandcenter.

Related Issues (20)

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.