Giter VIP home page Giter VIP logo

patternfly-org's Introduction

patternfly-org

The PatternFly Org is the source for the official documentation for PatternFly.

Development

Development setup requires yarn. If you do not already have yarn installed on your system, see https://yarnpkg.com/en/.

A Node version greater than 18.16.0 is also required.

Live Reload Server

New server

You can install the NPM dependencies with:

yarn install

A local development server at http://localhost:8003 can be started with:

yarn start

Build

The new v5 site can be built with:

yarn build:v5

The static assets get copied to build/patternfly-org.

Deploy

When you submit a PR, previews should be automatically generated for you and uploaded as PR comments. This takes between 5-10 minutes.

When the PR is merged to main, the site is first deployed to a staging S3 bucket.

When PatternFly does a release (currently every 3 weeks) this bucket is copied to https://patternfly.org.

Old submodules

You might have a dirty file tree with old submodules and folders lying around. You can remove these with:

git clean -dfx

Contribute to HTML/CSS

To contribute to PatternFly's HTML/CSS core repo, refer to the core contribution guide and the related guidelines.

patternfly-org's People

Contributors

abigaeljamie avatar adamj avatar afialkoff avatar amarie401 avatar andresgalante avatar bleathem avatar cardosogabriel avatar christiemolloy avatar dabeng avatar dgutride avatar dlabrecq avatar doruskova avatar edonehoo avatar evwilkin avatar gdoyle1 avatar jessiehuff avatar jgiardino avatar jschuler avatar lhinson avatar mcarrano avatar mcoker avatar mmenestr avatar nicolethoen avatar patternfly-build avatar priley86 avatar redallen avatar rhamilto avatar stacymcauliffe avatar thatblindgeye avatar wolfeallison avatar

Stargazers

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

Watchers

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

patternfly-org's Issues

Aggregate Status Card: Example images

Following are changes to make to the example images in the Aggregate Status Card pattern.

  • Design tab, “Top Accent (optional):” If it’s optional, show one example with and the other without. Same for “Object Icon.”
  • On the 793 Hosts image in “Content Area,” move the pink callouts so they don’t overlay the content.
  • On the 856 Hosts image in “Content Area,” move the cursor so it doesn’t obscure the underline (which is the thing we’re trying to demonstrate).

Login pattern: Example images

Following are changes that need to be made to the example images in the Login pattern.

  • On Design tab, the hi-fi mockup shows “Forgot Username or Password?” but the wireframes in # 8 show “Forgot username or password?”. The sample on the Code tab shows “Forgot username or password”. All should show "Forgot username or password?"
  • On Design tab, the hi-fi mockup shows “Remember Username” but the wireframes in # 8 show “Remember username”. The sample on the Code tab also shows “Remember username”. All should show "Remember username"

Date picker is missing examples

Date picker has different ways to use, on the website we only show one.

We show component, we are missing: range, inline and text input.

Horizontal menu missing snippets on Navbar Variations

Since for this version of the website we are not going to write tech documentation to explain the difference and modifiers for each variation of the menu, maybe we should add code snippets on Navbar Variations.

Aggregate Status Card: Copyediting

Following are typos or copy changes for the Aggregate Status Card pattern.

Key: old text -> new text (where to find the text)

  • Make sure you are consistent and either opt to always use the icon or not. -> Be consistent; either use the icon on all the cards throughout your application, or don't use it in any. (Design, Header Area # 2)
  • Icons should be used thoughtfully and sparingly. -> Use icons thoughtfully and sparingly. (Design, Header Area # 2)
  • Ensure that the icon’s visual metaphor provides valuable meaning rather than pointless clutter. -> Ensure that the icon’s symbol metaphor provides valuable meaning. (Design, Header Area # 2)
  • A status icon represents -> This represents (Design, Header Area # 1)
  • If no objects exists -> If no objects exist (Design, Content Area # 3)
  • with an underline on hover -> with an underline that appears on hover (Design, Content Area # 5)

What is the purpose of Icon "Cheatsheet"?

There are little differences between the main Icon page and the linked icon "Cheatsheet". Just wondering if we should combine the two pages into one.

The list of PF icons are the same in the main Icon page and the 'cheatsheet', however the cheatsheet does have additional functionality:

"To use on the desktop, install PatternFlyIcons-webfont.ttf or FontAwesome.otf, set it as the font in your application, and copy and paste the icons directly from this page into your designs."

  • the .ttf and .otf files are links which downloads the files when clicked
  • If you hover over a PF icon you get a "Copy to clipboard" which works, I guess, not sure where I'm supposed to 'paste' the content. Pasted into text editor and IDE, but displayed a binary object?

"
image

Seems like we could add the same functionality to the main Icon page and remove the 'cheatsheet'

Login pattern: Copyediting

Following are typos or copy changes for the Login pattern.

Key: old text -> new text (where to find the text)

  • error messages -> error message (Overview)
  • case by case -> case-by-case (Design, # 3)
  • Login button -> Log In button (Design, # 3)
  • "A “Remember username” checkbox" -> A “Remember Username” checkbox (Design, # 4)
  • Due to security reasons -> For security reasons (Design, # 4)
  • "Forgot username or password?" is a link -> "Forgot Username or Password?" is a link (Design, # 5)
  • The login button appears -> The Log In button appears (Design, # 6)
  • Apply text sparingly, do not -> Use text sparingly; do not (Design, # 7)
  • If there are multiple strings, each message would appear on its own line and the area adjusts as needed in order to fit these messages. A couple examples of these messages include: -> If there are multiple strings, each message appears on its own line, and the area adjusts as needed to fit these messages. Examples of these messages include: (Design, # 8)
  • the value entered -> the values entered (Design, # 8)

Missing T&W

Looking at “what’s new”, it appears that “Links” and "Common Terms and Words” are missing from /styles/terminology-and-wording

Can't "Command+A" to select the code

For example, in this page, https://v2-patternfly.rhcloud.com/pattern-library/cards/trend-card/#/_code
The code below index.html.

When mouseover the code area, Command +A, it can't select all the code below index.html. If it feels confusion to operate Command+A to select the code, you can add a little button "Copy" to let user copy the code easier than now. Currently we need to manually select the code.

My environment is Mac 10.10.5, and Chrome 50.0.2661.102 (64-bit).

screen shot 2016-05-20 at 10 34 50 am

Trend Card: code sample

On the Trend Card Code tab:

  • On the Card with Multiple Trends example, the right-most end point (and presumably current value) for Virtual Disk I/O doesn't look like it's 30%. Same for Memory Utilization, which should be 22%.
  • The numbers (30%, 6%, and 22%) should be left-aligned.
  • The label on the action icon should be “Create Cluster” to be in keeping with our T&W.

Forms page modal example

Remove the stye tag from the example. It was just meant to make the modal visible not to be part of the snippet. We don't want any user to use that style on modal in any case.

Widgets: Bootstrap Switch

@LHinson @dlabrecq So, I think this must be a bug in Patternfly.
If you add the bootstrap switch js to your html it converts all your checkboxes to On/Off toggles.

I don't think that's the correct behaviour since a page can have toggles and checkbox.

Missing widgets

Looking at the “what’s new” and noticed that Kebabs, TreeGrid Table, and Fixed Height Accordion were not added to the new site.

Angular-PatternFly Plunker examples aren't styled correctly

I believe the PF javascript is referenced correctly in the generated Plunker, however none of the PF styles/css seems to be included:

image

Note: this issues exists in the angular-patternfly ng-doc generation. Research might have to be done to figure out how the ngdocs bower lib generates the Plunker exercises, and to have the process include the appropriate css.

Form level help example is broken

The form level help example is broken. The icon is also off.

@LHinson Also this doesn't seem to be part of the test pages, or at least I couldn't find it. I though we use the bootstrap help test for it. Also, having a link inside a label doesn't give a good user experience since the label by itself is a link.

Uploading Screen Shot 2016-06-03 at 8.51.51 AM.png…

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.