[desktop] Navigation arrows
Summary:
Show navigation arrows for desktop and enable/ disable them depending on history.
- dekstop/preload.js is running on the renderer thread (as opposed to desktop/main.js which runs on the "browser" thread) and it's often used for communication between web app and system apis. The communication between threads is achieved using IPC.
- web/electron.js types the objects exposed in preload.js
Test Plan:
- Check if the navigation arrows are working correctly on the desktop, e.g. check that if you are in a middle of the stack and you click somewhere else the top of the stack is replaced.
- Check if there are no changes to the web app
Reviewers: tomek, atul, abosh, kamil, ashoat
Reviewed By: tomek, atul, ashoat
Subscribers: kamil, ashoat
Differential Revision: https://phab.comm.dev/D5630