Wednesday, 2019-06-12

*** med_ has quit IRC00:40
*** gvincent has joined #ara06:28
ara-slackyunyee.ng: @yunyee.ng has joined the channel06:33
*** cyberpear has quit IRC08:59
*** jungleslow has joined #ara11:21
*** cyberpear has joined #ara11:43
*** zbr|rover is now known as zbr|flow12:53
*** herald85 has joined #ara13:23
*** mgariepy has quit IRC13:27
*** mgariepy has joined #ara13:29
*** dbpiv has joined #ara14:08
openstackgerritDavid Moreau Simard proposed recordsansible/ara-web master: Do not merge: test react-snap  https://review.opendev.org/66494114:37
dmsimardgvincent: ^ I've tried that out of curiosity and it feels like it is able to properly pre-render all the html (and thus producing a static site) but the static site still wants to do API calls and thus fails14:40
dmsimardwhat the build looks like (I had to manually add /playbooks/1 and /playbooks/2, it didn't seem like it follows all the links) http://paste.openstack.org/show/752814/14:40
dmsimardopening up the html pages "manually" works but there's little to no css/js: https://i.imgur.com/0owovTC.png14:42
*** etienne has joined #ara15:01
dmsimardah, I think react-snap isn't catching the links because we're using onClick for the playbook links instead of href ? https://github.com/ansible-community/ara-web/blob/master/src/playbooks/PlaybookSummary.js#L15315:06
dmsimardI've summarized all that in a github issue: https://github.com/ansible-community/ara-web/issues/1115:36
openstackgerritDavid Moreau Simard proposed recordsansible/ara-web master: Do not merge: test react-snap  https://review.opendev.org/66494115:52
*** herald85 has quit IRC16:10
*** Xaroth has quit IRC16:47
dmsimardI figured out how to get react-snap to crawl all the playbooks by replacing the onclick with an href but serving the pages without querying the API seems out of my league16:52
dmsimardgvincent: ^ perhaps you can point me in the right direction16:53
*** gvincent has quit IRC17:50
*** gvincent has joined #ara18:10
*** dbpiv has quit IRC19:12
*** dbpiv has joined #ara20:29
*** dbpiv has quit IRC21:28
*** etienne has quit IRC21:40
*** dbpiv has joined #ara22:02
*** dbpiv has quit IRC22:09

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!