Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update fundamental-styles to v0.12.0-rc.18 #1172

Merged
merged 54 commits into from
Aug 31, 2020
Merged

Conversation

prsdthkr
Copy link
Member

@prsdthkr prsdthkr commented Aug 19, 2020

Description

BREAKING CHANGE:
In this change we

  • Update fundamental-styles to 0.12.0-rc.18 and support the new features and fixes therein.
    • Removed LayoutGrid component in favor of the new grid system based on Container, Row, and Column components
    • Remove LayoutPanel.colSpan property. Added story for LayoutPanel in the new grid system.
    • Deprecated the TreeViewcomponent in favor of the new Tree component.
    • Shellbar avatar now has a branded border.
  • Storybook
    • update storybook to v6.0.16
    • fix missing storyDescriptions and component descriptions.
    • Add copy button to easily copy import statements to clipboard.

Question

  • TreeView styles are broken and I've marked it as deprecated. Do we want to remove it entirely instead?
    Yes

Fixes #646 #310

@prsdthkr prsdthkr added the update fundamental styles Catching up with the latest features and fixing in fundamental-styles label Aug 19, 2020
@prsdthkr prsdthkr self-assigned this Aug 19, 2020
@prsdthkr prsdthkr changed the title update fundamental-styles to v0.12.0-rc.15 feat: update fundamental-styles to v0.12.0-rc.15 Aug 19, 2020
@netlify
Copy link

netlify bot commented Aug 19, 2020

Deploy preview for fundamental-react ready!

Built with commit 8f48459

https://deploy-preview-1172--fundamental-react.netlify.app

@prsdthkr prsdthkr changed the title feat: update fundamental-styles to v0.12.0-rc.15 feat: update fundamental-styles to v0.12.0-rc.18 Aug 24, 2020
@prsdthkr prsdthkr marked this pull request as ready for review August 26, 2020 18:36
@prsdthkr prsdthkr requested a review from a team August 26, 2020 18:36
@jbadan
Copy link
Contributor

jbadan commented Aug 26, 2020

Re: treeview - let's just delete it.

import React, { useState, useEffect } from 'react';
import Button from '../../../src/Button/Button';

const CopyButton = ({ copyText }) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

👏

return (
<>
<Header />
<Title />
<Toc />
<Subtitle />
{context?.parameters?.deprecated && <Description desc={context?.parameters?.deprecated} />}
{!context?.parameters?.noImport && showImport()}
{context?.parameters?.displaySubComponentImports && showSubImports()}
{context?.parameters?.description && <Description desc={context?.parameters?.description} />}
Copy link
Contributor

Choose a reason for hiding this comment

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

Not caused by this pr (it's in master too) - but our descriptions are gone 😢

Copy link
Member Author

@prsdthkr prsdthkr Aug 26, 2020

Choose a reason for hiding this comment

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

I can see the description for our Tree component here: https://deploy-preview-1172--fundamental-react.netlify.app/?path=/docs/component-api-tree--wrapping-and-non-wrapping-contents

Edit: I just realized what you meant. I know how to fix this.

Copy link
Contributor

Choose a reason for hiding this comment

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

I got the story descriptions working here, but not the component descriptions: #1189

Copy link
Contributor

@jacobdevera jacobdevera left a comment

Choose a reason for hiding this comment

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

Huge push 👏 been mainly testing the newer components, and haven't noticed anything.

Agree to also removing TreeView if it should be done in this PR. The docs page is pretty broken.

Copy link
Contributor

@jbadan jbadan left a comment

Choose a reason for hiding this comment

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

Huge lift! 💪

@prsdthkr
Copy link
Member Author

Closing and reopening to trigger checks.

@prsdthkr prsdthkr closed this Aug 31, 2020
@prsdthkr prsdthkr reopened this Aug 31, 2020
@prsdthkr prsdthkr linked an issue Aug 31, 2020 that may be closed by this pull request
@prsdthkr prsdthkr merged commit efb2d17 into master Aug 31, 2020
@prsdthkr prsdthkr deleted the feat/fd-styles-update branch September 15, 2020 01:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
update fundamental styles Catching up with the latest features and fixing in fundamental-styles
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tree: expand collapse not working with functional components enhancement: Have you created layout component?
4 participants