<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:09:27 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>FOLIO Jira</title>
    <link>https://folio-org.atlassian.net</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>1001.0.0-SNAPSHOT</version>
        <build-number>100246</build-number>
        <build-date>07-02-2024</build-date>
    </build-info>

<item>
            <title>[FOLIO-943] Add --sourcemap setting to stripes build in blackbox builds</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-943</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description></description>
                <environment></environment>
        <key id="80478">FOLIO-943</key>
            <summary>Add --sourcemap setting to stripes build in blackbox builds</summary>
                <type id="10003" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium">Task</type>
                                            <priority id="10001" iconUrl="https://dev.folio.org/assets/jira-priority/jira-p2.svg">P2</priority>
                        <status id="6" iconUrl="https://folio-org.atlassian.net/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10003">Done</resolution>
                                                        <assignee accountid="5c706fbb47a54a6728e59df2">Wayne Schneider</assignee>
                                                                <reporter accountid="5c706fbb47a54a6728e59df2">Wayne Schneider</reporter>
                                    <labels>
                            <label>ci</label>
                            <label>sprint27</label>
                    </labels>
                <created>Mon, 20 Nov 2017 20:36:16 +0000</created>
                <updated>Mon, 12 Nov 2018 14:23:51 +0000</updated>
                            <resolved>Wed, 22 Nov 2017 15:54:15 +0000</resolved>
                                                                    <component>Continuous Integration</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                    <timespent seconds="5400">1 hour, 30 minutes</timespent>
                                <comments>
                                                            <comment id="190764" author="557058:624212b9-5938-4e3b-84c6-8c8a8db84996" created="Tue, 21 Nov 2017 03:27:55 +0000"  >&lt;p&gt;While updating the build command to include --sourcemap, we may also want to set the environment variable NODE_ENV=production if we&apos;re not doing so already.&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
NODE_ENV=production stripes build stripes.config.js output --sourcemap
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This will keep React from running in development mode.&lt;/p&gt;</comment>
                                                            <comment id="190765" author="5bffed52a1b46046f530c8f7" created="Tue, 21 Nov 2017 10:15:38 +0000"  >&lt;p&gt;What is the effect of that, Matt?&lt;/p&gt;</comment>
                                                            <comment id="190768" author="557058:624212b9-5938-4e3b-84c6-8c8a8db84996" created="Tue, 21 Nov 2017 15:03:37 +0000"  >&lt;p&gt;React will do things a bit differently when running in &quot;production&quot; mode, supposedly making the UI render faster.  Since re-enabling minification (
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;STRIPES-102&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/STRIPES-102&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;the uglify plugin fails&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10303?size=medium&quot; /&gt;
            STRIPES-102
        &lt;/a&gt;
                                                    &lt;span class=&quot;aui-lozenge aui-lozenge-subtle aui-lozenge-success jira-macro-single-issue-export-pdf&quot;&gt;Closed&lt;/span&gt;
            &lt;/span&gt;
) along with the 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;STCOR-64&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/STCOR-64&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Source map option for static builds&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium&quot; /&gt;
            STCOR-64
        &lt;/a&gt;
                                                    &lt;span class=&quot;aui-lozenge aui-lozenge-subtle aui-lozenge-success jira-macro-single-issue-export-pdf&quot;&gt;Closed&lt;/span&gt;
            &lt;/span&gt;
 sourcemap PR, React now logs a warning about not being in production mode while minified.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&quot;Warning: It looks like you&apos;re using a minified copy of the development build of React. When deploying React apps to production, make sure to use the production build which skips development warnings and is faster. See &lt;a href=&quot;https://fb.me/react-minification&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://fb.me/react-minification&lt;/a&gt; for more details.&quot;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Redux has similar behavior and warning:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&quot;You are currently using minified code outside of NODE_ENV === &apos;production&apos;. This means that you are running a slower development build of Redux. You can use loose-envify (&lt;a href=&quot;https://github.com/zertosh/loose-envify&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/zertosh/loose-envify&lt;/a&gt;) for browserify or DefinePlugin for webpack (&lt;a href=&quot;http://stackoverflow.com/questions/30030031&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://stackoverflow.com/questions/30030031&lt;/a&gt;) to ensure you have the correct code for your production build.&quot;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;I updated stripes-core in the same PR to include Webpack&apos;s &lt;a href=&quot;https://webpack.js.org/plugins/environment-plugin/&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;EnvironmentPlugin&lt;/a&gt;.  This enables us to tell React and Redux to operate in production mode.  This is done by setting the NODE_ENV environment variable to &quot;production&quot;.  Webpack will also trim out unused code as a result, making the build slightly smaller.&lt;/p&gt;

&lt;p&gt;As a trade-off, we also lose some of React&apos;s development logging while in production mode. Therefore, I suppose it really comes down to the target audience for a given build if we want to maintain the React dev logging or better performance.&lt;/p&gt;</comment>
                                                            <comment id="190771" author="5bffed52a1b46046f530c8f7" created="Tue, 21 Nov 2017 15:11:37 +0000"  >&lt;p&gt;My take is that, at present at least, folio-testing is essentially part of the development process &amp;#8211; at least, lots of bugs first manifest there (sometimes in ways that can&apos;t be reproduced on development boxes) and need to be tracked down. So I think minification and suchlike would not be appropriate. (For folio-demo they would be, of course.)&lt;/p&gt;</comment>
                                                            <comment id="190774" author="557058:624212b9-5938-4e3b-84c6-8c8a8db84996" created="Tue, 21 Nov 2017 18:41:41 +0000"  >&lt;p&gt;With source maps available, minification should be okay. There could be issues resulting from minification and it would be good to catch them early.  I agree the added logging in folio-testing would be helpful to keep.  Then we only need to add &lt;tt&gt;--sourcemap&lt;/tt&gt; as originally requested.&lt;/p&gt;</comment>
                                                            <comment id="190775" author="5c706fbb47a54a6728e59df2" created="Tue, 21 Nov 2017 19:39:49 +0000"  >&lt;p&gt;OK, this has been added to the Ansible role for building Stripes. It should appear in folio-testing tomorrow. Thanks, &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A624212b9-5938-4e3b-84c6-8c8a8db84996&quot; class=&quot;user-hover&quot; rel=&quot;557058:624212b9-5938-4e3b-84c6-8c8a8db84996&quot; data-account-id=&quot;557058:624212b9-5938-4e3b-84c6-8c8a8db84996&quot; accountid=&quot;557058:624212b9-5938-4e3b-84c6-8c8a8db84996&quot; rel=&quot;noreferrer&quot;&gt;Matthew Jones&lt;/a&gt;!&lt;/p&gt;</comment>
                                                            <comment id="190777" author="5c706fbb47a54a6728e59df2" created="Wed, 22 Nov 2017 15:23:25 +0000"  >&lt;p&gt;Source maps are now available on the Vagrant boxes folio/testing and folio/snapshot, but for some reason not on folio-testing.aws.indexdata.com. &lt;/p&gt;</comment>
                                                            <comment id="190780" author="557058:624212b9-5938-4e3b-84c6-8c8a8db84996" created="Wed, 22 Nov 2017 15:45:43 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5c706fbb47a54a6728e59df2&quot; class=&quot;user-hover&quot; rel=&quot;5c706fbb47a54a6728e59df2&quot; data-account-id=&quot;5c706fbb47a54a6728e59df2&quot; accountid=&quot;5c706fbb47a54a6728e59df2&quot; rel=&quot;noreferrer&quot;&gt;Wayne Schneider&lt;/a&gt; I am seeing the sourcemaps on folio-testing.aws.indexdata.com.  Any chance you have a cached copy in your browser?&lt;/p&gt;</comment>
                                                            <comment id="190781" author="5bffed52a1b46046f530c8f7" created="Wed, 22 Nov 2017 15:52:44 +0000"  >&lt;p&gt;Working perfectly for me! Many thanks, Wayne. (I&apos;m just sorry you don&apos;t seem to be getting the benefit of your own work!)&lt;/p&gt;</comment>
                                                            <comment id="190785" author="5c706fbb47a54a6728e59df2" created="Wed, 22 Nov 2017 15:54:04 +0000"  >&lt;p&gt;Turns out it was a yarn version issue on folio-testing, now resolved.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="61783">STCOR-64</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummarycf">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|hzy3bz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 21 Nov 2017 03:27:55 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10025" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>[CHART] Time in Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>