Giter Site home page Giter Site logo

syndesisio / syndesis-ui-style-guide Goto Github PK

View Code? Open in Web Editor NEW
1.0 5.0 1.0 54 KB

Style guide for Syndesis UI development

Home Page: https://syndesisio.github.io/syndesis-ui-style-guide/

License: Apache License 2.0

Shell 13.71% Java 86.29%
redhat angular2 ipaas styleguide

syndesis-ui-style-guide's Introduction

Syndesis UI Style Guide

This repository is to document the UI style guide for Syndesis development to try to ensure we have consistency through the UI, both to make it easier to contribute, but most importantly to have a consistent UX through Syndesis.

This style guide applies both to the main Syndesis UI and any modules that are imported to extend the functionality of the Syndesis.

Contributing

Simple :)

  • Fork this repository
  • Create a branch for your changes
  • Hack on your changes - see below
  • Send in a PR

Adding documentation

This repository uses asciidoc format for writing documentation. If you are unfamiliar with asciidoc, see here for syntax.

To build documentation run:

mvn clean install

Documentation is generated in target/generated-docs/index.html.

To get an updated build of documentation on changes, run:

mvn asciidoctor:http

You can then make changes to content and view changes at http://localhost:2000/.

syndesis-ui-style-guide's People

Contributors

jimmidyson avatar kahboom avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

kahboom

syndesis-ui-style-guide's Issues

should we use a URI like '-/create' for the create URL?

I added the Create page in the funktion fork of ipaas-client and found that it was easier in the code use the create page inside the same part of the navigation model as the list/view/edit pages. As a kinda hack I used the '-' token for the id
https://github.com/jstrachan/ipaas-client/blob/funktion/src/app/functions/functions.module.ts#L27

which kept the code nice and simple:

const routes: Routes = [
  { path: '', component: FunctionsListPage, pathMatch: 'full' },
  { path: ':id', component: FunctionViewPage, pathMatch: 'full' },
  { path: ':id/edit', component: FunctionEditPage, pathMatch: 'full' },
  { path: '-/create', component: FunctionCreatePage, pathMatch: 'full' },
];

though its a little bit of a hack adding the '-' token.

What do folks think? On the plus side the edit and create URIs are kinda similar - on the down side its a slight mis-use of the :id path ;)

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.