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

Draft the beefed up responsive meta tag #835

Merged
merged 3 commits into from
Jul 4, 2019
Merged

Draft the beefed up responsive meta tag #835

merged 3 commits into from
Jul 4, 2019

Conversation

smadeja
Copy link
Contributor

@smadeja smadeja commented Jul 1, 2019

Closes #828. The docs will have to be updated, I wanted to get some feedback first.

Checklist

  • - An issue already exists detailing the issue/or feature request that this PR fixes
  • - All specs are formatted with crystal tool format spec src
  • - Inline documentation has been added and/or updated
  • - Lucky builds on docker with ./script/setup
  • - All builds and specs pass on docker with ./script/test

Copy link
Member

@paulcsmith paulcsmith left a comment

Choose a reason for hiding this comment

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

Just one suggestion! Thank you for doing this

@@ -74,4 +75,14 @@ module Lucky::SpecialtyTags
how_many.times { raw(" ") }
view
end

private def build_content_attr_value(options)
Copy link
Member

Choose a reason for hiding this comment

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

Could you name this something like build_responsive_meta_tag_content_attr. So that it is clear it is for the responsive_meta_tag? We may need something like this in the future for other methods, but until then I think being specific will add clarity

Copy link
Contributor Author

@smadeja smadeja Jul 4, 2019

Choose a reason for hiding this comment

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

Would build_viewport_properties be ok? If so, then I think it's ready.

src/lucky/tags/specialty_tags.cr Outdated Show resolved Hide resolved
@smadeja smadeja changed the title [WIP] Draft the beefed up responsive meta tag Draft the beefed up responsive meta tag Jul 4, 2019
Copy link
Member

@paulcsmith paulcsmith left a comment

Choose a reason for hiding this comment

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

Looks great!

@paulcsmith paulcsmith merged commit 95ee09d into luckyframework:master Jul 4, 2019
@smadeja smadeja deleted the beefy-tag branch March 1, 2020 16:36
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.

Beef up responsive meta tag
3 participants