Skip to content
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

Rework Project Creation #674

Open
daltzctr opened this issue Jul 1, 2024 · 0 comments
Open

Rework Project Creation #674

daltzctr opened this issue Jul 1, 2024 · 0 comments

Comments

@daltzctr
Copy link

daltzctr commented Jul 1, 2024

Example discovery as long been a painful point for teams and in some cases vendors. I see teams coming from two groups of people related to examples.

Group #1: They roughly know what they want but not sure where to find it.
Group #2: They have no idea what they want and no idea where to find it.

The thing both of these groups have in common is the inability to find examples. They are linked in the docs, cross-linked in various articles, and yet they still can't find it without trawling through Github. This becomes the core of my argument that examples in VS Code are not obvious.

As such, I would like to propose the following UX

image

The following UX attempts to create a sort of guided pathway for project creation (as indicated by explicit steps). The important takeaway here is that examples and templates gain descriptions and nesting. This nesting will be defined with a defined schema represented with JSON at the root of vendorexamples with the name examples.json.

A proposed schema for this is below.

{
    "Vendor": "CTR Electronics",
    "Description": "Examples provided by CTR Electronics",
    "SchemaVersion": "1.0.0.0",
    "Examples": [
        {
            "Title": "Swerve Examples",
            "Description": "Various examples demonstrating controlling a Swerve Robot",
            "IsExample": false,
            "Examples": [
                {
                    "Title": "Swerve with Path Planner",
                    "IsExample": true,
                    "Path": "java/swerve/swervewithpathplanner"
                }
            ]
        },
        {
            "Title": "2024 Example Robot",
            "Description": "A fully built example demonstrating a complete codebase for controlling a robot to compete in the 2024 game.",
            "IsExample": true,
            "Path": "java/2024examplebot"
        }
    ]
}

The VS Code extension can iterate through all available example.json and build a tree. The above schema allows infinite number of nested sub-categories, but an arbitrary limit can be imposed if wanted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant