<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>environment variables Archives | Clever Cloud</title>
	<atom:link href="https://www.clever.cloud/blog/tag/environment-variables/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.clever.cloud/blog/tag/environment-variables/</link>
	<description>From Code to Product</description>
	<lastBuildDate>Fri, 12 Jul 2019 11:21:00 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://cdn.clever-cloud.com/uploads/2023/03/cropped-cropped-favicon-32x32.png</url>
	<title>environment variables Archives | Clever Cloud</title>
	<link>https://www.clever.cloud/blog/tag/environment-variables/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Environment variables: reloaded</title>
		<link>https://www.clever.cloud/blog/features/2019/07/12/environment-variables-reloaded/</link>
		
		<dc:creator><![CDATA[Hubert Sablonnière]]></dc:creator>
		<pubDate>Fri, 12 Jul 2019 11:21:00 +0000</pubDate>
				<category><![CDATA[Features]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[environment variables]]></category>
		<category><![CDATA[web components]]></category>
		<guid isPermaLink="false">https://www2.cleverapps.io/wp/blog/technology/2019/07/12/environment-variables-reloaded/</guid>

					<description><![CDATA[<p><img width="1400" height="540" src="https://cdn.clever-cloud.com/uploads/2021/08/env-var-post-1.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="env var post 1" decoding="async" fetchpriority="high" srcset="https://cdn.clever-cloud.com/uploads/2021/08/env-var-post-1.png 1400w, https://cdn.clever-cloud.com/uploads/2021/08/env-var-post-1-300x116.png 300w, https://cdn.clever-cloud.com/uploads/2021/08/env-var-post-1-1024x395.png 1024w, https://cdn.clever-cloud.com/uploads/2021/08/env-var-post-1-768x296.png 768w, https://cdn.clever-cloud.com/uploads/2021/08/env-var-post-1-1368x528.png 1368w" sizes="(max-width: 1400px) 100vw, 1400px" /></p>After all these years, our Web console's codebase needed some technical updates. We chose new libraries to build our UI (templating, components…) and decided to introduce them progressively, feature by feature.

In order to test this new stack, we chose to improve an existing feature: the environment variables.

We'll get into the "under the hood" details in another article. For now, let's focus on what's new from the user's perspective.

<span id="more-2960"></span>
<h2 id="whats-new">What's new?</h2>
<h3 id="multiline-support">Multiline support</h3>
There was no real/official multiline support for your environement variables.

Now you can press the <code>enter</code> key in the value field: (it also works with copy/paste)

<a class="image-popup-no-margins" href="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-multi-01.png">
<img src="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-multi-01.png" style="border: 1px solid #aaa; border-radius: 5px; width: 70%">
</a>

<a class="image-popup-no-margins" href="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-multi-02.png">
<img src="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-multi-02.png" style="border: 1px solid #aaa; border-radius: 5px; margin-bottom: 3rem; width: 70%">
</a>

In expert mode, your multiline variables need to be quoted:

<a class="image-popup-no-margins" href="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-multi-03.png">
<img src="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-multi-03.png" style="border: 1px solid #aaa; border-radius: 5px; margin-bottom: 3rem; width: 70%">
</a>
<h3 id="edits-then-update">Edits then update</h3>
The update mechanism has changed. First, you make your modifications (new vars, edits, deletions…) in simple or expert mode. Then you click on "update changes".

<a class="image-popup-no-margins" href="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-edit-update.png">
<img src="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-edit-update.png" style="border: 1px solid #aaa; border-radius: 5px; margin-bottom: 3rem; width: 70%">
</a>
<h3 id="input-validation">Input validation</h3>
We improved the client-side validation and tried to display detailed errors.

New variable names are checked against conventions:

<a class="image-popup-no-margins" href="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-badname.png">
<img src="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-badname.png" style="border: 1px solid #aaa; border-radius: 5px; margin-bottom: 3rem; width: 70%">
</a>

Expert mode also gets its real-time error report:

<a class="image-popup-no-margins" href="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-expert-errors-01.png">
<img src="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-expert-errors-01.png" style="border: 1px solid #aaa; border-radius: 5px; width: 70%">
</a>

<a class="image-popup-no-margins" href="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-expert-errors-02.png">
<img src="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-expert-errors-02.png" style="border: 1px solid #aaa; border-radius: 5px; margin-bottom: 3rem; width: 70%">
</a>
<h3 id="small-ux-improvements">Small UX improvements</h3>
We also improved some small user-experience details:
<ul>
 	<li>The design of the focus ring has been improved.
It should be more visible for any keyboard user that needs it.</li>
</ul>
<a class="image-popup-no-margins" href="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-focus.png">
<img src="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-focus.png" style="border: 1px solid #aaa; border-radius: 5px; margin-bottom: 3rem; width: 70%">
</a>
<ul>
 	<li>We're introducing a skeleton screen when data is loading:</li>
</ul>
<a class="image-popup-no-margins" href="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-loading.png">
<img src="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-loading.png" style="border: 1px solid #aaa; border-radius: 5px; margin-bottom: 3rem; width: 70%">
</a>
<ul>
 	<li>We use a loader animation when data is updating:</li>
</ul>
<a class="image-popup-no-margins" href="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-updating.png">
<img src="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-updating.png" style="border: 1px solid #aaa; border-radius: 5px; margin-bottom: 3rem; width: 70%">
</a>
<ul>
 	<li>For add-ons, we reuse the same component but in read-only mode:</li>
</ul>
<a class="image-popup-no-margins" href="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-readonly-simple.png">
<img src="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-readonly-simple.png" style="border: 1px solid #aaa; border-radius: 5px; margin-bottom: 3rem; width: 70%">
</a>
<ul>
 	<li>For add-ons, you still have the expert mode so you can copy/paste easily from it:</li>
</ul>
<a class="image-popup-no-margins" href="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-readonly-expert.png">
<img src="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-readonly-expert.png" style="border: 1px solid #aaa; border-radius: 5px; margin-bottom: 3rem; width: 70%">
</a>
<h2 id="whats-next">What's next?</h2>
We hope these improvements will help you in your usage of the Clever Cloud console. Please give us feedbacks.

We'll be back with details about how we changed our stack using Web Components…]]></description>
										<content:encoded><![CDATA[<p><img width="1400" height="540" src="https://cdn.clever-cloud.com/uploads/2021/08/env-var-post-1.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="env var post 1" decoding="async" srcset="https://cdn.clever-cloud.com/uploads/2021/08/env-var-post-1.png 1400w, https://cdn.clever-cloud.com/uploads/2021/08/env-var-post-1-300x116.png 300w, https://cdn.clever-cloud.com/uploads/2021/08/env-var-post-1-1024x395.png 1024w, https://cdn.clever-cloud.com/uploads/2021/08/env-var-post-1-768x296.png 768w, https://cdn.clever-cloud.com/uploads/2021/08/env-var-post-1-1368x528.png 1368w" sizes="(max-width: 1400px) 100vw, 1400px" /></p>After all these years, our Web console's codebase needed some technical updates. We chose new libraries to build our UI (templating, components…) and decided to introduce them progressively, feature by feature.

In order to test this new stack, we chose to improve an existing feature: the environment variables.

We'll get into the "under the hood" details in another article. For now, let's focus on what's new from the user's perspective.

<span id="more-2960"></span>
<h2 id="whats-new">What's new?</h2>
<h3 id="multiline-support">Multiline support</h3>
There was no real/official multiline support for your environement variables.

Now you can press the <code>enter</code> key in the value field: (it also works with copy/paste)

<a class="image-popup-no-margins" href="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-multi-01.png">
<img src="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-multi-01.png" style="border: 1px solid #aaa; border-radius: 5px; width: 70%">
</a>

<a class="image-popup-no-margins" href="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-multi-02.png">
<img src="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-multi-02.png" style="border: 1px solid #aaa; border-radius: 5px; margin-bottom: 3rem; width: 70%">
</a>

In expert mode, your multiline variables need to be quoted:

<a class="image-popup-no-margins" href="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-multi-03.png">
<img src="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-multi-03.png" style="border: 1px solid #aaa; border-radius: 5px; margin-bottom: 3rem; width: 70%">
</a>
<h3 id="edits-then-update">Edits then update</h3>
The update mechanism has changed. First, you make your modifications (new vars, edits, deletions…) in simple or expert mode. Then you click on "update changes".

<a class="image-popup-no-margins" href="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-edit-update.png">
<img src="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-edit-update.png" style="border: 1px solid #aaa; border-radius: 5px; margin-bottom: 3rem; width: 70%">
</a>
<h3 id="input-validation">Input validation</h3>
We improved the client-side validation and tried to display detailed errors.

New variable names are checked against conventions:

<a class="image-popup-no-margins" href="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-badname.png">
<img src="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-badname.png" style="border: 1px solid #aaa; border-radius: 5px; margin-bottom: 3rem; width: 70%">
</a>

Expert mode also gets its real-time error report:

<a class="image-popup-no-margins" href="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-expert-errors-01.png">
<img src="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-expert-errors-01.png" style="border: 1px solid #aaa; border-radius: 5px; width: 70%">
</a>

<a class="image-popup-no-margins" href="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-expert-errors-02.png">
<img src="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-expert-errors-02.png" style="border: 1px solid #aaa; border-radius: 5px; margin-bottom: 3rem; width: 70%">
</a>
<h3 id="small-ux-improvements">Small UX improvements</h3>
We also improved some small user-experience details:
<ul>
 	<li>The design of the focus ring has been improved.
It should be more visible for any keyboard user that needs it.</li>
</ul>
<a class="image-popup-no-margins" href="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-focus.png">
<img src="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-focus.png" style="border: 1px solid #aaa; border-radius: 5px; margin-bottom: 3rem; width: 70%">
</a>
<ul>
 	<li>We're introducing a skeleton screen when data is loading:</li>
</ul>
<a class="image-popup-no-margins" href="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-loading.png">
<img src="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-loading.png" style="border: 1px solid #aaa; border-radius: 5px; margin-bottom: 3rem; width: 70%">
</a>
<ul>
 	<li>We use a loader animation when data is updating:</li>
</ul>
<a class="image-popup-no-margins" href="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-updating.png">
<img src="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-updating.png" style="border: 1px solid #aaa; border-radius: 5px; margin-bottom: 3rem; width: 70%">
</a>
<ul>
 	<li>For add-ons, we reuse the same component but in read-only mode:</li>
</ul>
<a class="image-popup-no-margins" href="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-readonly-simple.png">
<img src="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-readonly-simple.png" style="border: 1px solid #aaa; border-radius: 5px; margin-bottom: 3rem; width: 70%">
</a>
<ul>
 	<li>For add-ons, you still have the expert mode so you can copy/paste easily from it:</li>
</ul>
<a class="image-popup-no-margins" href="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-readonly-expert.png">
<img src="https://cdn.clever-cloud.com/uploads/2021/08/env-vars-readonly-expert.png" style="border: 1px solid #aaa; border-radius: 5px; margin-bottom: 3rem; width: 70%">
</a>
<h2 id="whats-next">What's next?</h2>
We hope these improvements will help you in your usage of the Clever Cloud console. Please give us feedbacks.

We'll be back with details about how we changed our stack using Web Components…]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
