Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

feat: change layer indicators from preset list #245

Merged
merged 25 commits into from Jul 4, 2022

Conversation

nina992
Copy link
Contributor

@nina992 nina992 commented Jun 10, 2022

Overview

Layer selecting indicator: is an indicator appears when user select a layer.
We created preset list of indicators that user can choose one of them when selecting a layer.

What I've done

Design a preset list of indicators for layer selecting.
Add indicator section in scene right tab and give the user the ability to choose among them.
Give the user the ability to upload his own indicator.

What I haven't done

How I tested

Screenshot

image
image
image
image

Which point I want you to review particularly

Memo

Design link : https://www.figma.com/file/bdnfDaGXGoNfUws4y7JItl/Re%3AEarth-UI-Gamma?node-id=10319%3A174052
Backend PR: reearth/reearth-backend#158

@netlify
Copy link

netlify bot commented Jun 10, 2022

Deploy Preview for reearth-web ready!

Name Link
🔨 Latest commit 9d3eca9
🔍 Latest deploy log https://app.netlify.com/sites/reearth-web/deploys/62c2982790b48200087714b8
😎 Deploy Preview https://deploy-preview-245--reearth-web.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@codecov
Copy link

codecov bot commented Jun 10, 2022

Codecov Report

Merging #245 (9d3eca9) into main (845e2a3) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #245   +/-   ##
=======================================
  Coverage   51.33%   51.33%           
=======================================
  Files          56       56           
  Lines        1165     1165           
  Branches      182      182           
=======================================
  Hits          598      598           
  Misses        505      505           
  Partials       62       62           

@nina992 nina992 marked this pull request as ready for review June 14, 2022 06:01
Copy link
Member

@KaWaite KaWaite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few comments.
Also, is there any chance we will support changing the color of the crosshair indicator? @lavalse maybe can shed some light on that. Currently the svg is setup to only be white, but would be pretty simple to allow for color.

nina992 and others added 3 commits June 15, 2022 11:51
nina992 and others added 4 commits June 15, 2022 12:01
Co-authored-by: KaWaite <34051327+KaWaite@users.noreply.github.com>
…or.tsx

Co-authored-by: KaWaite <34051327+KaWaite@users.noreply.github.com>
…or.tsx

Co-authored-by: KaWaite <34051327+KaWaite@users.noreply.github.com>
@lavalse
Copy link
Member

lavalse commented Jun 24, 2022

Sorry for testing a little bit late. But I found some problems maybe more importent then animation. 😄

  • if use indicater which is not default one, and if the curser on the indicator, it can not be zoom
  • the marker lost Drag and drop feature
    Not sure how to solve, I feel maye a little difficult

Copy link
Member

@KaWaite KaWaite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nina992 nina992 merged commit db185ef into main Jul 4, 2022
@nina992 nina992 deleted the indicators-change-styles branch July 4, 2022 08:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
4 participants