<?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 Yi Yang on Medium]]></title>
        <description><![CDATA[Stories by Yi Yang on Medium]]></description>
        <link>https://medium.com/@leopoldthecuber?source=rss-777423099d07------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ngGoBFvgfaJJvdoKC2q1uw.jpeg</url>
            <title>Stories by Yi Yang on Medium</title>
            <link>https://medium.com/@leopoldthecuber?source=rss-777423099d07------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 09:20:42 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@leopoldthecuber/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[Element 2.0 is here]]></title>
            <link>https://medium.com/elemefe/element-2-0-is-here-71bfa217e269?source=rss-777423099d07------2</link>
            <guid isPermaLink="false">https://medium.com/p/71bfa217e269</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[element-ui]]></category>
            <category><![CDATA[vuejs]]></category>
            <dc:creator><![CDATA[Yi Yang]]></dc:creator>
            <pubDate>Mon, 30 Oct 2017 02:44:11 GMT</pubDate>
            <atom:updated>2017-10-30T13:48:50.237Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gcLEoU0YF3pQV-HnbtrXdA.jpeg" /></figure><p><a href="http://element.eleme.io/">Element</a> 2.0 was released last Friday, and together the website has been updated to show the 2.0 documentations by default (and, of course, you can still select the 1.x docs from the dropdown menu).</p><p>Element 2.0 has 210 commits, including more than 90 new functions and optimizations. They can be roughly categorized as follows:</p><h3>Component functions</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zSYNNeGMr6FznfDZ263CBw.jpeg" /><figcaption>Table now supports rowspan and colspan</figcaption></figure><ul><li>First of all, we improved usability. Here’s some examples: in 1.x, if you need to change the default size of components, you’ll have to add the size attribute on each component. Now you can configure the default size for all components with just one line of code. Another example is that the new theme is written in SCSS, so SCSS users can easily modify style variables to get a custom theme. At the same time, we also added some methods for components, so that you can programmatically trigger some behavior of the components. For example we added open and close methods for Menu to open and close SubMenus, and now Table has a toggleRowExpansion method that is used to expand or collapse expandable rows</li><li>Second, we now support some of the popular demands our users have been asking. To name a few, now Dialog can be nested in template, Table supports rowspan and colspan, and MessageBox can render HTML strings</li><li>Third, we enriched component APIs, so they can be used in a wider business scenario. For example, now you can configure which corner of the screen Notification pops up, and use custom icon in Loading</li><li>Last but not least, we corrected some bad design in 1.x, and improved API consistency. One big change is that the change event of form components now only triggers on user interaction, keeping it consistent with native change event</li></ul><p>Please refer to the <a href="http://element-cn.eleme.io/#/en-US/component/changelog">changelog</a> for details.</p><h3>New theme</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g34V9jwzxK8ALVBsB-QVVw.jpeg" /><figcaption>DatePicker in theme-chalk</figcaption></figure><p>Element 2.0 has a new theme: theme-chalk. What is the design principle of this theme? Let&#39;s hear what our designer <a href="https://medium.com/u/642ce10c25ed">Nico Hsueh</a> has to say:</p><blockquote>In line with current design trends, the redesigned Element 2.0 adapts to the current aesthetic. To abandon redundant design modification, we adhere to the “less is more” design principle. For example, with more and more high-res screens, we make Element “bigger” than 1.x, so the reading experience will be more friendly. At the same time, besides the default component size, we also provide a variety of sizes to accommodate different needs.</blockquote><blockquote>In addition, keeping the consistency of components is also a principle when we design 2.0. For example, we first defined the four heights of Button (40 px, 36 px, 32 px, 28 px); after that, Input, Select and other components are then maintained with the exact same heights. This enables the design output based on Element 2.0 to ensure a high degree of unity.</blockquote><blockquote>In general, 2.0 is more modern and friendly than 1.x.</blockquote><h3>Accessibility</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pLDAgWBH_YLk02XolyQPew.png" /><figcaption>VoiceOver works with Radio on macOS</figcaption></figure><p>We also improved accessibility of components in version 2.0. The following is from @<a href="https://github.com/maranran">maranran</a>, who is responsible for this work:</p><blockquote>Accessibility means that the components, behaviors, and DOM structures on the page are semantically correct, so that AT devices can convey page information to people with disabilities, including the blind, physical disability, and cognitive disability.</blockquote><blockquote>As a UI library of basic components, Element encapsulates the underlying DOM structure. In the 2.0 version, we have done some basic work in accessibility to help people with disabilities to understand the page and interact with it. At the same time, we have made it easier for developers to keep improving accessibility in their projects.</blockquote><blockquote>What we have done includes two parts: increasing operability of keyboard, and improving semantics of the components. Keyboard operability allows people with disabilities to navigate to each component using keyboard and interact with them using left, right, up, down, enter, esc, etc. When it comes to semantics, we used the WAI-ARIA technology to add roles, states, properties for different components, so that UA and AT can correctly convey the semantics of components.</blockquote><h3>Documentation</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/928/1*X9HP96TZwnAi-VJyxxqlBw.jpeg" /><figcaption>Search in the docs</figcaption></figure><p>The 2.0 website and documentations have also been upgraded, and hopefully you will find them easier to use.</p><p>The main contributors of Element 2.0 are (in alphabetical order) : @<a href="https://github.com/baiyaaaaa">baiyaaaaa</a> @<a href="https://github.com/dreamacro">Dreamacro</a> @<a href="https://github.com/leopoldthecoder">Leopoldthecoder</a> @l<a href="https://github.com/liril-net">iril-net</a> @<a href="https://github.com/maranran">maranran</a> @<a href="https://github.com/wacky6">wacky6</a> @<a href="https://github.com/waynecz">waynecz</a>. In addition, there are many community users who have made suggestions for 2.0, and we are grateful to them.</p><p>The release of version 2.0 marks a new era for Element, and it also means that the 1.x version goes into maintenance mode. We will continue to support it until December 01, 2017.</p><p>We hope you enjoy Element 2.0.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=71bfa217e269" width="1" height="1" alt=""><hr><p><a href="https://medium.com/elemefe/element-2-0-is-here-71bfa217e269">Element 2.0 is here</a> was originally published in <a href="https://medium.com/elemefe">ELEME Frontend Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Element: A Retrospective]]></title>
            <link>https://medium.com/elemefe/element-a-retrospective-1311219be693?source=rss-777423099d07------2</link>
            <guid isPermaLink="false">https://medium.com/p/1311219be693</guid>
            <category><![CDATA[element-ui]]></category>
            <category><![CDATA[vuejs]]></category>
            <category><![CDATA[elements]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Yi Yang]]></dc:creator>
            <pubDate>Tue, 07 Mar 2017 16:12:40 GMT</pubDate>
            <atom:updated>2017-03-08T09:16:09.563Z</atom:updated>
            <content:encoded><![CDATA[<p>We are the FE team of <a href="https://ele.me/">ele.me</a>, one of the biggest food delivery companies in China. You may know us from <a href="https://github.com/ElemeFE/element">Element</a>, the most popular open source project of ours, a desktop UI library based on Vue.js 2.0. Today, we’d like to begin our journey here at Medium by looking back at what we have done with Element.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1003/1*M20GkaLW-OBcz6-ifDAJEg.png" /></figure><h3>The Genesis</h3><p>It all began exactly a year ago. Back then, the work on frontend engineers’ desks started to pile up as our company grew ever faster. Same thing happened to the UED team, as they had to design almost every page of every site. So, the idea of building a component library with a set of design language was spontaneous.</p><p>That’s how Element came to be. But at that point, a lot of thing were unclear. Yes, we knew it was going to be a component library. We were sure it would be based on Vue.js, since it was the weapon of choice for over half of the FE developers in our team. But should we just include basic components applicable to almost every admin page? Or should we cover all business components that are only useful for a few pages? And, was it going to be an open source project? We didn’t know. After a month of trying, we finished some business components, like restaurant picker and city picker, but we knew it was not enough. Maybe we needed to take a step back and do some more thinking.</p><p>After another two months of searching and investigating, the FE team and the UED team have finally come to see what Element should look like:</p><ul><li>it will solely cover common components</li><li>it will be built with Vue.js 2.0</li><li>it will be open to the community</li></ul><p>With a clear goal in mind, we set off.</p><h3>First Glance</h3><p>Early last September, we announced Element to the community after three months of developing. Thanks to the global popularity of Vue.js, Element got more than 100 stars the same day it was announced.</p><p>Back then, we had just released the first RC of Element, absolutely clueless about when its first major version would be available. We had no homepage, so our users had to look up the GitHub repository for component demos; we were still working on its Chinese documentation, let alone an English translation.</p><p>But it was then that we realized we had made the right choice opening Element to the community. Developers all around the world reached out to us, helping us fix bugs and make improvements. With their help, after nine RCs, we released Element 1.0.0 in November.</p><p>During those two months, the community and we have:</p><ul><li>solved 426 GitHub issues</li><li>pushed 818 commits</li><li>achieved 92% coverage of unit test</li><li>built a homepage with documentations</li><li>created a project logo (the one you see at the beginning of this article)</li></ul><h3>Ever Growing</h3><p>We never stopped making Element better. Here are some updates we’d like to share with you.</p><h4>English Documentations</h4><p>Since Element’s first appearance, the community has been asking for English documentations. Not long after, a professional translation team volunteered to help. Thanks to their hard work, we officially published Element’s English documentations together with version 1.0.1. You can check it out <a href="http://element.eleme.io/#/en-US">here</a>.</p><h4>New Versions</h4><p>Element is now 1.2.3, 20 versions from its first release. In these versions, we shipped four brand new components (Carousel, Collapse, Cascader and ColorPicker), all of which were demanded by the community. And of course, dozens of new features and bug fixes can be found along the way.</p><h4>Ecosystem</h4><p>Centered around Element, there are several tools and services at your disposal:</p><ul><li><a href="https://github.com/ElementUI/element-starter">starter kit</a>: a preset template to bootstrap your project</li><li><a href="https://github.com/ElementUI/element-theme">custom theme tool</a>: a CLI tool to generate your very own Element theme</li><li><a href="https://github.com/ElementUI/theme-preview">online theme preview</a>: an online service to preview and download theme transform in real-time</li><li><a href="https://github.com/ElementUI/awesome-element">awesome Element</a>: a curated list of Element projects</li></ul><p>And also, Element itself is a part of the Vue ecosystem. We are glad if it makes your developing more enjoyable :)</p><h3>A Big Thank You</h3><p>Now on GitHub, Element has over 9.4k stars and counting. It is what it is today because of the community. In fact, we never thought it would go this far when we first started because we didn’t know you guys are this awesome.</p><p>Another thing we’d like to mention particularly: i18n. Element supports 26 different languages, and 24 of them are made possible by developers all over the globe. From this single fact you can see how helpful the community has been to us.</p><p>So, a big thank you to all our users!</p><h3>The Future</h3><p>We are fully aware there is still a lot of work to do: Keyboard navigation is not good, accessibility is poor, some bugs are long overdue, etc. We will work on them.</p><p>And as always, your contributions are welcome. We’d love to take this road with all of you.</p><p>Finally, we will see you in <a href="http://element.eleme.io/#/en-US">element.eleme.io</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1311219be693" width="1" height="1" alt=""><hr><p><a href="https://medium.com/elemefe/element-a-retrospective-1311219be693">Element: A Retrospective</a> was originally published in <a href="https://medium.com/elemefe">ELEME Frontend Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Element: A Vue.js 2.0 UI Toolkit for Web]]></title>
            <link>https://medium.com/@leopoldthecuber/element-a-vue-js-2-0-ui-toolkit-for-web-f6ed9d953758?source=rss-777423099d07------2</link>
            <guid isPermaLink="false">https://medium.com/p/f6ed9d953758</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[vuejs]]></category>
            <dc:creator><![CDATA[Yi Yang]]></dc:creator>
            <pubDate>Thu, 17 Nov 2016 02:36:28 GMT</pubDate>
            <atom:updated>2016-11-17T02:38:17.150Z</atom:updated>
            <content:encoded><![CDATA[<p>We are the FE team of a Chinese company. You may have seen us in <a href="https://medium.com/the-vue-point/vue-2-0-is-here-ef1f26acf4b8#.34gy7lpsa">this article</a>, when Evan You pointed out “a complete desktop UI component library with Vue 2.0” is available.</p><p>Yes, we are the team behind that library.</p><h4>Introducing Element</h4><p>Homepage: <a href="http://element.eleme.io/#/en-US">http://element.eleme.io/#/en-US</a></p><p>GitHub: <a href="https://github.com/ElemeFE/element">https://github.com/ElemeFE/element</a></p><p>Element is a desktop UI library based on Vue.js 2.0. It provides dozens of components for you to build desktop websites.</p><p>Some of you may have heard of Element, or even used it in your project. For those who haven’t, we made a <a href="https://www.youtube.com/watch?v=Ncej30yypXc">video</a> about Element over a month ago (back then the English docs are not ready yet), you may learn a thing or two about it. For a comprehensive understanding, please visit our homepage above.</p><h4>English Docs</h4><p>We started developing Element back in June, and its first public release took place in September. Since then, the community has been asking for English documentations. Well, your voices are heard. Today, together with version 1.0.1, we officially published Element’s English documentations.</p><p>About 50 days ago, a professional translation team reached out to us and volunteered to help translate all the docs to English. Thanks to their hard work, we are able to present English docs only one week after version 1.0.0.</p><h4>We Need You</h4><p>However, the English docs are forged by a group of Chinese after all. I believe you guys, as native English speakers, can still help us make the docs better. So feel free to contribute if you find the language we use in the docs any non-native.</p><p>And not just the docs. Element is still young and growing. We have plans to add more features and new components to it, and we hope the community can join this journey with us. A piece of advice, a bug report, a pull request, anything is welcome. Element cannot thrive without the community, so please don’t hesitate to use it today!</p><p>Thank you in advance. We will see you in <a href="http://element.eleme.io/#/en-US">element.eleme.io</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f6ed9d953758" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>