Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migration to React three fiber (#775)
* Add react three fiber and drei Signed-off-by: angatupyry <fierrofenix@gmail.com> * Use component property in Box material ui component to avoid three Box component noise Signed-off-by: angatupyry <fierrofenix@gmail.com> * Use component property in Box material ui component to avoid three Box component noise Signed-off-by: angatupyry <fierrofenix@gmail.com> * Use component property in Box material ui component to avoid three Box component noise Signed-off-by: angatupyry <fierrofenix@gmail.com> * Export function Signed-off-by: angatupyry <fierrofenix@gmail.com> * Add wall draw calculation Signed-off-by: angatupyry <fierrofenix@gmail.com> * Add reac three fiber logical Signed-off-by: angatupyry <fierrofenix@gmail.com> * Migrate to react three fiber Signed-off-by: angatupyry <fierrofenix@gmail.com> * Remove center state Signed-off-by: angatupyry <fierrofenix@gmail.com> * Remove map setting Signed-off-by: angatupyry <fierrofenix@gmail.com> * Make circle shape smaller Signed-off-by: angatupyry <fierrofenix@gmail.com> * Add zindex to for the text layers to appear on top Signed-off-by: angatupyry <fierrofenix@gmail.com> * Ensure that React doesn't attempt to create or update component Signed-off-by: angatupyry <fierrofenix@gmail.com> * Add text rendering Signed-off-by: angatupyry <fierrofenix@gmail.com> * Rendering labels Signed-off-by: angatupyry <fierrofenix@gmail.com> * Hover and zoom text Signed-off-by: angatupyry <fierrofenix@gmail.com> * Show labesl correctly Signed-off-by: angatupyry <fierrofenix@gmail.com> * Remove unused imports Signed-off-by: angatupyry <fierrofenix@gmail.com> * Implementing debounce to show labels with delay Signed-off-by: angatupyry <fierrofenix@gmail.com> * Small fixes to react-three-fiber migration (#788) * Disable walls Signed-off-by: Aaron Chong <aaronchongth@gmail.com> * Use useLoader with url only, catch CORS errors potentially due to timeout issues when images are large Signed-off-by: Aaron Chong <aaronchongth@gmail.com> --------- Signed-off-by: Aaron Chong <aaronchongth@gmail.com> * Add labels for elevator and door names Signed-off-by: angatupyry <fierrofenix@gmail.com> * Wrap checkboxes into a div and use select to choose levels Signed-off-by: angatupyry <fierrofenix@gmail.com> * Add zoom icon Signed-off-by: angatupyry <fierrofenix@gmail.com> * Add levelselect event to persits between tabs Signed-off-by: angatupyry <fierrofenix@gmail.com> * Using AppEvents to persits levels Signed-off-by: angatupyry <fierrofenix@gmail.com> * Camera control component has been added Signed-off-by: angatupyry <fierrofenix@gmail.com> * Zoom in and zoom out events Signed-off-by: angatupyry <fierrofenix@gmail.com> * Add camera control component Signed-off-by: angatupyry <fierrofenix@gmail.com> * Add a wheel function to test event Signed-off-by: angatupyry <fierrofenix@gmail.com> * Expose debounce function Signed-off-by: angatupyry <fierrofenix@gmail.com> * Add wheel function to get the zoom value Signed-off-by: angatupyry <fierrofenix@gmail.com> * Updating zoom properly Signed-off-by: angatupyry <fierrofenix@gmail.com> * Remove conditional useLoader Signed-off-by: angatupyry <fierrofenix@gmail.com> * Remove zoom icon Signed-off-by: angatupyry <fierrofenix@gmail.com> * Remove zoom implementation Signed-off-by: angatupyry <fierrofenix@gmail.com> * Fix lint Signed-off-by: angatupyry <fierrofenix@gmail.com> * Rewrite debounce functino Signed-off-by: angatupyry <fierrofenix@gmail.com> * Add layers for pickup and dropoff waypoints Signed-off-by: angatupyry <fierrofenix@gmail.com> * Fix dashboard CI for react-three-fiber migration (#795) * Set max heap size Signed-off-by: Aaron Chong <aaronchongth@gmail.com> * Stop producing sourcemap for CI Signed-off-by: Aaron Chong <aaronchongth@gmail.com> * max space to ci Signed-off-by: angatupyry <fierrofenix@gmail.com> * Try build without sourcemap for CI, alongside heap size increment Signed-off-by: Aaron Chong <aaronchongth@gmail.com> * Increasing heapsize on bootstrap step Signed-off-by: Aaron Chong <aaronchongth@gmail.com> * Use experimental support for ECMAScript modules Signed-off-by: Aaron Chong <aaronchongth@gmail.com> * Use react-components as a module instead Signed-off-by: Aaron Chong <aaronchongth@gmail.com> * Remove use of meshes for robot icons Signed-off-by: Aaron Chong <aaronchongth@gmail.com> * Revert module call Signed-off-by: Aaron Chong <aaronchongth@gmail.com> --------- Signed-off-by: Aaron Chong <aaronchongth@gmail.com> Signed-off-by: angatupyry <fierrofenix@gmail.com> Co-authored-by: angatupyry <fierrofenix@gmail.com> * Add spaces in layer names Signed-off-by: angatupyry <fierrofenix@gmail.com> --------- Signed-off-by: angatupyry <fierrofenix@gmail.com> Signed-off-by: Aaron Chong <aaronchongth@gmail.com> Co-authored-by: Aaron Chong <aaronchongth@gmail.com>
- Loading branch information