{"action":"created","issue":{"url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/1233","labels_url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/1233/labels{/name}","comments_url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/1233/comments","events_url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/1233/events","html_url":"https://github.com/backdrop/backdrop-issues/issues/1233","id":107392267,"number":1233,"title":"Layouts - combine path row with layout name row in one row","user":{"login":"bd0bd","id":13515302,"avatar_url":"https://avatars.githubusercontent.com/u/13515302?v=3","gravatar_id":"","url":"https://api.github.com/users/bd0bd","html_url":"https://github.com/bd0bd","followers_url":"https://api.github.com/users/bd0bd/followers","following_url":"https://api.github.com/users/bd0bd/following{/other_user}","gists_url":"https://api.github.com/users/bd0bd/gists{/gist_id}","starred_url":"https://api.github.com/users/bd0bd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bd0bd/subscriptions","organizations_url":"https://api.github.com/users/bd0bd/orgs","repos_url":"https://api.github.com/users/bd0bd/repos","events_url":"https://api.github.com/users/bd0bd/events{/privacy}","received_events_url":"https://api.github.com/users/bd0bd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-20T13:16:28Z","updated_at":"2015-09-21T00:48:10Z","closed_at":null,"body":"I offer to combine path row with layout name row in one row:\r\n\r\n![layout](https://cloud.githubusercontent.com/assets/13515302/9980883/bf737c52-5fb2-11e5-91eb-1a931d5df768.gif)"},"comment":{"url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/comments/141851255","html_url":"https://github.com/backdrop/backdrop-issues/issues/1233#issuecomment-141851255","issue_url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/1233","id":141851255,"user":{"login":"quicksketch","id":100206,"avatar_url":"https://avatars.githubusercontent.com/u/100206?v=3","gravatar_id":"","url":"https://api.github.com/users/quicksketch","html_url":"https://github.com/quicksketch","followers_url":"https://api.github.com/users/quicksketch/followers","following_url":"https://api.github.com/users/quicksketch/following{/other_user}","gists_url":"https://api.github.com/users/quicksketch/gists{/gist_id}","starred_url":"https://api.github.com/users/quicksketch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quicksketch/subscriptions","organizations_url":"https://api.github.com/users/quicksketch/orgs","repos_url":"https://api.github.com/users/quicksketch/repos","events_url":"https://api.github.com/users/quicksketch/events{/privacy}","received_events_url":"https://api.github.com/users/quicksketch/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T00:48:10Z","updated_at":"2015-09-21T00:48:10Z","body":"The current arrangement is by-design, in the event that either you have fabricated a new path, or if you have multiple layouts at the same path that are selected via a condition.\r\n\r\nIn your screenshot, it does indeed seem rather silly, but in a situation like this, you might think twice about combining the two of them:\r\n\r\n![screenshot34](https://cloud.githubusercontent.com/assets/100206/9983777/2c6cec58-5fc7-11e5-9854-1c492ee0f899.png)\r\n\r\nIn the event that you have created an entirely new path with Layouts (rather than overriding an existing one), the row containing the path is used for editing the menu settings. Each row within the path is used for editing the layout.\r\n\r\nIf you have multiple layouts at the same path, you also need to be able to reorder the layouts within that path.\r\n\r\nSo in short, the reason why there are two rows is because there are two concepts on this page:\r\n\r\n- Each \"group\" of layouts is actually a menu item path. This menu item needs to be edited separately from the layout, because a group of layouts may all share a single menu items.\r\n- Then within each group, you need to be able to edit each layout individually.\r\n\r\nIf laid, out, it's set up like this:\r\n\r\n- Menu item\r\n  - Layout\r\n- Menu item\r\n  - Layout\r\n  - Layout\r\n  - Layout\r\n- Defaults (all other unspecified menu items)\r\n  - Default layout\r\n  - Default admin layout\r\n\r\nIn your screenshot, it happens that all the menu items listed can't be edited, so the rows seem unnecessarily duplicated. The UI is set up to accommodate the more complicated (and not at all uncommon) situation of having multiple layouts at the same path and creating new URLs entirely through layouts.\r\n\r\nWe certainly may be able to improve this UI, but I don't think just consolidating the two items onto one line would be a sure win."}}