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

Dev --> master #2373

Merged
merged 12 commits into from
Mar 30, 2017
Merged

Dev --> master #2373

merged 12 commits into from
Mar 30, 2017

Conversation

gemfarmer
Copy link
Contributor

@gemfarmer gemfarmer commented Mar 24, 2017

CircleCI

😎 PREVIEW

Preview README for this branch

Changes proposed in this pull request:

/cc @gboone @elainekamlley

# Only the main Sass file needs front matter (the dashes are enough)
---

@import "_print/all";

Choose a reason for hiding this comment

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

Invalid CSS after "...rt "_print/all"": expected "{", was ";"

}

.card-link-tagline > * {
margin: 0 !important;

Choose a reason for hiding this comment

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

!important should not be used


.list-images,
.list-images-item {
display: block !important;

Choose a reason for hiding this comment

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

!important should not be used

}

.list-columns .usa-width-one-third {
width: 100% !important;

Choose a reason for hiding this comment

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

!important should not be used

-moz-box-shadow: none !important;
-ms-box-shadow: none !important;
-o-box-shadow: none !important;
box-shadow: none !important;

Choose a reason for hiding this comment

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

!important should not be used

@@ -0,0 +1,36 @@
.card-image-bg {
display: none !important;

Choose a reason for hiding this comment

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

!important should not be used

margin: 0 !important;

img {
display: none !important;

Choose a reason for hiding this comment

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

!important should not be used

@@ -0,0 +1,8 @@
.graphic-list-link {
margin: 0 !important;

Choose a reason for hiding this comment

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

!important should not be used

@@ -0,0 +1,3 @@
.section-newsletter {
display: none !important;

Choose a reason for hiding this comment

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

!important should not be used

@@ -0,0 +1,3 @@
.blog-search {
display: none !important;

Choose a reason for hiding this comment

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

!important should not be used

* blockquotes

* moved nav styles to own scss file, still need work especially moblie

* Update order of headings, adjusted colors and background

* nav redux

* new layout, persistent header and nav

* broken on to other pages

* wrote introduction, switched order of code, documentation

* cleaned up colors

* clearing a hound check

* improve docs

* started adding images

* sticky nav

* more work on images

* naming

* document usage of Jekyll throughout the site

* rspec

* docs

* added blog images and captions section. Need to add documentation

* added image documentation

* hero image code

* right aligned attribute page and code

* blog images

* added breadcrumb, expanded images to blog images

* call to action wording

* hide debugging

* typo

* rearrange navigation

* oembed

* Added documentation to right aligned list

* Additional documentation to breadcrumb section

* removed commented out js
site.config['n_cores'] ? site.config['n_cores'] : 1
end

def generate(site)

Choose a reason for hiding this comment

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

Assignment Branch Condition size for generate is too high. [19.21/15]

@use_categories = false
@use_categories = true if site.config['related_categories']
@use_tags = false if !site.config['related_tags'].nil? && site.config['related_tags'] != true
@use_authors = false if !site.config['related_authors'].nil? && site.config['related_authors'] != true

Choose a reason for hiding this comment

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

Line is too long. [108/100]

end.collect { |post, _freq| post }
end

def create_presets(site)

Choose a reason for hiding this comment

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

Assignment Branch Condition size for create_presets is too high. [17.8/15]

else
b[0].date <=> a[0].date
end
end.collect { |post, _freq| post }

Choose a reason for hiding this comment

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

Avoid multi-line chains of blocks.

related_posts = '<p>No related posts</p>'
# Calculate the frequency of each tag.
# Returns {tag => freq, tag => freq, ...}
def tag_freq(posts)

Choose a reason for hiding this comment

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

Assignment Branch Condition size for tag_freq is too high. [15.81/15]

end
# Calculate related posts.
# Returns [<Post>]
def related_posts(me, posts)

Choose a reason for hiding this comment

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

Assignment Branch Condition size for related_posts is too high. [43.91/15]
Cyclomatic complexity for related_posts is too high. [11/6]
Method has too many lines. [29/10]
Perceived complexity for related_posts is too high. [11/7]


var $anchors = $(anchors.join(','));

Choose a reason for hiding this comment

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

'$' is not defined no-undef

gboone and others added 3 commits March 27, 2017 16:59
This updates the documentation in the README so that users have an easier time finding the style guide.

cc
Update Readme to better link to styleguide
@gemfarmer gemfarmer changed the title [WIP] Dev --> master Dev --> master Mar 29, 2017
@gemfarmer gemfarmer requested a review from gboone March 29, 2017 15:39
andrewhughey and others added 2 commits March 30, 2017 13:14
* delete unused pages

* simplify subnavigation to eliminate 'children
' option

* remove unnecessary plugins

* simplified configuration

* remove debugs

* add introduction section to styleguide

* rspec

.usa-grid.content-focus {
padding-left: 0 !important;
padding-right: 0 !important;

Choose a reason for hiding this comment

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

!important should not be used

}

.usa-grid.content-focus {
padding-left: 0 !important;

Choose a reason for hiding this comment

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

!important should not be used

}

a::after {
font-size: 1rem !important;

Choose a reason for hiding this comment

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

!important should not be used

}

img {
max-width: 500px !important;

Choose a reason for hiding this comment

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

!important should not be used

.menu-btn,
.link-arrow-right svg,
.link-arrow-left svg {
display: none !important;

Choose a reason for hiding this comment

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

!important should not be used

* address width

* added layout section

* subpages

* nav children

* long pages

* remove old sections

* order
page_url = clip_char(page_url.to_s.downcase, '/').split('/')[0]
u = clip_char(u.to_s.downcase, '/').split('/')[0]
# if the url group is 'blog', match date strings
is_blog_post = (u == 'blog') && (page_url.to_i.positive?)

Choose a reason for hiding this comment

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

Don't use parentheses around a method call.

Sync vulnerability policy / add login.gov
Copy link
Contributor

@gboone gboone left a comment

Choose a reason for hiding this comment

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

Kermit dancing

@gboone gboone merged commit 3fe058a into master Mar 30, 2017
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.

4 participants