<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:43:05 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-6432] When inserting item to an array, automatically type based on last item</title>
                <link>https://jira.mongodb.org/browse/COMPASS-6432</link>
                <project id="13182" key="COMPASS">Compass </project>
                    <description>&lt;p&gt;Originally created from user feedback:&lt;br/&gt;
&lt;a href=&quot;https://mongodb.slack.com/archives/C039T3GDDPC/p1673277712431899&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://mongodb.slack.com/archives/C039T3GDDPC/p1673277712431899&lt;/a&gt;&#160;&lt;/p&gt;


&lt;p&gt;I do have some feedback for MongoDB Compass. Hoping this could be implemented. It is a small detail, but important for UX. I have included my feedback below.&lt;/p&gt;

&lt;p&gt;-------&lt;/p&gt;

&lt;p&gt;Here is the example use case:&lt;/p&gt;

&lt;p&gt;I am editing a document within the object editor UI.&lt;br/&gt;
I have an array which contains Int32 values.  &lt;br/&gt;
I click the &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/add.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt; button to add an element to the array.  &lt;/p&gt;

&lt;p&gt;A new object is created with the type String&lt;/p&gt;


&lt;p&gt;Preferred use case:&lt;/p&gt;

&lt;p&gt;I am editing a document within the object editor UI.&lt;br/&gt;
I have an array which contains Int32 values.  &lt;br/&gt;
I click the &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/add.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt; button to add an element to the array.  &lt;/p&gt;

&lt;p&gt;A new object is created with the type Int32 &lt;/p&gt;


&lt;p&gt;Summary&lt;/p&gt;

&lt;p&gt;When clicking the &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/add.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt; to add a new array element, the newly created element should inherit the type of its previous sibling. It should not always default to String.  Well it can, and it works... however if I have an array of 7 Int32s, and I&apos;m clicking the &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/add.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;.. I am very highly likely wanting to add another Int32. Definitely not a String. I hope that makes sense &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="2231757">COMPASS-6432</key>
            <summary>When inserting item to an array, automatically type based on last item</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="9">Done</resolution>
                                        <assignee username="rhys.howell@mongodb.com">Rhys Howell</assignee>
                                    <reporter username="rhys.howell@mongodb.com">Rhys Howell</reporter>
                        <labels>
                    </labels>
                <created>Thu, 12 Jan 2023 16:45:52 +0000</created>
                <updated>Wed, 15 Feb 2023 15:28:48 +0000</updated>
                            <resolved>Thu, 2 Feb 2023 09:27:33 +0000</resolved>
                                                    <fixVersion>1.36.0</fixVersion>
                                    <component>CRUD</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="5200748" author="xgen-internal-githook" created="Wed, 15 Feb 2023 15:28:48 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Rhys&apos;, &apos;email&apos;: &apos;Anemy@users.noreply.github.com&apos;, &apos;username&apos;: &apos;Anemy&apos;}
&lt;p&gt;Message: feat(compass-crud): use type from last array element when inserting new element to array &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-6432&quot; title=&quot;When inserting item to an array, automatically type based on last item&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-6432&quot;&gt;&lt;del&gt;COMPASS-6432&lt;/del&gt;&lt;/a&gt; (#3965)&lt;br/&gt;
Branch: remove-tracking-defaults&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/f6dcd616f47e1d3843402c3e0f47d541edec53f3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/f6dcd616f47e1d3843402c3e0f47d541edec53f3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5164735" author="xgen-internal-githook" created="Fri, 3 Feb 2023 03:54:58 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Rhys&apos;, &apos;email&apos;: &apos;Anemy@users.noreply.github.com&apos;, &apos;username&apos;: &apos;Anemy&apos;}
&lt;p&gt;Message: feat(compass-crud): use type from last array element when inserting new element to array &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-6432&quot; title=&quot;When inserting item to an array, automatically type based on last item&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-6432&quot;&gt;&lt;del&gt;COMPASS-6432&lt;/del&gt;&lt;/a&gt; (#3965)&lt;br/&gt;
Branch: &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-5996&quot; title=&quot;Negative document count after delete&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-5996&quot;&gt;&lt;del&gt;COMPASS-5996&lt;/del&gt;&lt;/a&gt;-fix-negative-document-count&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/f6dcd616f47e1d3843402c3e0f47d541edec53f3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/f6dcd616f47e1d3843402c3e0f47d541edec53f3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5120833" author="xgen-internal-githook" created="Wed, 18 Jan 2023 15:01:50 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Rhys&apos;, &apos;email&apos;: &apos;Anemy@users.noreply.github.com&apos;, &apos;username&apos;: &apos;Anemy&apos;}
&lt;p&gt;Message: feat(compass-crud): use type from last array element when inserting new element to array &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-6432&quot; title=&quot;When inserting item to an array, automatically type based on last item&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-6432&quot;&gt;&lt;del&gt;COMPASS-6432&lt;/del&gt;&lt;/a&gt; (#3965)&lt;br/&gt;
Branch: &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-6388&quot; title=&quot;Add stage input, editor and output component to the focus modal&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-6388&quot;&gt;&lt;del&gt;COMPASS-6388&lt;/del&gt;&lt;/a&gt;-focus-modal-content&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/f6dcd616f47e1d3843402c3e0f47d541edec53f3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/f6dcd616f47e1d3843402c3e0f47d541edec53f3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5115351" author="xgen-internal-githook" created="Mon, 16 Jan 2023 13:50:48 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Rhys&apos;, &apos;email&apos;: &apos;Anemy@users.noreply.github.com&apos;, &apos;username&apos;: &apos;Anemy&apos;}
&lt;p&gt;Message: feat(compass-crud): use type from last array element when inserting new element to array &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-6432&quot; title=&quot;When inserting item to an array, automatically type based on last item&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-6432&quot;&gt;&lt;del&gt;COMPASS-6432&lt;/del&gt;&lt;/a&gt; (#3965)&lt;br/&gt;
Branch: 1.35-releases&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/f6dcd616f47e1d3843402c3e0f47d541edec53f3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/f6dcd616f47e1d3843402c3e0f47d541edec53f3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5115078" author="xgen-internal-githook" created="Mon, 16 Jan 2023 11:05:03 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Rhys&apos;, &apos;email&apos;: &apos;Anemy@users.noreply.github.com&apos;, &apos;username&apos;: &apos;Anemy&apos;}
&lt;p&gt;Message: feat(compass-crud): use type from last array element when inserting new element to array &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-6432&quot; title=&quot;When inserting item to an array, automatically type based on last item&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-6432&quot;&gt;&lt;del&gt;COMPASS-6432&lt;/del&gt;&lt;/a&gt; (#3965)&lt;br/&gt;
Branch: &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-6137&quot; title=&quot;Refactor usage of UNSAFE_ methods in document-table&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-6137&quot;&gt;&lt;del&gt;COMPASS-6137&lt;/del&gt;&lt;/a&gt;-remove-unsafe-method-in-document-table&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/f6dcd616f47e1d3843402c3e0f47d541edec53f3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/f6dcd616f47e1d3843402c3e0f47d541edec53f3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5113980" author="xgen-internal-githook" created="Sat, 14 Jan 2023 18:34:02 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Rhys&apos;, &apos;email&apos;: &apos;Anemy@users.noreply.github.com&apos;, &apos;username&apos;: &apos;Anemy&apos;}
&lt;p&gt;Message: feat(compass-crud): use type from last array element when inserting new element to array &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-6432&quot; title=&quot;When inserting item to an array, automatically type based on last item&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-6432&quot;&gt;&lt;del&gt;COMPASS-6432&lt;/del&gt;&lt;/a&gt; (#3965)&lt;br/&gt;
Branch: main&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/f6dcd616f47e1d3843402c3e0f47d541edec53f3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/f6dcd616f47e1d3843402c3e0f47d541edec53f3&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>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sat, 14 Jan 2023 18:34:02 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        51 weeks 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>xgen-internal-githook</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            51 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>rhys.howell@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i1qdgn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr1ldp:p3bg4</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="6838">Iteration Seahorse</customfieldvalue>
    <customfieldvalue id="6900">Iteration Turtle</customfieldvalue>
    <customfieldvalue id="6901">Iteration Unicornfish</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|i1pzlz:</customfieldvalue>

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