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

feat: add a basic timeline UI #232

Merged
merged 5 commits into from
Jun 6, 2022
Merged

feat: add a basic timeline UI #232

merged 5 commits into from
Jun 6, 2022

Conversation

rot1024
Copy link
Member

@rot1024 rot1024 commented May 27, 2022

Requires reearth/reearth-backend#153

What I've done

image

In order to easily implement the timeline function, we have implemented a function to display the Cesium standard timeline UI.

  • Adjustments to the appearance of the timeline UI are basically done by overriding the CSS.
  • From the plugin API, you can also change the timeline settings using reearth.visualizer.overrideProperty.

What I haven't done

  • Implementation of datetime field UI is not done yet.
  • Changing the appearance of the timeline is done in a separate PR.
  • In the future, there may be a means to completely self-build the UI so that any map engine can use the timeline. But not now.

How I tested

Manually tested on Chrome

@netlify
Copy link

netlify bot commented May 27, 2022

Deploy Preview for reearth-web ready!

Name Link
🔨 Latest commit 75baec3
🔍 Latest deploy log https://app.netlify.com/sites/reearth-web/deploys/629db0c4892d1d000851e6fc
😎 Deploy Preview https://deploy-preview-232--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 May 27, 2022

Codecov Report

❗ No coverage uploaded for pull request base (main@28d377b). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head b64548c differs from pull request most recent head 75baec3. Consider uploading reports for the commit 75baec3 to get more accurate results

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #232   +/-   ##
=======================================
  Coverage        ?   50.98%           
=======================================
  Files           ?       58           
  Lines           ?     1165           
  Branches        ?      184           
=======================================
  Hits            ?      594           
  Misses          ?      508           
  Partials        ?       63           

@rot1024 rot1024 changed the title enhance timeline properties feat: add basic timeline widget May 27, 2022
@rot1024 rot1024 changed the title feat: add basic timeline widget feat: add basic timeline UI May 27, 2022
@rot1024 rot1024 changed the title feat: add basic timeline UI feat: add a basic timeline UI May 27, 2022
@rot1024 rot1024 marked this pull request as ready for review June 1, 2022 03:22
@rot1024 rot1024 requested a review from KaWaite as a code owner June 1, 2022 03:22
@rot1024 rot1024 merged commit fc97324 into main Jun 6, 2022
@rot1024 rot1024 deleted the clock branch June 6, 2022 07:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant