<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Meck on Medium]]></title>
        <description><![CDATA[Stories by Meck on Medium]]></description>
        <link>https://medium.com/@yesmeck?source=rss-7bd115b60a0f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*8NGiRD5HPdb1z6WbP8JXTQ.png</url>
            <title>Stories by Meck on Medium</title>
            <link>https://medium.com/@yesmeck?source=rss-7bd115b60a0f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 02:45:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@yesmeck/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Announcing Ant Design 3.0]]></title>
            <link>https://medium.com/ant-design/announcing-ant-design-3-0-70e3e65eca0c?source=rss-7bd115b60a0f------2</link>
            <guid isPermaLink="false">https://medium.com/p/70e3e65eca0c</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[ui]]></category>
            <dc:creator><![CDATA[Meck]]></dc:creator>
            <pubDate>Mon, 04 Dec 2017 14:00:53 GMT</pubDate>
            <atom:updated>2018-08-29T09:15:43.640Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OTr9FO5zOTVFgN_4S971qw.png" /></figure><blockquote><a href="https://ant.design/"><em>Ant Design</em></a><em> which is specially created for enterprise internal desktop applications, is committed to improving the experience of users, designers and developers.</em></blockquote><p>We released<strong> Ant Design 2.0</strong> 14 months ago. In those 14 months we received PRs from more than 200 contributors.Underwent about 4,000 commit and over 60 <a href="https://github.com/ant-design/ant-design/releases">releases</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lo18e8-74pk6w5jLPy7npA.png" /></figure><p>The number of GitHub star also rose all the way from 6k to 20k.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pn8DEp6GwBgoVksi9kwMuw.png" /><figcaption>GitHub trending since 2015</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Pyy85SEu0fYxthrWe7vv-A.png" /></figure><p><strong>Today, we are happy to announce that Ant Design 3.0 has finally been released 🎉.</strong> In this release we made a completely new design for components and websites, introduced a new color system, refactored code for multiple underlying components, introduced new features and improvements while minimizing incompatible changes. See full change logs <a href="https://ant.design/changelog#3.0.0">here</a>.</p><p>Here is our home page <a href="http://ant.design/">http://ant.design/</a> and <a href="http://github.com/ant-design/ant-design">GitHub repository</a>.</p><h3>New Color System</h3><p>Our new color system is inspired by the sky, because its inclusiveness coincide with the tone of our brand. Based on the natural sky color change with time and the research on the light and shade rules, we rewrote our color algorithm to generate a <a href="https://ant.design/docs/spec/colors">brand new palettes</a>, and the corresponding gradation levels are optimized too. The senses of new color palette is younger, brighter, and grayscale transitions more natural, a perfect blend of sensual and rational beauty. In addition, all dominant color values ​​take into account accessibility standards.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PzbgW3jZA9uyR8JszwLgAw.png" /></figure><h3>New Design of Components</h3><p>In previous version, the basic font size of the component was 12px, and we received many feedbacks from community to request us increasing the font size. Our designers are also aware that today the big screen is very common, 14px is a more appropriate font size. So we increased the base font size for to 14px and resized the dimensions of all the components to accommodate this change.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NIlj0-TdLMbo_hzSBP8tmg.png" /></figure><h3>Rewrote components</h3><p>We rewrote the Table component to resolve some long living issues. A new prop components was introduced, with this props you can highly customize Table component now, here is a <a href="http://beta.ant.design/components/table/#components-table-demo-drag-sorting">example</a> to add drag &amp; drop feature to table.</p><p>Form component also has been rewrote to provide a better support for nested fields.</p><p>Another rewrote component is Steps, with this rewrote Steps has a simpler DOM structure and IE9 compatibility.</p><h3>New Components</h3><p>This version we added two new components, <em>List</em> and <em>Divider</em>.</p><p>List components can be very convenient for text, lists, pictures, paragraphs and other data display. And easy integration with third-party libraries, for example, you can use <a href="https://github.com/bvaughn/react-virtualized">react-virtualized</a> to achieve infinite loading list. More detailed examples can refer to the <a href="https://ant.design/components/list/">List</a> document.</p><p>The Divider component can be used to split paragraphs of text in different chapters or to split in-line text / links, such as the action column of a table. Detailed examples can refer to the <a href="https://ant.design/components/divider">Divider</a> document.</p><h3>Full support for React 16 and ES Module</h3><p>In this version we added support for React 16 and ES module. If you are using webpack 3 then you can now enjoy the optimization of antd’s components by Tree Shaking and Module Concatenation. If you’re using babel-plugin-import, just set libraryDirectory to the es directory.</p><h3>More friendly TypeScript support</h3><p>We’ve removed all the implicit any types in our code, and we no longer requires &quot;allowSyntheticDefaultImports&quot;: true in your project. If you happen to have projects that you plan to write using TypeScript, please refer to our new documentation “<a href="https://ant.design/docs/react/use-in-typescript/">Using in TypeScript</a>” .</p><h3>😍 One More Thing…</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YHn_dMzMYfkIL2Hr5TvXcQ.png" /></figure><p>Some people may already know it, we are working on another project named <a href="https://pro.ant.design/">Ant Design Pro</a>, it’s a out-of box UI solution and a React boilerplate for enterprise applications based on Ant Design 3.0. Though it has not reached its <a href="https://github.com/ant-design/ant-design-pro/issues/333">1.0 release</a> yet. But with antd 3.0 releasing, you can use it in production now.</p><h3>What’s Next</h3><p>Our designers are working on rewriting our design guideline documentation and designing a new website for Ant Design. We are very excited to provide a better design language to inspire more ideas of building enterprise applications.</p><p>And our engineers are working hard on Ant Design Pro to make 1.0 happen, which also need your help to <a href="https://github.com/ant-design/ant-design-pro/issues/120">translate our documents</a>.</p><h3>Conclusion</h3><p>It’s not possible to reach here without your supports, feedbacks, and participations. Thanks to the awesome Ant Design community. If you encounter any problems when using antd, feel free to <a href="https://github.com/ant-design/ant-design/issues/new">file a new issue</a> on GitHub.</p><p>Thanks for reading. Go install it, star it, and give it a try! 🎉</p><h4>Links</h4><ul><li><a href="https://ant.design/">Ant Design</a></li><li><a href="http://github.com/ant-design/ant-design">Ant Design Github Repository</a></li><li><a href="https://pro.ant.design/">Ant Design Pro</a></li><li><a href="https://mobile.ant.design/">Ant Design Mobile</a></li><li><a href="https://ng.ant.design/">NG-ZORRO — An Angular Implementation of Ant Design</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=70e3e65eca0c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ant-design/announcing-ant-design-3-0-70e3e65eca0c">Announcing Ant Design 3.0</a> was originally published in <a href="https://medium.com/ant-design">Ant Design</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Rails Snapshot Testing]]></title>
            <link>https://medium.com/@yesmeck/rails-snapshot-testing-5183a7706ea8?source=rss-7bd115b60a0f------2</link>
            <guid isPermaLink="false">https://medium.com/p/5183a7706ea8</guid>
            <category><![CDATA[ruby]]></category>
            <category><![CDATA[ruby-on-rails]]></category>
            <category><![CDATA[rspec]]></category>
            <dc:creator><![CDATA[Meck]]></dc:creator>
            <pubDate>Tue, 06 Sep 2016 02:06:12 GMT</pubDate>
            <atom:updated>2016-09-06T02:06:12.241Z</atom:updated>
            <content:encoded><![CDATA[<p>Facebook’s Javascript testing framework Jest introduces a new feature called “React Tree Snapshot Testing” last week. It’s a <em>brilliant idea for UI testing.</em></p><p>I realized that the snapshot testing can also be used in Rails controller and view testing. So created a gem <a href="https://github.com/yesmeck/rspec-snapshot">rspec-snapshot</a>.</p><p>With rspec-snapshot you can write Rails view testing like this:</p><pre>RSpec.describe &quot;posts/index&quot;, type: :view do<br>  before(:each) do<br>    assign(:posts, [<br>      Post.create!(),<br>      Post.create!()<br>    ])<br>  end</pre><pre>  it &quot;renders a list of posts&quot; do<br>    render</pre><pre>    expect(rendered).to match_snapshot(&quot;posts/index&quot;)<br>  end<br>end</pre><p>And your JSON API request testing can be like this:</p><pre>RSpec.describe &quot;Posts&quot;, type: :request do<br>  describe &quot;GET /posts&quot; do<br>    it &quot;works&quot; do<br>      get posts_path</pre><pre>      expect(response.body).to match_snapshot(&quot;posts&quot;)<br>    end<br>  end<br>end</pre><p>Super easy and elegant.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5183a7706ea8" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>