Closed Zhenghao-Zhao closed 4 years ago
@Zhenghao-Zhao
can you please fix the conflict in the css file before I review this?
Thank you!
Fix applied. Thanks!
Hi @Zhenghao-Zhao
you have changed the layout and this is a rather major design change. Although the buttons all render correctly on mobile, I don't know if I like the new layout. I've been thinking that the ego-graph card need to be simplified. Let me have a think about it and we can discuss further on Thursday.
In the meantime, I noticed that on mobile, e.g. iPhone 5/SE, the displayed graph does not fit into the viewport and I cannot zoom out further to bring the whole graph into view. See the below image,
Thank you!
Fix applied for ego graph size issue, I am not sure if the dropdown menu is also an issue since you did not mention it.
Here are some benefits of this design I'd like to mention: it simplifies the front end code by removing resize code at the css and there was no JS code used; it also makes the canvas much clearer by not having buttons over it when on smaller sized screens. This is more valuable for screens that are even smaller such as iPhone 5.
Feel free to express your concerns here before Thursday so I'll prepare solutions/ideas for them.
Knowledge graph updated. Ready for review. Thanks!
Hi @Zhenghao-Zhao
I just had a brief look and in mobile view, clicking on an author node, doesn't take me to the author's detail view like in the desktop view. Can you have a look at this?
Thank you!
I find the issue has been there since the TechLauncher project. I am still trying to find a solution, by trying out different things. I will keep you updated here. Thanks!
Turns out there is a separate event name for touch devices and mouse input devices. The issue has now been fixed.
Hi @Zhenghao-Zhao
this looks good except for the two blue buttons, reset and T, where the icons are not centred in the button. Is this something you can fix before I merge this?
Are you also tackling #79 with this? Because it looks like it. If so, I wanted the endorse and bookmark buttons on their own row on mobile since on desktop there is plenty of space. If it is too difficult then we can have them on separate rows for both mobile and desktop.
P.
All selenium tests pass after the update.
The update does not have this, but what do you think if we reverse the positions of the title and the icon in desktop?
Hi @Zhenghao-Zhao
The order of the icons and the title is best as it is now.
Cheers!
It looks good. I'll merge it!
Features: