magento / community-features

Magento Features Development is an Initiative to Allows Community Memebers Join to Development of Magento Features
46 stars 18 forks source link

Prevent extension developers creating a tab with a sort order of 100 or below, causing their tab to become the default #93

Open joshdavenport opened 5 years ago

joshdavenport commented 5 years ago

The default General tab which ought to always be seen first has a sort order of 100:

<tab id="general" translate="label" sortOrder="100">

This allows extension developers to easily place tabs for their modules first, therefore becoming the default:

<tab id="obnoxious_inc_extensions" translate="label" sortOrder="1">
    <label>Obnoxious Inc Extenions</label>
</tab>

So when you go to Stores > Config you're taken to the first config section in that tab by default:

screen shot 2018-10-09 at 14 23 59

I feel, and wonder if others agree, that this shouldn't be allowed. Perhaps the Magento codebase should ensure General > General should always be the first tab seen by default, instead of a third parties module's tab?

A pretty minor issue but I do feel it detracts from the generally nice UX of store management.