<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:43: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 append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[COMPASS-6525] Default preferences values are stored on disk not allowing to override them with application verison update</title>
                <link>https://jira.mongodb.org/browse/COMPASS-6525</link>
                <project id="13182" key="COMPASS">Compass </project>
                    <description>&lt;h3&gt;&lt;a name=&quot;ProblemStatement%2FRationale&quot;&gt;&lt;/a&gt;&lt;b&gt;Problem Statement/Rationale&lt;/b&gt;&lt;/h3&gt;
&lt;p&gt;We want to be able to change default values for application preferences between Compass releases, for example so that we can change whether or not some feature flags are enabled or disabled by default.&lt;/p&gt;

&lt;p&gt;This is currently not possible as on every application start we persist preferences on disk, including default values not changed by the user. This means that on next application start (and after application update) preferences values saved on disk will take precedence over the default values declared on the model&lt;/p&gt;

&lt;h3&gt;&lt;a name=&quot;StepstoReproduce&quot;&gt;&lt;/a&gt;&lt;b&gt;Steps to Reproduce&lt;/b&gt;&lt;/h3&gt;

&lt;p&gt;If running development build:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Add new preferences property with default value&lt;/li&gt;
	&lt;li&gt;Start application locally and check that default value matches the one defined in code&lt;/li&gt;
	&lt;li&gt;Stop the application&lt;/li&gt;
	&lt;li&gt;Change default value in model definition&lt;/li&gt;
	&lt;li&gt;Start the application again and check the value. You should see that the old default value is still preserved&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;With a beta:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;(if you already have the Beta installed, clean up your app preferences)&lt;/li&gt;
	&lt;li&gt;Install &lt;a href=&quot;https://github.com/mongodb-js/compass/releases/tag/v1.35.1-beta.3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/releases/tag/v1.35.1-beta.3&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;Run the app at least once&lt;/li&gt;
	&lt;li&gt;Update the beta either with autoupdate or manually from &lt;a href=&quot;https://github.com/mongodb-js/compass/releases/tag/v1.35.1-beta.5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/releases/tag/v1.35.1-beta.5&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;Run the app again and check feature flag options, you&apos;ll see &quot;focus mode editor&quot; option disabled, even though it should be enabled&lt;/li&gt;
&lt;/ul&gt;


&lt;h3&gt;&lt;a name=&quot;ExpectedResults&quot;&gt;&lt;/a&gt;&lt;b&gt;Expected Results&lt;/b&gt;&lt;/h3&gt;
&lt;p&gt;Default values should change with code changes&lt;/p&gt;

&lt;h3&gt;&lt;a name=&quot;ActualResults&quot;&gt;&lt;/a&gt;&lt;b&gt;Actual Results&lt;/b&gt;&lt;/h3&gt;
&lt;p&gt;Default values are persisted on disk and new default values are not picked up&lt;/p&gt;

&lt;h3&gt;&lt;a name=&quot;AdditionalNotes&quot;&gt;&lt;/a&gt;&lt;b&gt;Additional Notes&lt;/b&gt;&lt;/h3&gt;
&lt;p&gt;AppPreferences model persists all the properties on disk, even when they were never updated by the user, we probably want to persist them only when they were changed by the user through the UI&lt;/p&gt;

</description>
                <environment>OS:&lt;br/&gt;
node.js / npm versions:&lt;br/&gt;
Additional info:&lt;br/&gt;
</environment>
        <key id="2265282">COMPASS-6525</key>
            <summary>Default preferences values are stored on disk not allowing to override them with application verison update</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/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="success"/>
                                    <resolution id="13201">Fixed</resolution>
                                        <assignee username="basit.chonka@mongodb.com">Basit Chonka</assignee>
                                    <reporter username="sergey.petushkov@mongodb.com">Sergey Petushkov</reporter>
                        <labels>
                    </labels>
                <created>Wed, 15 Feb 2023 11:16:00 +0000</created>
                <updated>Sun, 29 Oct 2023 02:38:35 +0000</updated>
                            <resolved>Thu, 11 May 2023 12:14:48 +0000</resolved>
                                                    <fixVersion>1.37.0</fixVersion>
                                    <component>Preferences</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="5440150" author="xgen-internal-githook" created="Sat, 20 May 2023 20:58:22 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Basit&apos;, &apos;email&apos;: &apos;1305718+mabaasit@users.noreply.github.com&apos;, &apos;username&apos;: &apos;mabaasit&apos;}
&lt;p&gt;Message: fix(user-preferences): feature flag default values &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-6525&quot; title=&quot;Default preferences values are stored on disk not allowing to override them with application verison update&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-6525&quot;&gt;&lt;del&gt;COMPASS-6525&lt;/del&gt;&lt;/a&gt; (#4364)&lt;br/&gt;
Branch: &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-6664&quot; title=&quot;Add guide cue to highlight the feature&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-6664&quot;&gt;&lt;del&gt;COMPASS-6664&lt;/del&gt;&lt;/a&gt;-guide-cue-stage-wizard&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/31abf18df128b2d9f69d8326d344181d65953c2d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/31abf18df128b2d9f69d8326d344181d65953c2d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5423976" author="xgen-internal-githook" created="Mon, 15 May 2023 07:14:04 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Basit&apos;, &apos;email&apos;: &apos;1305718+mabaasit@users.noreply.github.com&apos;, &apos;username&apos;: &apos;mabaasit&apos;}
&lt;p&gt;Message: fix(user-preferences): feature flag default values &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-6525&quot; title=&quot;Default preferences values are stored on disk not allowing to override them with application verison update&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-6525&quot;&gt;&lt;del&gt;COMPASS-6525&lt;/del&gt;&lt;/a&gt; (#4364)&lt;br/&gt;
Branch: 1.37-releases&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/31abf18df128b2d9f69d8326d344181d65953c2d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/31abf18df128b2d9f69d8326d344181d65953c2d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5417887" author="xgen-internal-githook" created="Thu, 11 May 2023 14:36:43 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Basit&apos;, &apos;email&apos;: &apos;1305718+mabaasit@users.noreply.github.com&apos;, &apos;username&apos;: &apos;mabaasit&apos;}
&lt;p&gt;Message: fix(user-preferences): feature flag default values &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-6525&quot; title=&quot;Default preferences values are stored on disk not allowing to override them with application verison update&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-6525&quot;&gt;&lt;del&gt;COMPASS-6525&lt;/del&gt;&lt;/a&gt; (#4364)&lt;br/&gt;
Branch: try-mongodb-client-encryption-2.8.0-alpha.1&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/31abf18df128b2d9f69d8326d344181d65953c2d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/31abf18df128b2d9f69d8326d344181d65953c2d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5417868" author="xgen-internal-githook" created="Thu, 11 May 2023 14:33:34 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Basit&apos;, &apos;email&apos;: &apos;1305718+mabaasit@users.noreply.github.com&apos;, &apos;username&apos;: &apos;mabaasit&apos;}
&lt;p&gt;Message: fix(user-preferences): feature flag default values &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-6525&quot; title=&quot;Default preferences values are stored on disk not allowing to override them with application verison update&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-6525&quot;&gt;&lt;del&gt;COMPASS-6525&lt;/del&gt;&lt;/a&gt; (#4364)&lt;br/&gt;
Branch: test-read-6.0-QE&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/31abf18df128b2d9f69d8326d344181d65953c2d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/31abf18df128b2d9f69d8326d344181d65953c2d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5417402" author="xgen-internal-githook" created="Thu, 11 May 2023 12:14:14 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Basit&apos;, &apos;email&apos;: &apos;1305718+mabaasit@users.noreply.github.com&apos;, &apos;username&apos;: &apos;mabaasit&apos;}
&lt;p&gt;Message: fix(user-preferences): feature flag default values &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-6525&quot; title=&quot;Default preferences values are stored on disk not allowing to override them with application verison update&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-6525&quot;&gt;&lt;del&gt;COMPASS-6525&lt;/del&gt;&lt;/a&gt; (#4364)&lt;br/&gt;
Branch: main&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/31abf18df128b2d9f69d8326d344181d65953c2d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/31abf18df128b2d9f69d8326d344181d65953c2d&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 11 May 2023 12:14:14 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        37 weeks, 4 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10257" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Documentation Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11861"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            37 weeks, 4 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>basit.chonka@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>sergey.petushkov@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i1w4i7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr1ldp:p3bfzyaz9</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="7227">Iteration Xantic Sargo</customfieldvalue>
    <customfieldvalue id="7277">Iteration Zebrafish</customfieldvalue>
    <customfieldvalue id="7315">Iteration Ankylosaurus</customfieldvalue>
    <customfieldvalue id="7336">Iteration Brontosaurus</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10555" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i1vqnj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>