<table><tr><td style="">ngraham created this revision.<br />ngraham added reviewers: Discover Software Store, apol.<br />Restricted Application added a project: Plasma.<br />Restricted Application added a subscriber: plasma-devel.<br />ngraham requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D11003" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Fix a variety of bugs and usability issues with the <span><span class="phui-tag-view phui-tag-type-shade phui-tag-grey phui-tag-shade "><span class="phui-tag-core ">Add Source</span></span></span> dialog:</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">Make the close button actually close the dialog</li>
<li class="remarkup-list-item">Give the text field focus so you can immediately start typing</li>
<li class="remarkup-list-item">Make the return key push the Add button</li>
<li class="remarkup-list-item">Remove needless close symbol in top-right corner</li>
<li class="remarkup-list-item">Give the buttons icons</li>
</ul>
<p>BUG: 390148</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Tested with Flatpak backend:</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">Invalid URLs are rejected</li>
<li class="remarkup-list-item">Valid URLs that nonetheless don't point to a Flatpak repo trigger an error message</li>
<li class="remarkup-list-item">The close button now closes the dialog</li>
<li class="remarkup-list-item">The return key presses the <span><span class="phui-tag-view phui-tag-type-shade phui-tag-grey phui-tag-shade "><span class="phui-tag-core ">Add</span></span></span> button</li>
</ul></div></div><br /><div><strong>REPOSITORY</strong><div><div>R134 Discover Software Store</div></div></div><br /><div><strong>BRANCH</strong><div><div>fix-add-source-dialog (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D11003" rel="noreferrer">https://phabricator.kde.org/D11003</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>discover/qml/AddSourceDialog.qml</div></div></div><br /><div><strong>To: </strong>ngraham, Discover Software Store, apol<br /><strong>Cc: </strong>plasma-devel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>