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

RELEASES - alpha.7, to master #476

Merged
merged 84 commits into from
Jul 8, 2019
Merged

RELEASES - alpha.7, to master #476

merged 84 commits into from
Jul 8, 2019

Conversation

khawkins98
Copy link
Contributor

And now we go from develop to master.

Once our visual regression testing is back up, this is when we'd probably want to look for "oh noes! 😭"

Stuart Robson and others added 30 commits June 20, 2019 12:09
the one where we merge master down to develop because Stuart fudged the release order
Sets up a cleaner hirearchy of sass path imports.

Also does an npm update.
…t-paths

chore: opimise-sas-import-paths
Was using an old version of vf-logo
…pendencies

fix: vf-global-header-dependencies
Resolve a couple of broken package dependencies.
…rns-to-npm

chore: load-latest-patterns-to-npm
Just a cleanup thing I suppose.
…p-files-to-npm

Chore: don't send backstop files to npm
…esign-tokens

Fix: docs should soft fail when vf-design-tokens aren't present
There should typically never be any components here, but:

1. A developer might drop them in the wrong spot
2. if we're testing the npm directly from github, we need to ignore these
Mostly does two things:

- Reduces the amount of spam we're getting when a PR is made and review requested (and I think this phrasing might be more helfpul to external devs)
- Tries to fix [ ] checkbox formatting with 2 spaces at end of each line
khawkins98 and others added 26 commits July 2, 2019 13:18
The spacing token names missed an update, that is: `vf-spacing-r` should be `vf-spacing--r`

Also adds an issue where nested `.vf-content ul li > ul` didn't have a needed margin at the top.
…umentation

Docs/add a bunch of documentation
Addresses #412 and also address the "spirit" of that ticket, by:

- Making the css linting come after the css recompilation
- Adds a soft-fail css linting task that won't explode the local deve experience
- Fixes `vf-css` to use a better callback approach so that:
    1. You get an accurate idea of the css build time
    2. A real signal that the vf-css pipe stream has completed
    3. No longer get a flash of fractal befor the css build has finished

And it should be a bit faster now that fractal won't try to run while the Sass is still building.
This mainly fixes how vf-card was showing without the image when deployed. It relates to #364 on how we need to document this, propbably in the pattern template too.

It also sneaks in a fix where the utility mixins were need for the hover effect for the button.
…ilding-linting

Enhancement: gulp css building, linting
WIP: the one where we add percy.io, remove BackStopJS and get it as part of the CI build
A few minor fixes I stumbled on while working on #460: a name for a vf-text variant and the vf-headings demo
* makes use of nunjucks to create variants

* makes use of variables and maps and normalises some sizing

* small readme update

* Elsewhere we've used hyphens, changing for consistency
It's the same as --containers
The below tweak introduced some layout issues as non-layout affecting content out of the content hub (think: blocks) was being escaped from the grid.

```
.embl-content-hub-html {
  grid-column: 1 / -1;
}
```

This fixes that by only targeting elements that are direct children of `-grid`.

It also add `.embl-content-hub-html` so we can begin to update classes in the contentHub.
…l-previews

Refactor: trim fractal previews
…d-escape

bug: vf-conent-hub-html grid-escape
This limits the percy command to only run on commits to develop and compares against master.

We might also want to disable the github integration to stop comparissons on PRs, which has chewed through our alotment of screenshots.

This also set it only do mobile/desktop for a 33% savings :D

But it doesn't really matter until August as we've already gone through our quota!
…ly-on-develop

Chore: set percy to run only on develop
As I work through cleaning up docs and making "things more approachable", it became clear that the design tokens can (of course) change in both how they're used and how much technical detail should be shown.

With that in mind I've moved the existing `/docs/styles/` to be paired directly with `vf-design-tokens`

I think this:

1. Makes it clear that these settings come from `vf-design-tokens`
2. Are where developers might expect the most technical values
3. We can link to from `/docs`
4. Makes it possible to put something more high level in `docs/styles`
5 It also stops the risk of "what happens when there's `docs/styles` but `vf-design-tokens` wasn't installed?
)

* adds vertical spacing for vf-lede, normalises spacing for vf-intor

* moves vf-lede margin to vf-intro parent
* Update package.json

* Update npm versions
@auto-comment
Copy link

auto-comment bot commented Jul 8, 2019

Thank you for requesting a review for this pull request (PR). If you have not done so already - please fill out the PR description with as much context as possible.

If this PR has an associated issue - please add that to the PR description.

Pull request review

Before your PR can be merged in, it will need to be reviewed.

  • add relevant labels to this PR
  • package.json is updated accordingly
  • README.md is filled out with required documentation
  • any .scss files correctly documented
  • a detailed outlin on what this PR is expected to do

@khawkins98
Copy link
Contributor Author

Running with admin privs again for this chore and to save Stu a bit of a hassle.

@khawkins98 khawkins98 merged commit 3269e2e into master Jul 8, 2019
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.

1 participant