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

Create Agate Template Starting Point #23

Closed
Djspaceg opened this issue Sep 4, 2018 · 3 comments
Closed

Create Agate Template Starting Point #23

Djspaceg opened this issue Sep 4, 2018 · 3 comments
Assignees
Labels
new component Creating a new component for the library

Comments

@Djspaceg
Copy link
Member

Djspaceg commented Sep 4, 2018

Description

We'll need a starting point for new users to be able to work from.

This starting point app template should have several components already built and displaying so new users get something more useful out of the box than just a "hello world".

Requirements

Built-in pieces to have:

  1. An agate/Panels implementation with 2 panels and 2 tabs to switch between them
    • Only one of the panels needs some content, but a button or something on the second one wouldn't hurt.
    • Having some pre-built state management to support Panel switching, written in an idealized way, would be great for getting users started right out of the box
  2. Include comments directly in the code for App.js or index.js that lists what "skins" are available: "carbon" and "titanium", that "carbon" is default, and how to use them.
    <App skin="titanium">
    Explain that carbon is a dark theme and the titanium is light, so they don't have to try them both out before they can decide.
  3. Include some interesting looking components on one of the Panels: Button, Input, Picker, SliderButton, or Popup.
    • May be good to wire up one of the components to have some visible action to illustrate fundamentals of how events are passed around.

To Deliver

Either a distributable ZIP file, a standalone repo, or built-in app templates for Enact CLI will work. We just need at least one of them.

@Djspaceg Djspaceg added the new component Creating a new component for the library label Sep 4, 2018
@JayCanuck
Copy link
Member

JayCanuck commented Sep 4, 2018

Probably ideal to put it on https://github.com/enactjs/templates

@webOS101
Copy link
Contributor

webOS101 commented Sep 5, 2018

Be sure to pull in the zoom prevention code from the console app.

@ryanjduffy
Copy link
Contributor

We decided to publish the template in alpha form from a working branch (feature/agate) and then merge enactjs/templates#4 once we are satisfied it's ready.

https://www.npmjs.com/package/@enact/template-agate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new component Creating a new component for the library
Projects
None yet
Development

No branches or pull requests

5 participants