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/guidelines ds #692

Merged
merged 93 commits into from
Oct 6, 2020
Merged

Feat/guidelines ds #692

merged 93 commits into from
Oct 6, 2020

Conversation

samuel-gomez-axa
Copy link
Contributor

  • some icones size fixed
  • add guidelines UX
  • add documentation

Copy link
Contributor

@guillaume-chervet guillaume-chervet left a comment

Choose a reason for hiding this comment

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

Nice job Samuel ! Awesome

@gcruchon
Copy link
Contributor

gcruchon commented Oct 6, 2020

Wow, that's a huge PR and a lot of work! Thanks very much!

Just noticed that the following lines are still in the package.json, but I think they are useless (l. 18 & 19):

    "css": "npm -C ./storybook/styles run css",
    "css:build": "npm -C ./storybook/styles run css:build",

Maybe you can remove them as well?

@samuel-gomez-axa
Copy link
Contributor Author

samuel-gomez-axa commented Oct 6, 2020

Sure, you're right @gcruchon , I propose to do this in another PR because this is not the subject of this PR, ok ?

# Contributing to @axa-fr/react-toolkit

First, ensure you have Node.js < 12 and the [latest `npm`](https://docs.npmjs.com/).
## Installation
Copy link
Contributor

Choose a reason for hiding this comment

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

Why removed the 1st level block? I think it should be kept (MDLint fails on this). Plus, it gives the title of the file.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i just wanted to delete the node version requirement. i didn't want to delete the title. i'll fixed it, thank you.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done in last commit

Copy link
Contributor

Choose a reason for hiding this comment

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

👍

CONTRIBUTING.md Outdated
cd examples/demo
npm i
```

```sh
cd storybook/design-system
npm i
Copy link
Contributor

Choose a reason for hiding this comment

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

@arnaudforaison changed it to npm ci on #691, for installing on a clean slate. Should we keep "i" or use "ci"?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think "ci" it's more appropriated

CONTRIBUTING.md Outdated
```

to regenerate css
After all this, if your development affect css, you can run `npx gulp all` to regenerate css
Copy link
Contributor

Choose a reason for hiding this comment

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

gulp has been removed. Let's change this to npm run style?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes good idea

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done in last commit

@gcruchon
Copy link
Contributor

gcruchon commented Oct 6, 2020

No problem. Let's add an issue, then? I can contribute :)

@sonarcloud
Copy link

sonarcloud bot commented Oct 6, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@gcruchon
Copy link
Contributor

gcruchon commented Oct 6, 2020

Hello,

Looks like there are some broken dependencies in non committed pug files. As a consequence, the design-system package cannot build.

E.g. : /storybook/design-system/src/components/form/mixins/mixin-form-field-card.pug, line 7:

          include ../../../pages/style/icons/templates/ok.pug

This template has moved to ../../../pages/guidelines/icones/templates/ok.pug

WIth a search in files on /style/icons/templates/ you should find all of them (100+ occurences in 48 files)

BTW, the french icones lacks a bit of consistancy here :)

@mergify mergify bot merged commit 20d6c95 into master Oct 6, 2020
@delete-merged-branch delete-merged-branch bot deleted the feat/guidelines-ds branch October 6, 2020 17:07
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.

None yet

5 participants