{"action":"created","issue":{"url":"https://api.github.com/repos/cozy/cozy-ui/issues/1131","repository_url":"https://api.github.com/repos/cozy/cozy-ui","labels_url":"https://api.github.com/repos/cozy/cozy-ui/issues/1131/labels{/name}","comments_url":"https://api.github.com/repos/cozy/cozy-ui/issues/1131/comments","events_url":"https://api.github.com/repos/cozy/cozy-ui/issues/1131/events","html_url":"https://github.com/cozy/cozy-ui/issues/1131","id":483815754,"node_id":"MDU6SXNzdWU0ODM4MTU3NTQ=","number":1131,"title":"MidEllipsis better split ","user":{"login":"Crash--","id":1107936,"node_id":"MDQ6VXNlcjExMDc5MzY=","avatar_url":"https://avatars1.githubusercontent.com/u/1107936?v=4","gravatar_id":"","url":"https://api.github.com/users/Crash--","html_url":"https://github.com/Crash--","followers_url":"https://api.github.com/users/Crash--/followers","following_url":"https://api.github.com/users/Crash--/following{/other_user}","gists_url":"https://api.github.com/users/Crash--/gists{/gist_id}","starred_url":"https://api.github.com/users/Crash--/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Crash--/subscriptions","organizations_url":"https://api.github.com/users/Crash--/orgs","repos_url":"https://api.github.com/users/Crash--/repos","events_url":"https://api.github.com/users/Crash--/events{/privacy}","received_events_url":"https://api.github.com/users/Crash--/received_events","type":"User","site_admin":false},"labels":[{"id":163645942,"node_id":"MDU6TGFiZWwxNjM2NDU5NDI=","url":"https://api.github.com/repos/cozy/cozy-ui/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2019-08-22T07:22:01Z","updated_at":"2019-09-09T15:48:58Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"\"C'est dommage de couper lorsque le coupage prend plus de place que ce qu'on coupe :/\r\n\r\nPar exemple dans cet exemple : il manque 4 caractères alors que les crochets, les points et l'espace en prennent 6.\"\r\n\r\n![screenshot-recette-home cozy works-2019 08 21-16_46_07](https://user-images.githubusercontent.com/1107936/63494558-38f63280-c4be-11e9-8e55-e5cc2c04d69e.png)\r\n"},"comment":{"url":"https://api.github.com/repos/cozy/cozy-ui/issues/comments/529542790","html_url":"https://github.com/cozy/cozy-ui/issues/1131#issuecomment-529542790","issue_url":"https://api.github.com/repos/cozy/cozy-ui/issues/1131","id":529542790,"node_id":"MDEyOklzc3VlQ29tbWVudDUyOTU0Mjc5MA==","user":{"login":"Crash--","id":1107936,"node_id":"MDQ6VXNlcjExMDc5MzY=","avatar_url":"https://avatars1.githubusercontent.com/u/1107936?v=4","gravatar_id":"","url":"https://api.github.com/users/Crash--","html_url":"https://github.com/Crash--","followers_url":"https://api.github.com/users/Crash--/followers","following_url":"https://api.github.com/users/Crash--/following{/other_user}","gists_url":"https://api.github.com/users/Crash--/gists{/gist_id}","starred_url":"https://api.github.com/users/Crash--/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Crash--/subscriptions","organizations_url":"https://api.github.com/users/Crash--/orgs","repos_url":"https://api.github.com/users/Crash--/repos","events_url":"https://api.github.com/users/Crash--/events{/privacy}","received_events_url":"https://api.github.com/users/Crash--/received_events","type":"User","site_admin":false},"created_at":"2019-09-09T15:48:58Z","updated_at":"2019-09-09T15:48:58Z","author_association":"CONTRIBUTOR","body":"Pour le screenshot c'est corrigé, je suis passé en text-overflow traditionnel. Mais dans le cas de drive, on veut vraiment garder le [...] en milieu de nom de fichier par exemple. \r\n\r\nEt le seul moyen pour prendre en compte l'espace dispo, c'est de calculer à la façon middle-truncate. \r\n\r\nJe vais tester sur Drive, pour voir ce que ça donne en terme de perf "}}
{"actor":{"display_login":"Crash--"}}