{"action":"closed","issue":{"url":"https://api.github.com/repos/MyWebIntelligence/MyWebIntelligence/issues/121","labels_url":"https://api.github.com/repos/MyWebIntelligence/MyWebIntelligence/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/MyWebIntelligence/MyWebIntelligence/issues/121/comments","events_url":"https://api.github.com/repos/MyWebIntelligence/MyWebIntelligence/issues/121/events","html_url":"https://github.com/MyWebIntelligence/MyWebIntelligence/issues/121","id":75141150,"number":121,"title":"Move graph/exports to the client-side","user":{"login":"DavidBruant","id":165829,"avatar_url":"https://avatars.githubusercontent.com/u/165829?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidBruant","html_url":"https://github.com/DavidBruant","followers_url":"https://api.github.com/users/DavidBruant/followers","following_url":"https://api.github.com/users/DavidBruant/following{/other_user}","gists_url":"https://api.github.com/users/DavidBruant/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidBruant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidBruant/subscriptions","organizations_url":"https://api.github.com/users/DavidBruant/orgs","repos_url":"https://api.github.com/users/DavidBruant/repos","events_url":"https://api.github.com/users/DavidBruant/events{/privacy}","received_events_url":"https://api.github.com/users/DavidBruant/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/MyWebIntelligence/MyWebIntelligence/labels/Exports%20de%20fichiers","name":"Exports de fichiers","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/MyWebIntelligence/MyWebIntelligence/milestones/1","html_url":"https://github.com/MyWebIntelligence/MyWebIntelligence/milestones/0.1%20MyWebIntelligence%20ProjectB%C3%AAta","labels_url":"https://api.github.com/repos/MyWebIntelligence/MyWebIntelligence/milestones/1/labels","id":887959,"number":1,"title":"0.1 MyWebIntelligence ProjectBêta","description":"The first version of my web intelligence made public before automatic qualification datas and data visualization for navigation.","creator":{"login":"alakel","id":6803778,"avatar_url":"https://avatars.githubusercontent.com/u/6803778?v=3","gravatar_id":"","url":"https://api.github.com/users/alakel","html_url":"https://github.com/alakel","followers_url":"https://api.github.com/users/alakel/followers","following_url":"https://api.github.com/users/alakel/following{/other_user}","gists_url":"https://api.github.com/users/alakel/gists{/gist_id}","starred_url":"https://api.github.com/users/alakel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alakel/subscriptions","organizations_url":"https://api.github.com/users/alakel/orgs","repos_url":"https://api.github.com/users/alakel/repos","events_url":"https://api.github.com/users/alakel/events{/privacy}","received_events_url":"https://api.github.com/users/alakel/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":13,"state":"open","created_at":"2014-12-02T14:05:54Z","updated_at":"2015-05-22T16:13:31Z","due_on":"2015-04-15T22:00:00Z","closed_at":null},"comments":2,"created_at":"2015-05-11T08:48:28Z","updated_at":"2015-05-22T16:13:31Z","closed_at":"2015-05-22T16:13:31Z","body":"Currently, for a territoire, 2 lists (pages & domains) are sent to the client side despite having created the graph before sending the list. 2 limitations : \r\n* The domains list needs to transform the graph which uses ES6 Maps on the server side (the polyfill has linear lookup which leads to quadratic behavior)\r\n* exports use a back-and-forth from the server while they could be built directly from the data purely from the client-side without the need to talk to the server.\r\n\r\nWhat needs to be done is:\r\n* send the (page) graph directly to the client\r\n* build the domain graph from the client (rewiring. Benefit of constant Map lookups because Maps are native in modern browsers)\r\n* makes exports on the client side (rewiring)"}}