{"action":"closed","issue":{"url":"https://api.github.com/repos/vaadin/vaadin-app-layout-flow/issues/20","repository_url":"https://api.github.com/repos/vaadin/vaadin-app-layout-flow","labels_url":"https://api.github.com/repos/vaadin/vaadin-app-layout-flow/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/vaadin/vaadin-app-layout-flow/issues/20/comments","events_url":"https://api.github.com/repos/vaadin/vaadin-app-layout-flow/issues/20/events","html_url":"https://github.com/vaadin/vaadin-app-layout-flow/issues/20","id":360227402,"node_id":"MDU6SXNzdWUzNjAyMjc0MDI=","number":20,"title":"No API to replace the menu slot content","user":{"login":"jouni","id":66382,"node_id":"MDQ6VXNlcjY2Mzgy","avatar_url":"https://avatars3.githubusercontent.com/u/66382?v=4","gravatar_id":"","url":"https://api.github.com/users/jouni","html_url":"https://github.com/jouni","followers_url":"https://api.github.com/users/jouni/followers","following_url":"https://api.github.com/users/jouni/following{/other_user}","gists_url":"https://api.github.com/users/jouni/gists{/gist_id}","starred_url":"https://api.github.com/users/jouni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jouni/subscriptions","organizations_url":"https://api.github.com/users/jouni/orgs","repos_url":"https://api.github.com/users/jouni/repos","events_url":"https://api.github.com/users/jouni/events{/privacy}","received_events_url":"https://api.github.com/users/jouni/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"tulioag","id":28783969,"node_id":"MDQ6VXNlcjI4NzgzOTY5","avatar_url":"https://avatars3.githubusercontent.com/u/28783969?v=4","gravatar_id":"","url":"https://api.github.com/users/tulioag","html_url":"https://github.com/tulioag","followers_url":"https://api.github.com/users/tulioag/followers","following_url":"https://api.github.com/users/tulioag/following{/other_user}","gists_url":"https://api.github.com/users/tulioag/gists{/gist_id}","starred_url":"https://api.github.com/users/tulioag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tulioag/subscriptions","organizations_url":"https://api.github.com/users/tulioag/orgs","repos_url":"https://api.github.com/users/tulioag/repos","events_url":"https://api.github.com/users/tulioag/events{/privacy}","received_events_url":"https://api.github.com/users/tulioag/received_events","type":"User","site_admin":false},"assignees":[{"login":"tulioag","id":28783969,"node_id":"MDQ6VXNlcjI4NzgzOTY5","avatar_url":"https://avatars3.githubusercontent.com/u/28783969?v=4","gravatar_id":"","url":"https://api.github.com/users/tulioag","html_url":"https://github.com/tulioag","followers_url":"https://api.github.com/users/tulioag/followers","following_url":"https://api.github.com/users/tulioag/following{/other_user}","gists_url":"https://api.github.com/users/tulioag/gists{/gist_id}","starred_url":"https://api.github.com/users/tulioag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tulioag/subscriptions","organizations_url":"https://api.github.com/users/tulioag/orgs","repos_url":"https://api.github.com/users/tulioag/repos","events_url":"https://api.github.com/users/tulioag/events{/privacy}","received_events_url":"https://api.github.com/users/tulioag/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-09-14T09:29:45Z","updated_at":"2018-10-05T08:50:05Z","closed_at":"2018-10-05T08:50:05Z","author_association":"MEMBER","body":"The component makes a hard assumption about the use cases of itself and limits how to use it.\r\n\r\nFor example, a common use case is to place a global search field in the center area of the navbar, like in many Google apps (Drive, Inbox).\r\n\r\nThis is probably possible using the lower-level Element API like this (not sure if this works for real):\r\n\r\n```java\r\nappLayout.getElement().removeChild(appLayout.getMenu().getElement());\r\nTextField search = new TextField();\r\nsearch.getElement().setAttribute(\"slot\", \"menu\");\r\nappLayout.getElement().appendChild(search.getElement());\r\n```\r\n\r\nI’m not sure if this an acceptable solution, or does it have some drawbacks compared to a properly supported API?"}}
{"actor":{"display_login":"tulioag"}}