

Let’s try Build Summary Integration by ZEIT Now
source link: https://www.tuicool.com/articles/yMNFbmQ
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Let’s try Deploy Summary Integration by ZEIT Now
Sep 4 ·3min read
Deploy Summary is a badass new feature by ZEIT Now . This integration analyzes your deployments, detects changed pages, and keeps a comment updated in your “pull request,” or PR. Yep, I know that it sounds a bit Sci-fi , but the future is here.
Our team had the opportunity to be early testers. So, now we don’t want to miss the chance to share our feedback with you.
We created two publics — Github and Gitlab repositories — just in case you wanted to try this out by yourself . The only thing you will need to do is to create a PR and cross your fingers. :grinning:
The Deploy Summary docs are very straightforward. After following them, you should be able to see something like this:
Here, the fun begins because after submitting a PR, you will see how the magic flows.
Creating your first PR
After doing some modifications in the index.js of our Next application and submitting the PR, a comment is generated containing a screenshot with the changes.
Adding our first component
Url: Destination Space
If you add more commits to the PR, the screenshot is going to be updated automatically. In the example, I will go ahead and tweak the design a little bit (it’s just a line of code, no worries)
Doing some updates
- Url: New Design …
- PR: New Design Colors
Let’s see what happens if I update multiple routes.
Updating multiple routes
- Url: Multiple …
- PR: Multiple routes
Benefits
- Quickly spot the visual impact of a given change.
- It will accelerate the Code Review process.
One more thing…
At the very end of the documentation, there is a paragraph that can be used to represent the impact the feature has not only on us but the web community as a whole.
“In addition to a growing list of supported framework , we will be soon exploring new ways of enhancing your workflow : imagine getting diff screenshots, lighthouse scores or calculated bundle sizes right next to your changed code.”
What could be the real impact of this sentence?
In the current front-end ecosystem, while working in a component-based architecture, it is natural to start importing modules that can hurt your application performance. Yep… there are some plugins, but having all these tools as part of your regular workflow without doing anything additional is priceless. At Front10 in our component explorer, we add a performance indicator to all the principal components, which is super helpful for our team and clients.
More critical than specifics is this idea of helping people enhance their workflows. Sometimes, we grow accustomed to poor routines, and because of this, our productivity gets hurt. Having these kinds of tools and frameworks can help take our potential to the next level.
This article was completed thanks to the team effort at Front10 , BTE.
Recommend
-
164
Next.js Getting Started Visit https://nextjs.org/learn to get started with Next.js. Documentation Visit
-
155
← Back to BlogNext.js 4: React 16 and styled-jsx 2Monday, October 9th 2017Tim Neutk...
-
72
README.md Now Examples
-
66
readme.md ncc Simple CLI for compiling a Node.js module into a single file, together with all its dependencies, gcc-style. Motivation
-
41
Run ncc , get a single optimized bundle of your Node.js program and all its dependencies
-
24
Today, we have some very special news regarding the evolution of our company. ZEIT is now Vercel . This new identity aligns with our new focus — to provide the ultimate workflow for developing, previewing...
-
16
如何将你的 ThinkJS 项目部署到 ZEIT 上什么是 ZEITZEIT 是免费的云平台,支持部署静态网站以及 Serverless 函数。Serverless 是近几年比较火的概念,简单去理解就是你只需...
-
14
news view Zeit-now部署静态项目 现在ZEIT 是一个云平台静态站点和无服务器功能完美地与您的工作流程适合。它使开发人员可以托管Jamstack网站和Web服务,这些网站和Web服务可以立...
-
13
How will you use zeit.de? zeit.de with ads Visit zeit.de as usual with ads and tracking. Details ab...
-
9
Zeit MedicalImmediate stroke detection at homeSr. Software EngineerLocation
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK