{"action":"created","issue":{"url":"https://api.github.com/repos/directus/directus/issues/1198","repository_url":"https://api.github.com/repos/directus/directus","labels_url":"https://api.github.com/repos/directus/directus/issues/1198/labels{/name}","comments_url":"https://api.github.com/repos/directus/directus/issues/1198/comments","events_url":"https://api.github.com/repos/directus/directus/issues/1198/events","html_url":"https://github.com/directus/directus/issues/1198","id":161909784,"number":1198,"title":"Configurable field layout","user":{"login":"laszlokorte","id":26493,"avatar_url":"https://avatars.githubusercontent.com/u/26493?v=3","gravatar_id":"","url":"https://api.github.com/users/laszlokorte","html_url":"https://github.com/laszlokorte","followers_url":"https://api.github.com/users/laszlokorte/followers","following_url":"https://api.github.com/users/laszlokorte/following{/other_user}","gists_url":"https://api.github.com/users/laszlokorte/gists{/gist_id}","starred_url":"https://api.github.com/users/laszlokorte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laszlokorte/subscriptions","organizations_url":"https://api.github.com/users/laszlokorte/orgs","repos_url":"https://api.github.com/users/laszlokorte/repos","events_url":"https://api.github.com/users/laszlokorte/events{/privacy}","received_events_url":"https://api.github.com/users/laszlokorte/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-23T12:24:19Z","updated_at":"2016-06-23T13:00:43Z","closed_at":null,"body":"From a frontend layout perspective this is probably a rather big feature but it would be nice anyway:\r\n\r\nIt would be great if we could assign widths to each field of a table to achieve a multi column layout for the table's editing page. [In kirby (an document based cms) this is possible for example](https://getkirby.com/docs/panel/blueprints/form-fields).\r\n\r\nThe editing page\r\n![bildschirmfoto 2016-06-23 um 14 14 51](https://cloud.githubusercontent.com/assets/26493/16302801/71d2b07e-394d-11e6-97bf-94fcf1990a5e.png)\r\n\r\ncould me made look more like this:\r\n![bildschirmfoto 2016-06-23 um 14 13 57](https://cloud.githubusercontent.com/assets/26493/16302827/8dc58162-394d-11e6-906f-1c6832703588.png)\r\n\r\njust by assigning \"width: 1/2\" to the last 4 fields.\r\n\r\nThe result is a much more compact and nicer layout."},"comment":{"url":"https://api.github.com/repos/directus/directus/issues/comments/228042293","html_url":"https://github.com/directus/directus/issues/1198#issuecomment-228042293","issue_url":"https://api.github.com/repos/directus/directus/issues/1198","id":228042293,"user":{"login":"benhaynes","id":522079,"avatar_url":"https://avatars.githubusercontent.com/u/522079?v=3","gravatar_id":"","url":"https://api.github.com/users/benhaynes","html_url":"https://github.com/benhaynes","followers_url":"https://api.github.com/users/benhaynes/followers","following_url":"https://api.github.com/users/benhaynes/following{/other_user}","gists_url":"https://api.github.com/users/benhaynes/gists{/gist_id}","starred_url":"https://api.github.com/users/benhaynes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benhaynes/subscriptions","organizations_url":"https://api.github.com/users/benhaynes/orgs","repos_url":"https://api.github.com/users/benhaynes/repos","events_url":"https://api.github.com/users/benhaynes/events{/privacy}","received_events_url":"https://api.github.com/users/benhaynes/received_events","type":"User","site_admin":false},"created_at":"2016-06-23T13:00:43Z","updated_at":"2016-06-23T13:00:43Z","body":"Thanks @laszlokorte – been thinking about this one for _years_! Especially useful for things like lat/lon or address inputs. I'd love to figure this out, but here are a few things we'd need to consider before moving forward with this update:\r\n\r\n* **UIs:** Which UIs can support this? All of them? They could responsively adjust to less width – but some are more conducive to the smaller horizontal space. I wonder if it's easier to only support some (eg: text inputs)\r\n* **Design:** Currently the design guarantees that the fields are fairly standardized. It's difficult to miss inputs since they are all left aligned and delineated with a HR. What happens with very different heights between adjacent UIs? Weird gaps?\r\n* **Labels:** Each field currently has a dedicated/reserved label area – this is used for field comments and bulk-edit checkboxes. Fields labels would have to be shifted to be similar to Kirby, so we'd need to rethink some things.\r\n* **Widths:** Would 50% be the only option? Would 33.3% also work?\r\n* **Responsiveness:** since all the UIs require different ideal widths, at what point (if any) do we break the side-by-side fields to become stacked?"}}
{"actor":{"display_login":"benhaynes"}}