{"action":"created","issue":{"url":"https://api.github.com/repos/openemr/openemr/issues/1810","repository_url":"https://api.github.com/repos/openemr/openemr","labels_url":"https://api.github.com/repos/openemr/openemr/issues/1810/labels{/name}","comments_url":"https://api.github.com/repos/openemr/openemr/issues/1810/comments","events_url":"https://api.github.com/repos/openemr/openemr/issues/1810/events","html_url":"https://github.com/openemr/openemr/pull/1810","id":352156559,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5NTM2Njk2","number":1810,"title":"Loader in the flow board","user":{"login":"matrix-amiel","id":17809866,"node_id":"MDQ6VXNlcjE3ODA5ODY2","avatar_url":"https://avatars1.githubusercontent.com/u/17809866?v=4","gravatar_id":"","url":"https://api.github.com/users/matrix-amiel","html_url":"https://github.com/matrix-amiel","followers_url":"https://api.github.com/users/matrix-amiel/followers","following_url":"https://api.github.com/users/matrix-amiel/following{/other_user}","gists_url":"https://api.github.com/users/matrix-amiel/gists{/gist_id}","starred_url":"https://api.github.com/users/matrix-amiel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matrix-amiel/subscriptions","organizations_url":"https://api.github.com/users/matrix-amiel/orgs","repos_url":"https://api.github.com/users/matrix-amiel/repos","events_url":"https://api.github.com/users/matrix-amiel/events{/privacy}","received_events_url":"https://api.github.com/users/matrix-amiel/received_events","type":"User","site_admin":false},"labels":[{"id":433468182,"node_id":"MDU6TGFiZWw0MzM0NjgxODI=","url":"https://api.github.com/repos/openemr/openemr/labels/Status:%20Needs%20Review","name":"Status: Needs Review","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-08-20T14:19:09Z","updated_at":"2018-08-23T08:34:23Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/openemr/openemr/pulls/1810","html_url":"https://github.com/openemr/openemr/pull/1810","diff_url":"https://github.com/openemr/openemr/pull/1810.diff","patch_url":"https://github.com/openemr/openemr/pull/1810.patch"},"body":"Hi.\r\n\r\nWe have found that flow board loaded very slowly in the large amount of appointments -\r\nDiscussion about this problem - https://community.open-emr.org/t/flow-board-is-very-slow/9781 \r\n\r\nI made a small change in the logic of the flow board code and I load the data using ajax also in the first loading. With this change It's possible to add loader while the loading time (only for first loading or manual loading not for loading by timer).\r\n\r\nwhile developing I found that the summaries of the appointments in the title of table are not refreshed in the ajax process (by filter or timer) and I fixed it.     \r\n\r\nThis is necessary fix because without the loader the user sees blank page until all the appointments are loaded and he don't know why it not work..\r\n\r\nThanks\r\nAmiel\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/openemr/openemr/issues/comments/415337001","html_url":"https://github.com/openemr/openemr/pull/1810#issuecomment-415337001","issue_url":"https://api.github.com/repos/openemr/openemr/issues/1810","id":415337001,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTMzNzAwMQ==","user":{"login":"matrix-amiel","id":17809866,"node_id":"MDQ6VXNlcjE3ODA5ODY2","avatar_url":"https://avatars1.githubusercontent.com/u/17809866?v=4","gravatar_id":"","url":"https://api.github.com/users/matrix-amiel","html_url":"https://github.com/matrix-amiel","followers_url":"https://api.github.com/users/matrix-amiel/followers","following_url":"https://api.github.com/users/matrix-amiel/following{/other_user}","gists_url":"https://api.github.com/users/matrix-amiel/gists{/gist_id}","starred_url":"https://api.github.com/users/matrix-amiel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matrix-amiel/subscriptions","organizations_url":"https://api.github.com/users/matrix-amiel/orgs","repos_url":"https://api.github.com/users/matrix-amiel/repos","events_url":"https://api.github.com/users/matrix-amiel/events{/privacy}","received_events_url":"https://api.github.com/users/matrix-amiel/received_events","type":"User","site_admin":false},"created_at":"2018-08-23T08:34:23Z","updated_at":"2018-08-23T08:34:23Z","author_association":"MEMBER","body":"Hi @mdsupport  . \r\nI agree with your solutions and also think that we need to retrieve only the new changes.\r\nI have thought also on cache solution to improve performance.  \r\n\r\nHowever this it requires serious plan and development and we can not do it in soon, Here I only try to resolve the immediate problem in our clinic, The work style of our clinic requires hundreds of appointments for single user (therefore the first solution not match for me..), I would like to avoid the blank page until all the appointments are loaded and to give feedback to user that screen is working.\r\n\r\nI think my change is minor and not changes the exist logic and hopefully it can merge until will do refactor on this screen.\r\n  \r\n"}}
{"actor":{"display_login":"matrix-amiel"}}