FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat(docs): use gatsby-theme-patternfly-org by redallen · Pull Request #3146 · patternfly/patternfly-react · GitHub

feat(docs): use gatsby-theme-patternfly-org - #3146

Merged
dlabrecq merged 36 commits into
masterfrom
gatsby-theme-patternfly-org
Oct 18, 2019
Merged

feat(docs): use gatsby-theme-patternfly-org#3146
dlabrecq merged 36 commits into
masterfrom
gatsby-theme-patternfly-org

Conversation

redallen commented Oct 15, 2019
edited
Loading

Copy link
Copy Markdown
Contributor

Preview link: https://patternfly-react-pr-gatsby-theme-patternfly-org.surge.sh/patternfly-4/

What: Refactor docs to work with gatsby-theme-patternfly-org. Closes #2775, closes #2738, towards patternfly/patternfly-org#1208

New features:

Additional issues:

codecov-io commented Oct 15, 2019
edited
Loading

Copy link
Copy Markdown

Codecov Report

❗ No coverage uploaded for pull request base (master@3a965e4). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #3146   +/-   ##
=========================================
  Coverage          ?   68.98%           
=========================================
  Files             ?      858           
  Lines             ?    23627           
  Branches          ?     1893           
=========================================
  Hits              ?    16300           
  Misses            ?     6366           
  Partials          ?      961
Flag Coverage Δ
#misc 95.45% <ø> (?)
#patternfly3 69.3% <ø> (?)
#patternfly4 67.95% <ø> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3a965e4...467a161. Read the comment docs.

dlabrecq left a comment
edited
Loading

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I'm going to stop reviewing here for now. The https://patternfly-react-gatsby-theme.surge.sh link doesn't appear to be in sync with the latest changes?

I understand the refactoring for the site, but feel the reformatting of titles, docs, etc. may be out of scope?

I don't see any API docs for charts and dark mode doesn't seem to be apply supported.


<div>
<div className="bar-chart-legend-right">
RightLegend = (

dlabrecq Oct 16, 2019
edited
Loading

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

We have both RightLegend and RightAlignedLegend, which sound too similar. Could this be BarChartSimple. The prefix would help identify the example, especially while cutting/pasting examples

redallen Oct 16, 2019
edited
Loading

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

We could do this, but our current variable names for classes don't do this. Example: class MultiColorChart extends React.Component { in ChartThreshold.md does not include a Threshold prefix. I'm just going to keep shorter variable names for now that match the titles.

Edit: Fixing these specific examples because they have the exact same title and that's bad.

dlabrecq Oct 16, 2019
edited
Loading

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I'm not following the logic as to what these names must be? We can make the class names match whatever we choose -- that shouldn't be a deciding factor.

If I were to clean up afterward, can I not use BarChartSimple, BarChartMultiColor, BarCharRightLegend, etc.?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

These can be anything. The only thing they matter for is what people copy/paste.

Copy link
Copy Markdown
Member

Discovered an issue with codesandbox. Seeing a "DependencyNotFoundError".

Could not find dependency: '@patternfly/react-charts' relative to '/index.js'

And the "Toggle dark theme" mode does not work with charts -- we don't support a dark theme, yet

dlabrecq previously approved these changes Oct 17, 2019

Copy link
Copy Markdown
Member

Discovered an issue with codesandbox. Seeing a "DependencyNotFoundError".

Could not find dependency: '@patternfly/react-charts' relative to '/index.js'

@redallen I'm seeing a similar error when using the codesandbox link for the Toolbar layout:
Could not fetch version for @patternfly/react-toplogy@latest

Copy link
Copy Markdown
Contributor Author

@evwilkin That's on the followup checklist!

dlabrecq previously approved these changes Oct 17, 2019

tlabaj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM

dlabrecq merged commit 93c843b into master Oct 18, 2019

Copy link
Copy Markdown
Collaborator

Your changes have been released in:

  • @patternfly/react-charts@5.1.0
  • @patternfly/react-core@3.117.0
  • @patternfly/react-docs@4.15.0
  • gatsby-transformer-react-docgen-typescript@0.2.0
  • @patternfly/react-inline-edit-extension@2.12.0
  • demo-app-ts@3.7.14
  • @patternfly/react-styled-system@3.7.0
  • @patternfly/react-styles@3.6.0
  • @patternfly/react-table@2.24.0
  • @patternfly/react-tokens@2.7.0
  • @patternfly/react-topology@2.10.0
  • @patternfly/react-virtualized-extension@1.3.0

Thanks for your contribution! 🎉

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add per-example fullscreen pages to docs withOuia should not be listed with the other components

8 participants


Back | FazBrowse Home | New Git URL