Git Product home page Git Product logo

fabric8-ux's Introduction

Travis Build Status License

Platform Designs Planner Designs

User Experience Repo

Design Stories, Documents and UX Mockups related to the fabric8-ui and fabric8-planner repositories.

All information is tracked by the User Experience Design Team.

Contents:


Important Links and References


Installation

| This installation requires that you have Ruby, Node, Gem, Jekyll and Gulp installed. You can find a list of dependecies with versions here: Design Tracker Dependencies

  1. Fork this repository
  2. Rename as desired (we recommend with UX in the name)
  3. Clone to your local machine
  4. With Node, Gulp, Ruby, Gem and Jekyll already installed, run npm run initialize
  5. Start with jekyll serve
  6. Code away!

First Time Build

  1. Verify that you have the following installed (see our Dependencies:
    • Node
    • Gulp
    • Gem
    • Jekyll
  2. Run npm run initialize
    • commands as part of the script:
      • gem install bundler
      • bundle install
      • npm install
      • gulp
        • this will copy the files from your npm_modules directory to their respective locations for the jekyll build process
      • jekyll build
    • if this script fails, at the jekyll build step, run bundle exec jekyll build
  3. run jekyll serve

Subsequent Builds

  1. jekyll serve to start your environment on port :4000.

Troubleshooting

  • If you are having issues with the site building, you can run a set of cleaning commands to reset your environment.

  • If you have issues with the gem bundler, try to update your bundles with bundle update.

Environment Troubles?

  • npm run reinstall

    • This will clear out your node_modules folder, any vendor folders, reinstall all modules and copy vendor files back to their respective locations.
  • gulp cleanVendors

    • This will remove just the vendor files that were copied over during the gulp process.
    • Run gulp to copy a clean set of vendor files back to your directories.

Site Configuration

The Design Tracker Template utilizes PatternFly as the basis for the UI, which is built off of Bootstrap (3.x).

  • at this time, there are no plans to move the Design Tracker Template to use Bootstrap 4.x

Navigation

The navigation is based off of Bootstrap's navbar, and can be found under _includes/nav.html. Each link is configured using Jekyll's relative path scaffolding, along with an if page.navbar_active check. This check will apply the .active class to the navigation element, if the active page name matches the checked variable.

Example:

** this will apply the .active class to the page if "home" is the page's title.

{% if page.navbar_active == "home" %} class="active"{% endif %}

Icon & Favicon

  • To replace the navbar icon, swap out the existing icon.png found under assets/img/icon.png with your own image.
  • To replace the favicon, swap out the existing favicon.png found under assets/image/favicon.png with your own image.

Permalinks

The Design Tracker utilizes Jekyll's built in Permalink solution in order to define simple and easy-to-use links. Each link is configured in the given pages front matter, with a relative path and permalink override. These, combined with the navbar_active name and layoutcallout, give each page their proper information.

---
layout: designs
title: Design Table Example 1
navbar_active: example1
relative_path: ../
permalink: designs/example1.html
---

resources

fabric8-ux's People

Contributors

adamj avatar mindreeper2420 avatar bdellasc avatar catrobson avatar jryhanyc avatar lwrigh avatar mgranfie avatar smahil avatar essjaysee avatar dgutride avatar junezhang avatar muruganesan avatar

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.