Coder Social home page Coder Social logo

fabric-design / styleguide Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 1.0 40.14 MB

Our web application for the styleguide and component library

Home Page: https://fabric-design.github.io/styleguide

License: MIT License

JavaScript 77.21% CSS 14.33% HTML 8.45%

styleguide's People

Contributors

adriandampc avatar faboweb avatar fokusferit avatar fragsalat avatar mroderick avatar myueksel avatar schluchter avatar tonysaad avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

mroderick

styleguide's Issues

"Feedback forms" shows the same image twice

The Feedback page in the style guide, section "Feedback forms", shows the same image twice, once for "Contextual feedback" and once for "Notifications".

It is actually a different file name (feedback2.png vs. feedback3.png), but the same content for both.

Provide README

We should create a README also for our styleguide project. Maybe it doesn't has to be as long as the components README but I think the following points should be written down:

  • Motivation (Why?)
  • Technical Concepts (A short explanation how the styleguide works, a diagram showing all dependencies and how styleguide works.)
  • Getting started (How to test changes locally ?, how to contribute)
  • Contributing
  • License

Deployment of master branches is broken

Currently the deployment does not work when the triggering branch is a master branch (e.g. scss#master, components#master, ...)
This happens because the environment variable TARGET is empty then and the code reads "" as parameter value.

Documentation shows  instead of ’ in the browser

This might be an intentional quirk or a bug, but it is confusing.

Wrong behavior

At several places, when by grammar an apostrophe is needed, instead a "female sex" symbol (or at least something which looks quite similar) is shown.

Both Opera and Chromium show it like this (e.g. in the feedback page):
wrong-symbol-for-apostrophe

Some analysis:

The source code looks like this:

Used when system feedback breaks user activity and using a system can’t be continued without getting an info or making a decision.

(The character in the source is U+2019, RIGHT SINGLE QUOTATION MARK, which is the correct character for an apostrophe, encoded en correct UTF-8 as three bytes.)

The output (at ) looks like this (copied from the browser):

Used when system feedback breaks user activity and using a system can�t be continued without getting an info or making a decision.

(Looks still the same in the editor, and like a unicode replacement character � in the preview. Github might be additionally messing things up.)

In https://fabric-design.github.io/styleguide/scripts/app-bundle.js (which contains this text) it is a single 0x19 byte (U+0019), i.e. an END OF MEDIUM control character. (The file is delivered as UTF-8, so it could have the correct character.)

It looks like somewhere in the transformation from Markdown to HTML the U+2019 is transformed to U+0019.

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.